decodeRsaSpki
fn
RSAPublicKey decodeRsaSpki(const(ubyte)[] der)Decodes an RSA public key from DER-encoded SubjectPublicKeyInfo (SPKI).
Parameters
der | The DER-encoded SPKI bytes. |
Returns
The decoded RSA public key.
Throws
CryptoException if the DER is malformed or the algorithm is not RSA.