Pkcs8PrivateKeyInfo

@Serializable
data class Pkcs8PrivateKeyInfo(val version: Pkcs8PrivateKeyInfo.Version, val privateKeyAlgorithm: X509AlgorithmIdentifier, val privateKey: Asn1Element, val attributes: Set<Asn1Element>? = null) : WithPemLabel(source)

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 Attribute

Constructors

Link copied to clipboard
constructor(version: Pkcs8PrivateKeyInfo.Version, privateKeyAlgorithm: X509AlgorithmIdentifier, privateKey: Asn1Element, attributes: Set<Asn1Element>? = null)

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val pemLabel: String
Link copied to clipboard
Link copied to clipboard

Functions