import { generateKeyPairSync } from "https://deno.land/std@0.145.0/node/crypto.ts";
Parameters
options: RSAKeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: RSAKeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: RSAKeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: RSAKeyPairOptions<"der", "der">
Returns
KeyPairSyncResult<Buffer, Buffer>
Parameters
options: RSAKeyPairKeyObjectOptions
Parameters
options: RSAPSSKeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: RSAPSSKeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: RSAPSSKeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: RSAPSSKeyPairOptions<"der", "der">
Returns
KeyPairSyncResult<Buffer, Buffer>
Parameters
options: DSAKeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: DSAKeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: DSAKeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: DSAKeyPairOptions<"der", "der">
Returns
KeyPairSyncResult<Buffer, Buffer>
Parameters
options: DSAKeyPairKeyObjectOptions
Parameters
options: ECKeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: ECKeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: ECKeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: ECKeyPairOptions<"der", "der">
Returns
KeyPairSyncResult<Buffer, Buffer>
Parameters
options: ECKeyPairKeyObjectOptions
Parameters
options: ED25519KeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: ED25519KeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: ED25519KeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: ED25519KeyPairOptions<"der", "der">
Returns
KeyPairSyncResult<Buffer, Buffer>
Parameters
optional
options: ED25519KeyPairKeyObjectOptionsParameters
options: ED448KeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: ED448KeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: ED448KeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: ED448KeyPairOptions<"der", "der">
Returns
KeyPairSyncResult<Buffer, Buffer>
Parameters
optional
options: ED448KeyPairKeyObjectOptionsParameters
options: X25519KeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: X25519KeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: X25519KeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: X25519KeyPairOptions<"der", "der">