| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class | BcKeyStoreSpi.
the BouncyCastle store. |
| public static class | |
| private class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| private final JcaJceHelper | |
| pack-priv static final int | |
| private static final String | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final int | |
| pack-priv static final int | |
| private static final int | |
| pack-priv static final int | |
| protected SecureRandom | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final String | |
| private static final int | |
| private static final int | |
| protected Hashtable | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Certificate | |
| private Key | |
| private void | |
| private void | |
| public Enumeration | engineAliases()
Implements abstract java. Lists all the alias names of this keystore. |
| public boolean | engineContainsAlias(String
the alias name alias)Implements abstract java. Checks if the given alias exists in this keystore. |
| public void | engineDeleteEntry(String
the alias name alias)Implements abstract java. Deletes the entry identified by the given alias from this keystore. |
| public Certificate | engineGetCertificate(String
the alias name alias)Implements abstract java. Returns the certificate associated with the given alias. |
| public String | engineGetCertificateAlias(Certificate
the certificate to match with. cert)Implements abstract java. Returns the (alias) name of the first keystore entry whose certificate matches the given certificate. |
| public Certificate[] | engineGetCertificateChain(String
the alias name alias)Implements abstract java. Returns the certificate chain associated with the given alias. |
| public Date | engineGetCreationDate(String
the alias name alias)Implements abstract java. Returns the creation date of the entry identified by the given alias. |
| public Key | engineGetKey(String
the alias name alias, char[] the password for recovering the key password)Implements abstract java. Returns the key associated with the given alias, using the given password to recover it. |
| public boolean | engineIsCertificateEntry(String
the alias for the keystore entry to be checked alias)Implements abstract java. Returns |
| public boolean | engineIsKeyEntry(String
the alias for the keystore entry to be checked alias)Implements abstract java. Returns |
| 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. Loads the keystore from the given input stream. |
| public void | engineSetCertificateEntry(String
the alias name alias, Certificate the certificate cert)Implements abstract java. Assigns the given certificate to the given alias. |
| 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. Assigns the given key (that has already been protected) to the given alias. |
| 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. Assigns the given key to the given alias, protecting it with the given password. |
| public int | engineSize()
Implements abstract java. Retrieves the number of entries in this keystore. |
| 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. Stores this keystore to the given output stream, and protects its integrity with the given password. |
| protected void | |
| protected Cipher | |
| protected void | |
| public void | setRandom(SecureRandom rand)
Implements org. set the random source for the key store |