-
- All Known Implementing Classes:
KeyStoreFacadeImpl
public interface KeyStoreFacade- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KeySetgetKey(String alias, String password)KeyStoregetKeyStore()voidsave()Saves this key store with all changes.voidsetKey(String alias, AsymmetricKeyPair<?,?> keyPair, String password, CertificatePath certificatePath)default voidsetKey(String alias, SymmetricKey<?> key, String password)voidsetKey(String alias, SecretKey key, String password)
-
-
-
Method Detail
-
setKey
void setKey(String alias, AsymmetricKeyPair<?,?> keyPair, String password, CertificatePath certificatePath)
- Parameters:
alias- the alias under which the key pair shall be stored.keyPair- theAsymmetricKeyPairto store.password- the passphrase used to secure theKeySet.certificatePath- theCertificatePath.
-
setKey
default void setKey(String alias, SymmetricKey<?> key, String password)
- Parameters:
alias- the alias under which the key pair shall be stored.key- theSymmetricKeyto store.password- the passphrase used to secure theKeySet.
-
save
void save()
Saves this key store with all changes.
-
-