public interface KeyStoreProtectionManager
| Modifier and Type | Method and Description |
|---|---|
Map<String,KeyStore.Entry> |
getAllEntries()
Gets a Map of all entries managed by the token.
|
Map<String,Key> |
getAllKeys()
Gets a Map of all keys managed by the token.
|
KeyStore.Entry |
getEntry(String entryName)
Gets a specific entry by name
|
Key |
getKey(String keyName)
Gets a specific key by name.
|
Key |
getKeyStoreProtectionKey()
Gets the key protecting private keys in the key store.
|
Key |
getPrivateKeyProtectionKey()
Gets the key protecting the key store as a whole.
|
Key getPrivateKeyProtectionKey() throws CryptoException
CryptoExceptionKey getKeyStoreProtectionKey() throws CryptoException
CryptoExceptionMap<String,Key> getAllKeys() throws CryptoException
CryptoExceptionKey getKey(String keyName) throws CryptoException
keyName - The name of the key to retrieve. Returns null if the key doesn't exist.CryptoExceptionMap<String,KeyStore.Entry> getAllEntries() throws CryptoException
CryptoExceptionKeyStore.Entry getEntry(String entryName) throws CryptoException
entryName - The name of the entry to retrieve. Returns null if the entry doesn't exist.CryptoExceptionCopyright © 2010–2021 The Direct Project. All rights reserved.