EC
SEC1 Elliptic Curve Private Key Structure as per RFC 5915 augmented with optional attributes. Attributes are never SEC1 encoded, but are relevant when PKCS#8-encoding a private key.
Inheritors
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class WithoutPublicKey(val privateKey: BigInteger, val publicKeyBytes: Asn1BitString?, val attributes: List<Asn1Element>? = null, curveOrderLengthInBytes: Int) : CryptoPrivateKey.EC
Link copied to clipboard
class WithPublicKey constructor(val privateKey: BigInteger, val publicKey: CryptoPublicKey.EC, val encodeCurve: Boolean, val encodePublicKey: Boolean, val attributes: List<Asn1Element>? = null) : CryptoPrivateKey.EC, CryptoPrivateKey.WithPublicKey<CryptoPublicKey.EC>