public abstract class EncryptedTypeHeaderBlock extends SecurityHeaderBlockImpl
| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
delegateElementATTRIBUTE_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 |
|---|
EncryptedTypeHeaderBlock() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransform(String algorithmURI) |
SOAPElement |
getCipherData(boolean create) |
SOAPElement |
getCipherReference(boolean create,
String uri) |
String |
getCipherValue() |
String |
getEncoding()
Returns null if Encoding attr is not present
|
SOAPElement |
getEncryptionMethod() |
String |
getEncryptionMethodURI()
returns the algorithm URI
|
SOAPElement |
getEncryptionProperties() |
String |
getId()
Returns null if id attr is not present
|
KeyInfoHeaderBlock |
getKeyInfo() |
String |
getMimeType()
Returns null if MimeType attr is not present
|
Iterator |
getTransforms() |
String |
getType()
Returns null if Type attr is not present
|
void |
initializeEncryptedType(SOAPElement element) |
void |
saveChanges()
This method should be called when changes are made inside an object
through its reference obtained from any of the get methods of this
class.
|
void |
setEncoding(String encoding) |
void |
setEncryptionMethod(SOAPElement encryptionMethod) |
void |
setEncryptionMethod(String algorithmURI) |
void |
setEncryptionProperties(SOAPElement encryptionProperties) |
void |
setId(String id) |
void |
setKeyInfo(KeyInfoHeaderBlock keyInfo) |
void |
setMimeType(String mimeType) |
void |
setType(String type) |
addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, appendChild, cloneNode, compareDocumentPosition, detachNode, equals, fromSoapElement, getAllAttributes, getAllAttributesAsQNames, getAsSoapElement, 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, setElementQNameprotected static final Logger log
public String getId()
getId in interface SecurityHeaderBlockgetId in class SecurityHeaderBlockImplpublic void setId(String id)
public String getType()
public void setType(String type)
public String getMimeType()
public void setMimeType(String mimeType)
public String getEncoding()
public void setEncoding(String encoding)
public SOAPElement getEncryptionMethod()
public String getEncryptionMethodURI()
public void setEncryptionMethod(SOAPElement encryptionMethod)
public void setEncryptionMethod(String algorithmURI) throws XWSSecurityException
XWSSecurityExceptionpublic KeyInfoHeaderBlock getKeyInfo()
public void setKeyInfo(KeyInfoHeaderBlock keyInfo)
public String getCipherValue() throws XWSSecurityException
XWSSecurityException - If CipherData element is not present OR
If CipherValue element is not present inside CipherData.public SOAPElement getCipherData(boolean create) throws XWSSecurityException
XWSSecurityExceptionpublic SOAPElement getCipherReference(boolean create, String uri) throws XWSSecurityException
XWSSecurityExceptionpublic void addTransform(String algorithmURI) throws XWSSecurityException
XWSSecurityExceptionpublic Iterator getTransforms() throws XWSSecurityException
XWSSecurityExceptionpublic SOAPElement getEncryptionProperties()
public void setEncryptionProperties(SOAPElement encryptionProperties)
public void saveChanges()
public void initializeEncryptedType(SOAPElement element) throws XWSSecurityException
XWSSecurityExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.