parse

fun parse(key: ByteArray, signatureScheme: SignatureScheme): ExternalSender(source)

Parse an external sender.

This first attempts to parse this as a JWK per parse_jwk, and falls back to parse_public_key if the former method fails.