Skip navigation links

Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10678-03


oracle.security.xmlsec.wss
Class WSSKeyIdentifierResolver

java.lang.Object
  extended by 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

 

Constructor Summary
WSSKeyIdentifierResolver()
           

 

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

 

Field Detail

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

Constructor Detail

WSSKeyIdentifierResolver

public WSSKeyIdentifierResolver()

Method Detail

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

Oracle Fusion Middleware Web Services Security Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10678-03


Copyright © 2005, 2011 , Oracle. All rights reserved.