@License public class PKCS12KeyRing extends KeyRing
keystore, 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 |
|---|---|
void |
close()
Attempts to log out of the KeyStore if supported by the underlying
technology, and releases its reference.
|
enumerateAliases, getCertificate, getCertificateChain, getCertificateChainAsArray, getKeyPair, getKeyStore, getPrivateKey, getPrivateKey, getPublicKey, getPublicKey, getSignatureKeyAliases, isCertificateAlias, isPrivateKeyAliaspublic PKCS12KeyRing(String pkcs12, String password) throws CryptoException
pkcs12 - the path to the actual PKCS#12 repository on file.password - the PKCS#12 key store password.CryptoExceptionpublic PKCS12KeyRing(File pkcs12, String password) throws CryptoException
pkcs12 - the actual PKCS#12 repository on disk.password - the PKCS#12 key store password.CryptoExceptionpublic void close()
KeyRingclose in interface AutoCloseableclose in class KeyRingAutoCloseable.close()Copyright © 2012-2014 Andrea Funtò. See here for terms and conditions.