com.ibm.security.keystoreski
Class KeyStoreSKIFactory

java.lang.Object
  extended by com.ibm.security.keystoreski.KeyStoreSKIFactory

public final class KeyStoreSKIFactory
extends Object

Constructs and returns instances of KeyStoreSKIthat provide implementations to search through a key store based on a Subject Key Identifier.

See Also:
KeyStore

Method Summary
static KeyStoreSKI newKeyStoreSKI(KeyStore ks)
          Returns a new instance of KeyStoreSKIthat provides operations that can be performed on the given key store instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newKeyStoreSKI

public static KeyStoreSKI newKeyStoreSKI(KeyStore ks)
Returns a new instance of KeyStoreSKIthat provides operations that can be performed on the given key store instance. This method is guaranteed to return a new instance of KeyStoreupon each invocation. No caching is attempted.

Parameters:
ks - The key store that the operations exposed through the KeystoreSKI will be performed on.
Returns:
A new instance of KeyStoreSKIthat provides operations that can be performed on the given key store instance.
Throws:
NullPointerException - If ks is null.