decodeRsaPkcs1

fnRSAPrivateKey decodeRsaPkcs1(const(ubyte)[] der)

Decodes an RSA private key from PKCS#1 format.

Parameters

derThe DER-encoded PKCS#1 RSAPrivateKey bytes.

Returns

The decoded RSA private key.

Throws

CryptoException if the DER is malformed.