-
- 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 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)
default void
setKey(String alias, SymmetricKey<?> key, String password)
void
setKey(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
- theAsymmetricKeyPair
to 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
- theSymmetricKey
to store.password
- the passphrase used to secure theKeySet
.
-
save
void save()
Saves this key store with all changes.
-
-