public class StaticPKCS11TokenKeyStoreProtectionManager extends AbstractPKCS11TokenKeyStoreProtectionManager
DEFAULT_KESTORE_TYPE, IV_BYTES, SUNPKCS11_KEYSTORE_PROVIDER_NAME, WRAP_ALGO| Constructor and Description |
|---|
StaticPKCS11TokenKeyStoreProtectionManager()
Empty constructor
|
StaticPKCS11TokenKeyStoreProtectionManager(PKCS11Credential credential,
String keyStorePassPhraseAlias,
String privateKeyPassPhraseAlias)
Constructs the store with a credential manager and aliases.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initTokenStore()
Initializes access to the token.
|
clearEntry, clearKey, clearKeyStoreProtectionKey, clearPrivateKeyProtectionKey, getAllEntries, getAllKeys, getEntry, getKey, getKeyStoreProtectionKey, getKS, getPrivateKeyProtectionKey, setCredential, setEntry, setKey, setKeyStorePassPhraseAlias, setKeyStoreProtectionKey, setKeyStoreProtectionKeyAsBytes, setKeyStoreProtectionKeyAsString, setKeyStoreProviderName, setKeyStoreSource, setKeyStoreSourceAsString, setKeyStoreType, setPcks11ConfigFile, setPrivateKeyPassPhraseAlias, setPrivateKeyProtectionKey, setPrivateKeyProtectionKeyAsBytes, setPrivateKeyProtectionKeyAsString, unwrapWithSecretKey, wrapWithSecretKeypublic StaticPKCS11TokenKeyStoreProtectionManager()
throws CryptoException
CryptoExceptionpublic StaticPKCS11TokenKeyStoreProtectionManager(PKCS11Credential credential, String keyStorePassPhraseAlias, String privateKeyPassPhraseAlias) throws CryptoException
credential - The credentials to log into the store.keyStorePassPhraseAlias - The alias name of the key store key in the PKCS11 token.privateKeyPassPhraseAlias - The alias name of the private key protection key in the PKCS11 token.CryptoExceptionpublic void initTokenStore()
throws CryptoException
initTokenStore in class AbstractPKCS11TokenKeyStoreProtectionManagerCryptoExceptionCopyright © 2010–2021 The Direct Project. All rights reserved.