public class PKCS12KeyRing extends KeyRing
SIGNATURE_CRITICAL_EXTENSION_OID| Constructor and Description |
|---|
PKCS12KeyRing(File pkcs12,
String password)
Constructor.
|
PKCS12KeyRing(String pkcs12,
String password)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeImpl()
Logs out of the key store, if supported by the underlying technology.
|
protected KeyStore |
openImpl()
Loads and logs in to the key store.
|
close, enumerateAliases, getCertificate, getCertificateChain, getCertificateChainAsArray, getKeyPair, getKeyStore, getPrivateKey, getPrivateKey, getPublicKey, getPublicKey, getSignatureKeyAliases, isCertificateAlias, isPrivateKeyAlias, openpublic PKCS12KeyRing(File pkcs12, String password)
pkcs12 - the actual PKCS#12 repository on disk.password - the PKCS#12 key store password.protected KeyStore openImpl() throws CryptoException
KeyRingopenImpl in class KeyRingCryptoException - if an I/O or a key store specific error occurs while loading the key
store.KeyRing.openImpl()protected void closeImpl()
throws CryptoException
KeyRingcloseImpl in class KeyRingCryptoException - if a communication error with the underlying device occurs.KeyRing.closeImpl()Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.