fromPkcs1

fun fromPkcs1(derEncoding: ByteArray): RsaPublicKey

Parses an RSA public key from a DER-encoded PKCS#1 RSAPublicKey sequence.

Return

the parsed RsaPublicKey.

Parameters

derEncoding

the DER-encoded bytes.