Pike v8.0 release 1738

Method Standards.PKCS.ECDSA.private_key()


Method private_key

string(8bit) private_key(Crypto.ECC.SECP_521R1.ECDSA ecdsa)

Description

Create a DER-coded ECPrivateKey structure

Parameter ecdsa

Crypto.ECC.Curve()->ECDSA object.

Returns

ASN.1 coded ECPrivateKey structure as specified in RFC 5915 section 3.