| Modifier and Type | Field and Description |
|---|---|
| private transient Cleaner. | |
| private byte[] | |
| private static final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | PBEKey(PBEKeySpec keySpec, String
the given PBE key specification keytype)Creates a PBE key from a given PBE key specification. |
| Modifier and Type | Method and Description |
|---|---|
| public void | destroy()
Overrides default javax. Clears the internal copy of the key. |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| 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 | |
| public boolean | isDestroyed()
Overrides default javax. Determine if this |
| private void | readObject(ObjectInputStream
the s)ObjectInputStream from which data is readRestores the state of this object from the stream. |
| private Object | Returns: the standard KeyRep object to be serializedReplace the PBE key to be serialized. |
| cleanable | back to summary |
|---|---|
| private transient Cleaner. | |
| key | back to summary |
|---|---|
| private byte[] key | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| type | back to summary |
|---|---|
| private final String type | |
| PBEKey | back to summary |
|---|---|
| pack-priv PBEKey(PBEKeySpec keySpec, String keytype) throws InvalidKeySpecException Creates a PBE key from a given PBE key specification.
| |
| destroy | back to summary |
|---|---|
| public void destroy() Overrides default javax. Clears the internal copy of the key.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "RSA" would indicate that this key is an RSA key. See the Key Algorithms section in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names. | |
| 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 | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Calculates a hash code value for the object. Objects that are equal will also have the same hashcode.
| |
| isDestroyed | back to summary |
|---|---|
| public boolean isDestroyed() Overrides default javax. Doc from javax. Determine if this
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException Restores the state of this object from the stream.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() throws ObjectStreamException Replace the PBE key to be serialized.
| |