| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| private class | |
| private static class | |
| public static class | |
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private ASN1ObjectIdentifier | |
| private CertificateFactory | |
| pack-priv static final int | |
| private PKCS12KeyStoreSpi. | |
| private Hashtable | |
| private final JcaJceHelper | |
| private int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private ASN1ObjectIdentifier | |
| private Hashtable | |
| private PKCS12KeyStoreSpi. | |
| private static final PKCS12KeyStoreSpi. | |
| private PKCS12KeyStoreSpi. | |
| private AlgorithmIdentifier | |
| private static final int | |
| pack-priv static final int | |
| pack-priv static final String | |
| protected SecureRandom | |
| private static final int | |
| private int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public | PKCS12KeyStoreSpi(JcaJceHelper helper, ASN1ObjectIdentifier keyAlgorithm, ASN1ObjectIdentifier certAlgorithm)
|
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | calculatePbeMac(ASN1ObjectIdentifier oid, byte[] salt, int itCount, char[] password, boolean wrongPkcs12Zero, byte[] data)
|
| private Cipher | |
| private SafeBag | |
| private SubjectKeyIdentifier | |
| protected byte[] | cryptData(boolean forEncryption, AlgorithmIdentifier algId, char[] password, boolean wrongPKCS12Zero, byte[] data)
|
| private void | |
| public Enumeration | engineAliases()
Implements abstract java. |
| public boolean | engineContainsAlias(String
the alias name alias)Implements abstract java. |
| public void | engineDeleteEntry(String
the alias name alias)Implements abstract java. |
| public Certificate | engineGetCertificate(String
the alias name alias)Implements abstract java. |
| public String | engineGetCertificateAlias(Certificate
the certificate to match with. cert)Implements abstract java. |
| public Certificate[] | engineGetCertificateChain(String
the alias name alias)Implements abstract java. |
| public Date | engineGetCreationDate(String
the alias name alias)Implements abstract java. |
| public Key | engineGetKey(String
the alias name alias, char[] the password for recovering the key password)Implements abstract java. |
| public boolean | engineIsCertificateEntry(String
the alias for the keystore entry to be checked alias)Implements abstract java. true if the entry identified by the given alias
was created by a call to setCertificateEntry,
or created by a call to setEntry with a
TrustedCertificateEntry.
|
| public boolean | engineIsKeyEntry(String
the alias for the keystore entry to be checked alias)Implements abstract java. true if the entry identified by the given alias
was created by a call to setKeyEntry,
or created by a call to setEntry with a
PrivateKeyEntry or a SecretKeyEntry.
|
| public void | engineLoad(KeyStore.
the loadStoreParameterKeyStore.LoadStoreParameter
that specifies how to load the keystore,
which may be nullOverrides java. KeyStore.LoadStoreParameter.
|
| public void | engineLoad(InputStream
the input stream from which the keystore is loaded,
or stream, char[] nullthe password used to check the integrity of
the keystore, the password used to unlock the keystore,
or password)nullImplements abstract java. |
| public boolean | engineProbe(InputStream
the keystore data to be probed stream)Overrides java. |
| public void | engineSetCertificateEntry(String
the alias name alias, Certificate the certificate cert)Implements abstract java. |
| public void | engineSetKeyEntry(String
the alias name alias, byte[] the key (in protected format) to be associated with the alias key, Certificate[] the certificate chain for the corresponding public
key (only useful if the protected key is of type
chain)java.security.PrivateKey).Implements abstract java. |
| public void | engineSetKeyEntry(String
the alias name alias, Key the key to be associated with the alias key, char[] the password to protect the key password, Certificate[] the certificate chain for the corresponding public
key (only required if the given key is of type
chain)java.security.PrivateKey).Implements abstract java. |
| public int | engineSize()
Implements abstract java. |
| public void | engineStore(KeyStore.
the paramKeyStore.LoadStoreParameter
that specifies how to store the keystore,
which may be nullOverrides java. KeyStore.LoadStoreParameter.
|
| public void | engineStore(OutputStream
the output stream to which this keystore is written. stream, char[] the password to generate the keystore integrity check.
May be password)null if the keystore does not support
or require an integrity check.Implements abstract java. |
| private static byte[] | |
| private Set | |
| private void | |
| private boolean | |
| public void | setRandom(SecureRandom rand)
Implements org. |
| protected PrivateKey | |
| private int | |
| protected byte[] |