public interface KeyStorage
| Modifier and Type | Method and Description |
|---|---|
void |
delete(String keyName)
Deletes the private key from key store by given Id.
|
boolean |
exists(String keyName)
Checks if the private key exists in this storage by given alias.
|
KeyEntry |
load(String keyName)
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 keyName)
keyName - The key name.boolean exists(String keyName)
keyName - The key name.true if the private key exists, false otherwise.void delete(String keyName)
keyName - The key name.Copyright © 2016. All rights reserved.