import { generateKeyPairSync } from "https://deno.land/std@0.167.0/node/internal/crypto/keygen.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">
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">
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">
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">
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">
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">
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">
Parameters
optional
options: X25519KeyPairKeyObjectOptionsParameters
options: X448KeyPairOptions<"pem", "pem">
Returns
KeyPairSyncResult<string, string>
Parameters
options: X448KeyPairOptions<"pem", "der">
Returns
KeyPairSyncResult<string, Buffer>
Parameters
options: X448KeyPairOptions<"der", "pem">
Returns
KeyPairSyncResult<Buffer, string>
Parameters
options: X448KeyPairOptions<"der", "der">
Parameters
optional
options: X448KeyPairKeyObjectOptions