public interface KeyStore
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String keyId)
Deletes the private key from key store by given Id.
|
boolean |
exists(String keyId)
Checks if the private key exists in this storage by given alias.
|
KeyEntry |
load(String keyId)
Loads the private key associated with the given alias.
|
void |
store(KeyEntry keyEntry)
Stores the private key (that has already been protected) to the given
alias.
|
void store(KeyEntry keyEntry)
keyEntry - The key entry.KeyEntry load(String keyId)
keyId - The key identifier.boolean exists(String keyId)
keyId - The key identifier.true if the private key exists, false otherwise.void delete(String keyId)
keyId - The key Id.Copyright © 2016. All rights reserved.