importSpkiBase64
Import a public key from base64-encoded SubjectPublicKeyInfo (no PEM headers).
ts
function importSpkiBase64(
base64: string,
algorithm?: PublicKeyImportInput,
): Promise<ImportKeyResult<CryptoKey>>Parameters
base64:stringalgorithm?:PublicKeyImportInput
See also
importSpkiBase64OrThrowfor the throwing variant