PrivateKeyInfo type,
which is defined in PKCS #8 as follows:
PrivateKeyInfo ::= SEQUENCE {
version INTEGER,
privateKeyAlgorithm AlgorithmIdentifier,
privateKey OCTET STRING,
attributes [0] IMPLICIT Attributes OPTIONAL }
| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmId | |
| private final byte[] | |
| private static final BigInteger |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv AlgorithmId |
| algid | back to summary |
|---|---|
| private final AlgorithmId algid | |
| privkey | back to summary |
|---|---|
| private final byte[] privkey | |
| VERSION | back to summary |
|---|---|
| private static final BigInteger VERSION | |
| PrivateKeyInfo | back to summary |
|---|---|
| pack-priv PrivateKeyInfo(byte[] encoded) throws IOException Constructs a PKCS#8 PrivateKeyInfo from its ASN.1 encoding. | |
| clear | back to summary |
|---|---|
| public void clear() | |
| getAlgorithm | back to summary |
|---|---|
| pack-priv AlgorithmId getAlgorithm() Returns the private-key algorithm. | |