EncryptedPrivateKeyInfo

@Serializable
data class EncryptedPrivateKeyInfo(val encryptionAlgorithm: X509AlgorithmIdentifier, val encryptedData: Asn1OctetString) : WithPemLabel(source)

As per RFC5208:

EncryptedPrivateKeyInfo ::= SEQUENCE {
encryptionAlgorithm EncryptionAlgorithmIdentifier,
encryptedData EncryptedData
}

EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
EncryptedData ::= OCTET STRING

Constructors

Link copied to clipboard
constructor(encryptionAlgorithm: X509AlgorithmIdentifier, encryptedData: Asn1OctetString)

Types

Link copied to clipboard

Properties

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