# Method Standards.PKCS.ECDSA.parse_private_key()

Method parse_private_key

  ``Crypto.ECC.SECP_521R1.ECDSA` parse_private_key(`Sequence` `a`, `Crypto.ECC.Curve`|`void` `c`)`

Description

  Get an initialized ECDSA object from an ECC curve and an ASN.1 ec private key sequence.

  As specified in RFC 5915 section 3.

Method parse_private_key

  ``variant` `Crypto.ECC.SECP_521R1.ECDSA` parse_private_key(`string(8bit)` `ec_private_key`, `Crypto.ECC.Curve`|`void` `c`)`

Description

  Get an initialized ECDSA object from an ECC curve and an ASN.1 DER encoded ec private key.

  As specified in RFC 5915 section 3.