| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv int | |
| private final AtomicBoolean | |
| private final int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv ASN1ObjectIdentifier | |
| private final CipherParameters | |
| private final char[] | |
| private final byte[] | |
| pack-priv boolean | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public | BCPBEKey(String algorithm, ASN1ObjectIdentifier oid, int type, int digest, int keySize, int ivSize, PBEKeySpec pbeKeySpec, CipherParameters param)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| public void | |
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| pack-priv int | |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public int | getIterationCount()
Implements javax. Returns the iteration count or 0 if not specified. |
| public int | |
| pack-priv int | |
| public ASN1ObjectIdentifier | |
| public CipherParameters | |
| public char[] | |
| public byte[] | getSalt()
Implements javax. Returns the salt or null if not specified. |
| pack-priv int | |
| public boolean | isDestroyed()
Overrides default javax. Determine if this |
| public void | |
| pack-priv boolean |
| algorithm | back to summary |
|---|---|
| pack-priv String algorithm | |
| digest | back to summary |
|---|---|
| pack-priv int digest | |
| hasBeenDestroyed | back to summary |
|---|---|
| private final AtomicBoolean hasBeenDestroyed | |
| iterationCount | back to summary |
|---|---|
| private final int iterationCount | |
| ivSize | back to summary |
|---|---|
| pack-priv int ivSize | |
| keySize | back to summary |
|---|---|
| pack-priv int keySize | |
| oid | back to summary |
|---|---|
| pack-priv ASN1ObjectIdentifier oid | |
| param | back to summary |
|---|---|
| private final CipherParameters param | |
| password | back to summary |
|---|---|
| private final char[] password | |
| salt | back to summary |
|---|---|
| private final byte[] salt | |
| tryWrong | back to summary |
|---|---|
| pack-priv boolean tryWrong | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| BCPBEKey | back to summary |
|---|---|
| public BCPBEKey(String algorithm, ASN1ObjectIdentifier oid, int type, int digest, int keySize, int ivSize, PBEKeySpec pbeKeySpec, CipherParameters param) | |
| BCPBEKey | back to summary |
|---|---|
| public BCPBEKey(String algName, CipherParameters param) | |
| checkDestroyed | back to summary |
|---|---|
| pack-priv static void checkDestroyed(Destroyable destroyable) | |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides default javax. Doc from javax. Destroy this Sensitive information associated with this | |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getDigest | back to summary |
|---|---|
| pack-priv int getDigest() | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getIterationCount | back to summary |
|---|---|
| public int getIterationCount() Implements javax. Doc from javax. Returns the iteration count or 0 if not specified.
| |
| getIvSize | back to summary |
|---|---|
| public int getIvSize() | |
| getKeySize | back to summary |
|---|---|
| pack-priv int getKeySize() | |
| getOID | back to summary |
|---|---|
| public ASN1ObjectIdentifier getOID() | |
| getParam | back to summary |
|---|---|
| public CipherParameters getParam() | |
| getPassword | back to summary |
|---|---|
| public char[] getPassword() Implements javax. Doc from javax. Returns the password. Note this method should return a copy of the password. It is the caller's responsibility to zero out the password information after it is no longer needed.
| |
| getSalt | back to summary |
|---|---|
| public byte[] getSalt() Implements javax. Doc from javax. Returns the salt or null if not specified. Note this method should return a copy of the salt. It is the caller's responsibility to zero out the salt information after it is no longer needed.
| |
| getType | back to summary |
|---|---|
| pack-priv int getType() | |
| isDestroyed | back to summary |
|---|---|
| public boolean isDestroyed() Overrides default javax. Doc from javax. Determine if this
| |
| setTryWrongPKCS12Zero | back to summary |
|---|---|
| public void setTryWrongPKCS12Zero(boolean tryWrong) | |
| shouldTryWrongPKCS12 | back to summary |
|---|---|
| pack-priv boolean shouldTryWrongPKCS12() | |