exportSpkiDer
Export a public key as DER-encoded SubjectPublicKeyInfo.
ts
function exportSpkiDer(
publicKey: CryptoKey,
): Promise<Uint8Array>Parameters
publicKey:CryptoKey
See also
importSpkiDerfor the inverse operationexportSpkiPemfor PEM output