| Package | Description |
|---|---|
| org.nhindirect.common.crypto |
Interfaces an utilities for general cryptography operations.
|
| org.nhindirect.common.crypto.impl |
Implementation specific classes of crypto interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MutableKeyStoreProtectionManager.clearEntry(String alias)
Generic method to clear an arbitrary entry.
|
void |
MutableKeyStoreProtectionManager.clearKey(String alias)
Generic method to clear an arbitrary key.
|
void |
MutableKeyStoreProtectionManager.clearKeyStoreProtectionKey()
Clears the key use to protect the key store.
|
void |
MutableKeyStoreProtectionManager.clearPrivateKeyProtectionKey()
Clears the key use to protect the private key.
|
Map<String,KeyStore.Entry> |
KeyStoreProtectionManager.getAllEntries()
Gets a Map of all entries managed by the token.
|
Map<String,Key> |
KeyStoreProtectionManager.getAllKeys()
Gets a Map of all keys managed by the token.
|
KeyStore.Entry |
KeyStoreProtectionManager.getEntry(String entryName)
Gets a specific entry by name
|
Key |
KeyStoreProtectionManager.getKey(String keyName)
Gets a specific key by name.
|
Key |
KeyStoreProtectionManager.getKeyStoreProtectionKey()
Gets the key protecting private keys in the key store.
|
Key |
KeyStoreProtectionManager.getPrivateKeyProtectionKey()
Gets the key protecting the key store as a whole.
|
void |
MutableKeyStoreProtectionManager.setEntry(String alias,
KeyStore.Entry entry)
Generic method to set an arbitrary entry.
|
void |
MutableKeyStoreProtectionManager.setKey(String alias,
Key key)
Generic method to set an arbitrary key.
|
void |
MutableKeyStoreProtectionManager.setKeyStoreProtectionKey(Key key)
Sets key used to protect the key store as a Key object.
|
void |
MutableKeyStoreProtectionManager.setKeyStoreProtectionKeyAsBytes(byte[] key)
Sets key used to protect the key store as a byte array.
|
void |
MutableKeyStoreProtectionManager.setKeyStoreProtectionKeyAsString(String key)
Sets key used to protect the key store as a string.
|
void |
MutableKeyStoreProtectionManager.setPrivateKeyProtectionKey(Key key)
Sets key used to protect the private key as a Key object.
|
void |
MutableKeyStoreProtectionManager.setPrivateKeyProtectionKeyAsBytes(byte[] key)
Sets the key used to protect the private key as a byte array.
|
void |
MutableKeyStoreProtectionManager.setPrivateKeyProtectionKeyAsString(String key)
Sets the key used to protect the private key as a string.
|
Key |
WrappableKeyProtectionManager.unwrapWithSecretKey(SecretKey kek,
byte[] wrappedData,
String keyAlg,
int keyType)
Unwraps the key with a symmetric secret key encryption key.
|
byte[] |
WrappableKeyProtectionManager.wrapWithSecretKey(SecretKey kek,
Key keyToWrap)
Wraps a key with a symmetric secret key encryption key.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.clearEntry(String alias)
Generic method to clear an arbitrary entry.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.clearKey(String alias)
Generic method to clear an arbitrary key.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.clearKeyStoreProtectionKey()
Clears the key use to protect the key store.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.clearPrivateKeyProtectionKey()
Clears the key use to protect the private key.
|
Map<String,KeyStore.Entry> |
AbstractPKCS11TokenKeyStoreProtectionManager.getAllEntries()
Gets a Map of all entries managed by the token.
|
Map<String,KeyStore.Entry> |
BootstrappedKeyStoreProtectionManager.getAllEntries()
Gets a Map of all entries managed by the token.
|
Map<String,Key> |
AbstractPKCS11TokenKeyStoreProtectionManager.getAllKeys()
Gets a Map of all keys managed by the token.
|
Map<String,Key> |
BootstrappedKeyStoreProtectionManager.getAllKeys()
Gets a Map of all keys managed by the token.
|
KeyStore.Entry |
AbstractPKCS11TokenKeyStoreProtectionManager.getEntry(String entryName)
Gets a specific entry by name
|
KeyStore.Entry |
BootstrappedKeyStoreProtectionManager.getEntry(String entryName)
Gets a specific entry by name
|
Key |
AbstractPKCS11TokenKeyStoreProtectionManager.getKey(String keyName)
Gets a specific key by name.
|
Key |
BootstrappedKeyStoreProtectionManager.getKey(String keyName)
Gets a specific key by name.
|
Key |
StaticCachedPKCS11TokenKeyStoreProtectionManager.getKeyStoreProtectionKey()
Gets the key protecting private keys in the key store.
|
Key |
AbstractPKCS11TokenKeyStoreProtectionManager.getKeyStoreProtectionKey()
Gets the key protecting private keys in the key store.
|
Key |
BootstrappedKeyStoreProtectionManager.getKeyStoreProtectionKey()
Gets the key protecting private keys in the key store.
|
Key |
StaticCachedPKCS11TokenKeyStoreProtectionManager.getPrivateKeyProtectionKey()
Gets the key protecting the key store as a whole.
|
Key |
AbstractPKCS11TokenKeyStoreProtectionManager.getPrivateKeyProtectionKey()
Gets the key protecting the key store as a whole.
|
Key |
BootstrappedKeyStoreProtectionManager.getPrivateKeyProtectionKey()
Gets the key protecting the key store as a whole.
|
void |
StaticCachedPKCS11TokenKeyStoreProtectionManager.initTokenStore()
Initializes access to the token.
|
abstract void |
AbstractPKCS11TokenKeyStoreProtectionManager.initTokenStore()
Initializes access to the token.
|
void |
StaticPKCS11TokenKeyStoreProtectionManager.initTokenStore()
Initializes access to the token.
|
void |
DynamicPKCS11TokenKeyStoreProtectionManager.initTokenStore() |
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setEntry(String alias,
KeyStore.Entry entry)
Generic method to set an arbitrary entry.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setKey(String alias,
Key key)
Generic method to set an arbitrary key.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setKeyStoreProtectionKey(Key key)
Sets key used to protect the key store as a Key object.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setKeyStoreProtectionKeyAsBytes(byte[] key)
Sets key used to protect the key store as a byte array.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setKeyStoreProtectionKeyAsString(String key)
Sets key used to protect the key store as a string.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setPrivateKeyProtectionKey(Key key)
Sets key used to protect the private key as a Key object.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setPrivateKeyProtectionKeyAsBytes(byte[] key)
Sets the key used to protect the private key as a byte array.
|
void |
AbstractPKCS11TokenKeyStoreProtectionManager.setPrivateKeyProtectionKeyAsString(String key)
Sets the key used to protect the private key as a string.
|
Key |
AbstractPKCS11TokenKeyStoreProtectionManager.unwrapWithSecretKey(SecretKey kek,
byte[] wrappedData,
String keyAlg,
int keyType)
Unwraps the key with a symmetric secret key encryption key.
|
Key |
BootstrappedKeyStoreProtectionManager.unwrapWithSecretKey(SecretKey kek,
byte[] wrappedData,
String keyAlg,
int keyType)
Unwraps the key with a symmetric secret key encryption key.
|
byte[] |
AbstractPKCS11TokenKeyStoreProtectionManager.wrapWithSecretKey(SecretKey kek,
Key keyToWrap)
Wraps a key with a symmetric secret key encryption key.
|
byte[] |
BootstrappedKeyStoreProtectionManager.wrapWithSecretKey(SecretKey kek,
Key keyToWrap)
Wraps a key with a symmetric secret key encryption key.
|
| Constructor and Description |
|---|
AbstractPKCS11TokenKeyStoreProtectionManager()
Empty constructor.
|
AbstractPKCS11TokenKeyStoreProtectionManager(PKCS11Credential credential,
String keyStorePassPhraseAlias,
String privateKeyPassPhraseAlias)
Constructor that takes a credential interface for logging into the token.
|
DynamicPKCS11TokenKeyStoreProtectionManager()
Default Constructor
|
DynamicPKCS11TokenKeyStoreProtectionManager(String keyStorePassPhraseAlias,
String privateKeyPassPhraseAlias,
CallbackHandler handler)
Constructs the store with the aliases and a callback handler.
|
DynamicPKCS11TokenKeyStoreProtectionManager(String keyStorePassPhraseAlias,
String privateKeyPassPhraseAlias,
CallbackHandler handler,
String keyStoreType,
InputStream inputStream) |
StaticCachedPKCS11TokenKeyStoreProtectionManager()
Empty constructor
|
StaticCachedPKCS11TokenKeyStoreProtectionManager(PKCS11Credential credential,
String keyStorePassPhraseAlias,
String privateKeyPassPhraseAlias)
Constructs the store with a credential manager and aliases.
|
StaticPKCS11TokenKeyStoreProtectionManager()
Empty constructor
|
StaticPKCS11TokenKeyStoreProtectionManager(PKCS11Credential credential,
String keyStorePassPhraseAlias,
String privateKeyPassPhraseAlias)
Constructs the store with a credential manager and aliases.
|
Copyright © 2010–2021 The Direct Project. All rights reserved.