EcPrivateKey

@Serializable
class EcPrivateKey(val version: Int, val privateKey: ByteArray, val parameters: EcParameters? = null, val publicKey: BitArray? = null)(source)
ECPrivateKey ::= SEQUENCE {
version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
privateKey OCTET STRING,
parameters [0] ECParameters {{ NamedCurve }} OPTIONAL,
publicKey [1] BIT STRING OPTIONAL
}

Constructors

Link copied to clipboard
constructor(version: Int, privateKey: ByteArray, parameters: EcParameters? = null, publicKey: BitArray? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val publicKey: BitArray? = null
Link copied to clipboard