Pkcs1RsaPrivateKeyInfo

@Serializable
data class Pkcs1RsaPrivateKeyInfo(val version: Pkcs1RsaPrivateKeyInfo.Version, val modulus: Asn1Integer.Positive, val publicExponent: Asn1Integer.Positive, val privateExponent: Asn1Integer.Positive, val prime1: Asn1Integer.Positive, val prime2: Asn1Integer.Positive, val exponent1: Asn1Integer.Positive, val exponent2: Asn1Integer.Positive, val coefficient: Asn1Integer.Positive, val otherPrimeInfos: List<Pkcs1RsaOtherPrimeInfo>? = null) : WithPemLabel(source)

As per RFC8017:

RSAPrivateKey ::= SEQUENCE {
version Version,
modulus INTEGER,
publicExponent INTEGER,
privateExponent INTEGER,
prime1 INTEGER,
prime2 INTEGER,
exponent1 INTEGER,
exponent2 INTEGER,
coefficient INTEGER,
otherPrimeInfos OtherPrimeInfos OPTIONAL
}

Constructors

Link copied to clipboard
constructor(version: Pkcs1RsaPrivateKeyInfo.Version, modulus: Asn1Integer.Positive, publicExponent: Asn1Integer.Positive, privateExponent: Asn1Integer.Positive, prime1: Asn1Integer.Positive, prime2: Asn1Integer.Positive, exponent1: Asn1Integer.Positive, exponent2: Asn1Integer.Positive, coefficient: Asn1Integer.Positive, otherPrimeInfos: List<Pkcs1RsaOtherPrimeInfo>? = null)

Types

Link copied to clipboard
Link copied to clipboard

Corresponds verbatim to RFC8017:

Properties

Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard