public class WSSEncryptedKeyIdentifier extends WSSKeyIdentifier
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
vt_EncryptedKeySHA1
The ValueType for this kind of KeyIdentifier
|
vt_ThumbprintSHA1| Constructor and Description |
|---|
WSSEncryptedKeyIdentifier(org.w3c.dom.Document owner) |
WSSEncryptedKeyIdentifier(org.w3c.dom.Document owner, java.lang.String valType) |
WSSEncryptedKeyIdentifier(org.w3c.dom.Document owner, java.lang.String valType, java.lang.String encType) |
WSSEncryptedKeyIdentifier(org.w3c.dom.Element element) |
WSSEncryptedKeyIdentifier(org.w3c.dom.Element element, java.lang.String systemId) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addResolver(WSSEncryptedKeyIdentifierResolver resolver)
Register a
X509KeyIdentifierResolver instance for use in key identifier resolver operations. |
java.lang.Object |
getKey()
Returns the key (symmetric or asymmetric) corresponding to the underlying WSS SecurityToken.
|
static java.util.List |
getResolvers()
Get the registered
X509KeyIdentifierResolvers. |
WSSecurityToken |
getSecurityToken()
Returns the underlying WSS SecurityToken.
|
byte[] |
getThumbprint()
Return the ThumbprintSHA1 bytes if this a x509ThumbprintSHA1 KeyIdentifier.
|
boolean |
matches(oracle.security.xmlsec.enc.XEEncryptedKey encKey)
Check if an EncryptedKey matches this EncryptedKeyIdentifier, by doing a SHA1 of the EncryptedKey CipherData and comparing that with the SHA1 value stored in this KeyIdentifier.
|
addResolver, getDefaultEncodingType, getEncodingType, getName, getValue, getValueType, setEncodingType, setValue, setValueTypegetId, getWsuId, setId, setWsuIdaddNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNodepublic static final java.lang.String vt_EncryptedKeySHA1
public WSSEncryptedKeyIdentifier(org.w3c.dom.Document owner)
owner -
public WSSEncryptedKeyIdentifier(org.w3c.dom.Document owner,
java.lang.String valType)
owner -valType -
public WSSEncryptedKeyIdentifier(org.w3c.dom.Document owner,
java.lang.String valType,
java.lang.String encType)
owner -valType -encType -public WSSEncryptedKeyIdentifier(org.w3c.dom.Element element)
element -
public WSSEncryptedKeyIdentifier(org.w3c.dom.Element element,
java.lang.String systemId)
element -systemId -public static void addResolver(WSSEncryptedKeyIdentifierResolver resolver)
X509KeyIdentifierResolver instance for use in key identifier resolver operations.resolver - The X.509 key identifier resolver.public static java.util.List getResolvers()
X509KeyIdentifierResolvers.List of registered X.509 key identifier resolvers.public WSSecurityToken getSecurityToken() throws WSSException
WSSecurityTokenReferenceTypegetSecurityToken in interface WSSecurityTokenReferenceTypegetSecurityToken in class WSSKeyIdentifierWSSecurityToken.WSSException
public java.lang.Object getKey()
throws WSSException
WSSecurityTokenReferenceTypegetKey in interface WSSecurityTokenReferenceTypegetKey in class WSSKeyIdentifierKey.WSSExceptionpublic byte[] getThumbprint()
getThumbprint in class WSSKeyIdentifierpublic boolean matches(oracle.security.xmlsec.enc.XEEncryptedKey encKey)
encKey -