public interface KeyStoreFacade
| Modifier and Type | Method and Description |
|---|---|
KeySet |
getKey(String alias,
String password) |
KeyStore |
getKeyStore() |
void |
save()
Saves this key store with all changes.
|
void |
setKey(String alias,
AsymmetricKeyPair<?,?> keyPair,
String password,
CertificatePath certificatePath) |
void |
setKey(String alias,
SecretKey key,
String password) |
default void |
setKey(String alias,
SymmetricKey<?> key,
String password) |
void setKey(String alias, AsymmetricKeyPair<?,?> keyPair, String password, CertificatePath certificatePath)
alias - the alias under which the key pair shall be stored.keyPair - the AsymmetricKeyPair to store.password - the passphrase used to secure the KeySet.certificatePath - the CertificatePath.default void setKey(String alias, SymmetricKey<?> key, String password)
alias - the alias under which the key pair shall be stored.key - the SymmetricKey to store.password - the passphrase used to secure the KeySet.void save()
Copyright © 2001–2019 mmm-Team. All rights reserved.