|
Oracle Security Developer Tools Web Services Security Java API Reference 11g (11.1.1) E10678-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.wss.WSSElement
oracle.security.xmlsec.wss.WSSKeyIdentifier
oracle.security.xmlsec.wss.WSSEncryptedKeyIdentifier
public class WSSEncryptedKeyIdentifier
Represents a wsse:KeyIdentifier of type EncrytedKey.
Field Summary | |
---|---|
static java.lang.String |
vt_EncryptedKeySHA1 The ValueType for this kind of KeyIdentifier |
Fields inherited from class oracle.security.xmlsec.wss.WSSKeyIdentifier |
---|
vt_ThumbprintSHA1 |
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
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) |
Method Summary | |
---|---|
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 X509KeyIdentifierResolver s. |
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. |
Methods inherited from class oracle.security.xmlsec.wss.WSSKeyIdentifier |
---|
addResolver, getDefaultEncodingType, getEncodingType, getName, getValue, getValueType, setEncodingType, setValue, setValueType |
Methods inherited from class oracle.security.xmlsec.wss.WSSElement |
---|
getId, getWsuId, setId, setWsuId |
Methods inherited from class oracle.security.xmlsec.util.XMLElement |
---|
addNSPrefixAttr, 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, setDefaultNSPrefix |
Methods inherited from class oracle.security.xmlsec.util.XMLNode |
---|
appendChild, 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, toStringXML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.security.xmlsec.wss.WSSecurityTokenReferenceType |
---|
getNode |
Field Detail |
---|
public static final java.lang.String vt_EncryptedKeySHA1
Constructor Detail |
---|
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
-Method Detail |
---|
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()
X509KeyIdentifierResolver
s.List
of registered X.509 key identifier resolvers.public WSSecurityToken getSecurityToken() throws WSSException
WSSecurityTokenReferenceType
getSecurityToken
in interface WSSecurityTokenReferenceType
getSecurityToken
in class WSSKeyIdentifier
WSSecurityToken
.WSSException
public java.lang.Object getKey() throws WSSException
WSSecurityTokenReferenceType
getKey
in interface WSSecurityTokenReferenceType
getKey
in class WSSKeyIdentifier
Key
.WSSException
public byte[] getThumbprint()
getThumbprint
in class WSSKeyIdentifier
public boolean matches(oracle.security.xmlsec.enc.XEEncryptedKey encKey)
encKey
-
|
Oracle Security Developer Tools Web Services Security Java API Reference 11g (11.1.1) E10678-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |