EncryptedPrivateKeyInfo type,
which is defined in PKCS #8 as follows:
EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm AlgorithmIdentifier,
encryptedData OCTET STRING }
| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmId | |
| private byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | EncryptedPrivateKeyInfo(byte[] encoded)
Constructs (i.e., parses) an |
| public | EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData)
Constructs an |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public AlgorithmId | |
| public byte[] | |
| public byte[] | |
| public int | Returns: a hashcode for this EncryptedPrivateKeyInfoOverrides java. Returns a hashcode for this EncryptedPrivateKeyInfo. |
| algid | back to summary |
|---|---|
| private final AlgorithmId algid | |
| encoded | back to summary |
|---|---|
| private byte[] encoded | |
| encryptedData | back to summary |
|---|---|
| private final byte[] encryptedData | |
| EncryptedPrivateKeyInfo | back to summary |
|---|---|
| public EncryptedPrivateKeyInfo(byte[] encoded) throws IOException Constructs (i.e., parses) an | |
| EncryptedPrivateKeyInfo | back to summary |
|---|---|
| public EncryptedPrivateKeyInfo(AlgorithmId algid, byte[] encryptedData) Constructs an | |
| 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 AlgorithmId getAlgorithm() Returns the encryption algorithm. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Returns the ASN.1 encoding of this class. | |
| getEncryptedData | back to summary |
|---|---|
| public byte[] getEncryptedData() Returns the encrypted data. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hashcode for this EncryptedPrivateKeyInfo.
| |