decodeEcdsaPrivateKey
fn
ECDSAPrivateKey decodeEcdsaPrivateKey(const(ubyte)[] der)Decodes an ECDSA private key from SEC 1 / RFC 5915 format.
Parameters
der | The DER-encoded ECPrivateKey bytes. |
Returns
The decoded ECDSA private key.
Throws
CryptoException if the DER is malformed.