to Jwk
fun toJwk(publicKey: ByteArray, verMethodType: VerificationMethodTypePeerDID): Map<String, String>(source)
Converts a public key to a JSON Web Key (JWK).
Return
The public key converted to a JWK.
Parameters
public Key
The public key to convert as a byte array.
ver Method Type
The type of verification method.
Throws
if the JWK type is unsupported.