importSpkiDer
Import a public key from DER-encoded SubjectPublicKeyInfo.
ts
function importSpkiDer(
der: Uint8Array,
algorithm?: PublicKeyImportInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
der:Uint8Arrayalgorithm?:PublicKeyImportInput
See also
importSpkiDerOrThrowfor the throwing variant