|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.wss.impl.misc.SOAPElementExtension
com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl
com.sun.xml.wss.core.EncryptedTypeHeaderBlock
com.sun.xml.wss.core.EncryptedKeyHeaderBlock
public class EncryptedKeyHeaderBlock
The schema definition of EncryptedKey element is as follows:
| Field Summary |
|---|
| Fields inherited from class com.sun.xml.wss.core.EncryptedTypeHeaderBlock |
|---|
log |
| Fields inherited from class com.sun.xml.wss.impl.misc.SecurityHeaderBlockImpl |
|---|
delegateElement |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
EncryptedKeyHeaderBlock()
Create an empty EncryptedKey element. |
|
EncryptedKeyHeaderBlock(org.w3c.dom.Document doc)
Create an empty EncryptedKey element whose owner document is given. |
|
EncryptedKeyHeaderBlock(SOAPElement element)
|
|
| Method Summary | |
|---|---|
static SecurityHeaderBlock |
fromSoapElement(SOAPElement element)
|
SOAPElement |
getAsSoapElement()
|
SOAPElement |
getCarriedKeyName()
|
java.lang.String |
getRecipient()
Returns null if Recipient attr is not present |
ReferenceListHeaderBlock |
getReferenceList()
|
void |
setCarriedKeyName(SOAPElement carriedKeyName)
|
void |
setCipherData(SOAPElement cipherData)
|
void |
setCipherValue(java.lang.String cipherValue)
|
void |
setRecipient(java.lang.String recipient)
|
void |
setReferenceList(ReferenceListHeaderBlock referenceList)
|
| Methods inherited from class com.sun.xml.wss.core.EncryptedTypeHeaderBlock |
|---|
addTransform, getCipherData, getCipherReference, getCipherValue, getEncoding, getEncryptionMethod, getEncryptionMethodURI, getEncryptionProperties, getId, getKeyInfo, getMimeType, getTransforms, getType, initializeEncryptedType, saveChanges, setEncoding, setEncryptionMethod, setEncryptionMethod, setEncryptionProperties, setId, setKeyInfo, setMimeType, setType |
| Methods inherited from class com.sun.xml.wss.impl.misc.SOAPElementExtension |
|---|
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.soap.SOAPElement |
|---|
addAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQName |
| Constructor Detail |
|---|
public EncryptedKeyHeaderBlock()
throws XWSSecurityException
XWSSecurityException - If there is problem creating an EncryptedKey element.
public EncryptedKeyHeaderBlock(org.w3c.dom.Document doc)
throws XWSSecurityException
XWSSecurityException - If there is problem creating an EncryptedKey element
public EncryptedKeyHeaderBlock(SOAPElement element)
throws XWSSecurityException
XWSSecurityException - If there is problem in initializing EncryptedKey element.| Method Detail |
|---|
public void setCipherData(SOAPElement cipherData)
public void setCipherValue(java.lang.String cipherValue)
throws XWSSecurityException
XWSSecurityExceptionpublic ReferenceListHeaderBlock getReferenceList()
public void setReferenceList(ReferenceListHeaderBlock referenceList)
public java.lang.String getRecipient()
public void setRecipient(java.lang.String recipient)
public SOAPElement getCarriedKeyName()
public void setCarriedKeyName(SOAPElement carriedKeyName)
public static SecurityHeaderBlock fromSoapElement(SOAPElement element)
throws XWSSecurityException
XWSSecurityException
public SOAPElement getAsSoapElement()
throws XWSSecurityException
getAsSoapElement in interface SecurityHeaderBlockgetAsSoapElement in class SecurityHeaderBlockImplXWSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||