Skip navigation links
oracle.security.xmlsec.wss
Class WSSKeyIdentifierResolver
java.lang.Object
oracle.security.xmlsec.wss.WSSKeyIdentifierResolver
-
public abstract class WSSKeyIdentifierResolver
- extends java.lang.Object
A class for Resolving generic KeyIdentifiers. Subclasses need to extend this to resolve specific KeyIdentifiers, and return a key and SecurityToken that this KeyIdentifier refers to.
- Since:
- release specific (what release of product did this appear in)
- Version:
- $Header: WSSKeyIdentifierResolver.java 12-oct-2005.12:58:53 pdatta Exp $
Field Summary |
static java.lang.String |
vt_ThumbprintSHA1
The only valueType (as of WS 1.1) for a WSSKeyIdentifier |
Method Summary |
abstract java.lang.Object |
getKey(WSSKeyIdentifier keyID, java.lang.String keyValueType)
Sub-classes need to implement this method to resolve the key identifier and return the key. |
abstract WSSecurityToken |
getSecurityToken(WSSKeyIdentifier keyID, java.lang.String keyValueType)
Sub-classes need to implement this method to resolve the key identifier and return the toekn |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vt_ThumbprintSHA1
public static final java.lang.String vt_ThumbprintSHA1
- The only valueType (as of WS 1.1) for a WSSKeyIdentifier
- See Also:
- Constant Field Values
WSSKeyIdentifierResolver
public WSSKeyIdentifierResolver()
getKey
public abstract java.lang.Object getKey(WSSKeyIdentifier keyID,
java.lang.String keyValueType)
- Sub-classes need to implement this method to resolve the key identifier and return the key.
-
- Parameters:
keyID
- The key identifier.
keyValueType
- The key data Value Type.
- Returns:
- The referenced X.509 certificate on success or
null
on failure.
- Throws:
X509KeyIdentifierResolverException
getSecurityToken
public abstract WSSecurityToken getSecurityToken(WSSKeyIdentifier keyID,
java.lang.String keyValueType)
- Sub-classes need to implement this method to resolve the key identifier and return the toekn
-
- Parameters:
keyID
- The key identifier.
keyValueType
- The key data Value Type.
- Returns:
- The referenced security token on success or
null
on failure.
Skip navigation links
Copyright © 2005, 2011 , Oracle. All rights reserved.