|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.ssl.X509ExtendedKeyManager
com.unboundid.util.ssl.WrapperKeyManager
com.unboundid.util.ssl.PKCS11KeyManager
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PKCS11KeyManager
This class provides an SSL key manager that may be used to retrieve certificates from a PKCS#11 token.
Constructor Summary | |
---|---|
PKCS11KeyManager(char[] keyStorePIN,
java.lang.String certificateAlias)
Creates a new instance of this PKCS11 key manager that provides the ability to retrieve certificates from a PKCS#11 token. |
Method Summary |
---|
Methods inherited from class com.unboundid.util.ssl.WrapperKeyManager |
---|
chooseClientAlias, chooseEngineClientAlias, chooseEngineServerAlias, chooseServerAlias, getCertificateAlias, getCertificateChain, getClientAliases, getPrivateKey, getServerAliases |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PKCS11KeyManager(char[] keyStorePIN, java.lang.String certificateAlias) throws java.security.KeyStoreException
keyStorePIN
- The PIN to use to access the contents of the
PKCS#11 token. It may be null
if no PIN
is required.certificateAlias
- The nickname of the certificate that should be
selected. It may be null
if any
acceptable certificate found may be used.
java.security.KeyStoreException
- If a problem occurs while initializing this key
manager.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |