@haxall/haxall
Preparing search index...
node
crypto
generateKeyPair
__promisify__
Function __promisify__
__promisify__
(
type
:
"rsa"
,
options
:
RSAKeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"rsa"
options
:
RSAKeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"rsa"
,
options
:
RSAKeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"rsa"
options
:
RSAKeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"rsa"
,
options
:
RSAKeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"rsa"
options
:
RSAKeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"rsa"
,
options
:
RSAKeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"rsa"
options
:
RSAKeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"rsa"
,
options
:
RSAKeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"rsa"
options
:
RSAKeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"rsa-pss"
,
options
:
RSAPSSKeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"rsa-pss"
options
:
RSAPSSKeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"rsa-pss"
,
options
:
RSAPSSKeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"rsa-pss"
options
:
RSAPSSKeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"rsa-pss"
,
options
:
RSAPSSKeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"rsa-pss"
options
:
RSAPSSKeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"rsa-pss"
,
options
:
RSAPSSKeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"rsa-pss"
options
:
RSAPSSKeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"rsa-pss"
,
options
:
RSAPSSKeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"rsa-pss"
options
:
RSAPSSKeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"dsa"
,
options
:
DSAKeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"dsa"
options
:
DSAKeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"dsa"
,
options
:
DSAKeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"dsa"
options
:
DSAKeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"dsa"
,
options
:
DSAKeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"dsa"
options
:
DSAKeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"dsa"
,
options
:
DSAKeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"dsa"
options
:
DSAKeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"dsa"
,
options
:
DSAKeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"dsa"
options
:
DSAKeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"ec"
,
options
:
ECKeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"ec"
options
:
ECKeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"ec"
,
options
:
ECKeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"ec"
options
:
ECKeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"ec"
,
options
:
ECKeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"ec"
options
:
ECKeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"ec"
,
options
:
ECKeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"ec"
options
:
ECKeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"ec"
,
options
:
ECKeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"ec"
options
:
ECKeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"ed25519"
,
options
:
ED25519KeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"ed25519"
options
:
ED25519KeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"ed25519"
,
options
:
ED25519KeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"ed25519"
options
:
ED25519KeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"ed25519"
,
options
:
ED25519KeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"ed25519"
options
:
ED25519KeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"ed25519"
,
options
:
ED25519KeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"ed25519"
options
:
ED25519KeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"ed25519"
,
options
?:
ED25519KeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"ed25519"
Optional
options
:
ED25519KeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"ed448"
,
options
:
ED448KeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"ed448"
options
:
ED448KeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"ed448"
,
options
:
ED448KeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"ed448"
options
:
ED448KeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"ed448"
,
options
:
ED448KeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"ed448"
options
:
ED448KeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"ed448"
,
options
:
ED448KeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"ed448"
options
:
ED448KeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"ed448"
,
options
?:
ED448KeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"ed448"
Optional
options
:
ED448KeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"x25519"
,
options
:
X25519KeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"x25519"
options
:
X25519KeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"x25519"
,
options
:
X25519KeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"x25519"
options
:
X25519KeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"x25519"
,
options
:
X25519KeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"x25519"
options
:
X25519KeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"x25519"
,
options
:
X25519KeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"x25519"
options
:
X25519KeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"x25519"
,
options
?:
X25519KeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"x25519"
Optional
options
:
X25519KeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
__promisify__
(
type
:
"x448"
,
options
:
X448KeyPairOptions
<
"pem"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
Parameters
type
:
"x448"
options
:
X448KeyPairOptions
<
"pem"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
string
}
>
__promisify__
(
type
:
"x448"
,
options
:
X448KeyPairOptions
<
"pem"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
Parameters
type
:
"x448"
options
:
X448KeyPairOptions
<
"pem"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
string
}
>
__promisify__
(
type
:
"x448"
,
options
:
X448KeyPairOptions
<
"der"
,
"pem"
>
,
)
:
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
Parameters
type
:
"x448"
options
:
X448KeyPairOptions
<
"der"
,
"pem"
>
Returns
Promise
<
{
privateKey
:
string
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"x448"
,
options
:
X448KeyPairOptions
<
"der"
,
"der"
>
,
)
:
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
Parameters
type
:
"x448"
options
:
X448KeyPairOptions
<
"der"
,
"der"
>
Returns
Promise
<
{
privateKey
:
Buffer
;
publicKey
:
Buffer
}
>
__promisify__
(
type
:
"x448"
,
options
?:
X448KeyPairKeyObjectOptions
,
)
:
Promise
<
KeyPairKeyObjectResult
>
Parameters
type
:
"x448"
Optional
options
:
X448KeyPairKeyObjectOptions
Returns
Promise
<
KeyPairKeyObjectResult
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@haxall/haxall
Loading...