The parameters for the SPKI to JWK conversion.
The DER-encoded SPKI public key as a Uint8Array
.
The public key in JWK format.
This method is used to transform a public key from its DER-encoded X.509 SubjectPublicKeyInfo
(SPKI) format to JSON Web Key (JWK) format. This conversion is necessary because AWS KMS
returns public keys in SPKI format, but all other Web5 cryptographic libraries use JWK format.
Converts a DER-encoded SPKI public key to its JWK format.