Module io.github.mmm.crypto
Class KeyStoreAccessPkcs12
- java.lang.Object
-
- io.github.mmm.crypto.CryptoAccess
-
- io.github.mmm.crypto.key.store.access.KeyStoreAccess
-
- io.github.mmm.crypto.key.store.access.KeyStoreAccessPkcs12
-
public class KeyStoreAccessPkcs12 extends KeyStoreAccess
KeyStoreAccessforPKCS#12.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description KeyStoreAccessPkcs12(KeyStoreConfigPkcs12 config)The constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyStoreAccessPkcs12of(CryptoResource keyStoreResource, String password)static KeyStoreAccessPkcs12of(File keyStore, String password)-
Methods inherited from class io.github.mmm.crypto.key.store.access.KeyStoreAccess
getConfig, newKeyStore
-
-
-
-
Constructor Detail
-
KeyStoreAccessPkcs12
public KeyStoreAccessPkcs12(KeyStoreConfigPkcs12 config)
The constructor.- Parameters:
config- theKeyStoreConfigPkcs12.
-
-
Method Detail
-
of
public static KeyStoreAccessPkcs12 of(File keyStore, String password)
- Parameters:
keyStore- theFilepointing to the keystore.password- the password used to encrypt/decrypt the keystore.- Returns:
- the new instance.
-
of
public static KeyStoreAccessPkcs12 of(CryptoResource keyStoreResource, String password)
- Parameters:
keyStoreResource- theCryptoResourcepointing to the keystore.password- the password used to encrypt/decrypt the keystore.- Returns:
- the new instance.
-
-