Companion

object Companion

Functions

Link copied to clipboard

Parses an RSA public key from a CoseKey.

Link copied to clipboard

Parses an RSA public key from a CBOR DataItem encoding a COSE_Key.

Link copied to clipboard
fun fromJwk(jwk: JsonObject): RsaPublicKey

Parses an RSA public key from a JSON Web Key (JWK) object.

Link copied to clipboard
fun fromPem(pemEncoding: String): RsaPublicKey

Parses an RSA public key from a PEM-encoded SubjectPublicKeyInfo string.

Link copied to clipboard
fun fromPkcs1(derEncoding: ByteArray): RsaPublicKey

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

Link copied to clipboard

Parses an RSA public key from a DER-encoded X.509 SubjectPublicKeyInfo sequence.