Deprecated
Use KemInterface.generateKeyPair instead.
import { CipherSuite } from "https://deno.land/x/hpke@1.2.9/mod.ts";
Generates a key pair for the cipher suite.
If the error occurred, throws NotSupportedError.
Returns
Promise<CryptoKeyPair>
A key pair generated.