Skip to content

deserializeKey

deserializeKey: (algorithm, keyUsages) => (publicKey) => Promise<CryptoKey>

Defined in: yjs/src/peerborne-yjs.ts:86

Import keys encoded by serializeKey with the given algorithm and usages.

AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm

KeyUsage[]

(publicKey) => Promise<CryptoKey>