Deprecated
Use KemInterface.deriveKeyPair instead.
import { CipherSuite } from "https://deno.land/x/hpke@1.2.9/mod.ts";
Derives a key pair for the cipher suite in the manner defined in RFC9180 Section 7.1.3.
If the error occurred, throws DeriveKeyPairError.
Returns
Promise<CryptoKeyPair>
A key pair derived.