Pkcs8PrivateKeyInfo
@Serializable
As per RFC5208:
PrivateKeyInfo ::= SEQUENCE {
version Version,
privateKeyAlgorithm PrivateKeyAlgorithmIdentifier,
privateKey PrivateKey,
attributes [0] IMPLICIT Attributes OPTIONAL }
Version ::= INTEGER
PrivateKeyAlgorithmIdentifier ::= AlgorithmIdentifier
PrivateKey ::= OCTET STRING
Attributes ::= SET OF AttributeContent copied to clipboard
Constructors
Link copied to clipboard
constructor(version: Pkcs8PrivateKeyInfo.Version, privateKeyAlgorithm: X509AlgorithmIdentifier, privateKey: Asn1Element, attributes: Set<Asn1Element>? = null)