public class EncryptedKeyHeaderBlock extends EncryptedTypeHeaderBlock
logdelegateElementATTRIBUTE_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 and Description |
|---|
EncryptedKeyHeaderBlock()
Create an empty EncryptedKey element.
|
EncryptedKeyHeaderBlock(Document doc)
Create an empty EncryptedKey element whose owner document is given.
|
EncryptedKeyHeaderBlock(SOAPElement element) |
| Modifier and Type | Method and Description |
|---|---|
static SecurityHeaderBlock |
fromSoapElement(SOAPElement element) |
SOAPElement |
getAsSoapElement() |
SOAPElement |
getCarriedKeyName() |
String |
getRecipient()
Returns null if Recipient attr is not present
|
ReferenceListHeaderBlock |
getReferenceList() |
void |
setCarriedKeyName(SOAPElement carriedKeyName) |
void |
setCipherData(SOAPElement cipherData) |
void |
setCipherValue(String cipherValue) |
void |
setRecipient(String recipient) |
void |
setReferenceList(ReferenceListHeaderBlock referenceList) |
addTransform, getCipherData, getCipherReference, getCipherValue, getEncoding, getEncryptionMethod, getEncryptionMethodURI, getEncryptionProperties, getId, getKeyInfo, getMimeType, getTransforms, getType, initializeEncryptedType, saveChanges, setEncoding, setEncryptionMethod, setEncryptionMethod, setEncryptionProperties, setId, setKeyInfo, setMimeType, setTypeaddAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, appendChild, cloneNode, compareDocumentPosition, detachNode, equals, fromSoapElement, getAllAttributes, getAllAttributesAsQNames, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAttributeValue, getBaseURI, getChildElements, getChildElements, getChildNodes, getElementName, getElementsByTagName, getElementsByTagNameNS, getEncodingStyle, getFeature, getFirstChild, getLastChild, getLocalName, getNamespacePrefixes, getNamespaceURI, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getSoapFactory, getTagName, getTextContent, getUserData, getValue, getVisibleNamespacePrefixes, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isBSP, isBSP, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, recycleNode, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeContents, removeNamespaceDeclaration, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setEncodingStyle, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setParentElement, setPrefix, setSOAPElement, setTextContent, setUserData, setValue, setWsuIdAttraddAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQNameclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttribute, addChildElement, createQName, getAttributeValue, getChildElements, getElementQName, removeAttribute, setElementQNamepublic EncryptedKeyHeaderBlock()
throws XWSSecurityException
XWSSecurityException - If there is problem creating an EncryptedKey element.public EncryptedKeyHeaderBlock(Document doc) throws XWSSecurityException
XWSSecurityException - If there is problem creating an EncryptedKey elementpublic EncryptedKeyHeaderBlock(SOAPElement element) throws XWSSecurityException
XWSSecurityException - If there is problem in initializing EncryptedKey element.public void setCipherData(SOAPElement cipherData)
public void setCipherValue(String cipherValue) throws XWSSecurityException
XWSSecurityExceptionpublic ReferenceListHeaderBlock getReferenceList()
public void setReferenceList(ReferenceListHeaderBlock referenceList)
public String getRecipient()
public void setRecipient(String recipient)
public SOAPElement getCarriedKeyName()
public void setCarriedKeyName(SOAPElement carriedKeyName)
public static SecurityHeaderBlock fromSoapElement(SOAPElement element) throws XWSSecurityException
XWSSecurityExceptionpublic SOAPElement getAsSoapElement() throws XWSSecurityException
getAsSoapElement in interface SecurityHeaderBlockgetAsSoapElement in class SecurityHeaderBlockImplXWSSecurityExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.