@hpke/dhkem-x448
Preparing search index...
X448
Class X448
Implements
DhkemPrimitives
Index
Constructors
constructor
Methods
derive
Key
Pair
derive
Public
Key
deserialize
Private
Key
deserialize
Public
Key
dh
generate
Key
Pair
import
Key
serialize
Private
Key
serialize
Public
Key
Constructors
constructor
new
X448
(
hkdf
:
KdfInterface
)
:
X448
Parameters
hkdf
:
KdfInterface
Returns
X448
Methods
derive
Key
Pair
deriveKeyPair
(
ikm
:
ArrayBuffer
)
:
Promise
<
CryptoKeyPair
>
Parameters
ikm
:
ArrayBuffer
Returns
Promise
<
CryptoKeyPair
>
derive
Public
Key
derivePublicKey
(
key
:
CryptoKey
)
:
Promise
<
CryptoKey
>
Parameters
key
:
CryptoKey
Returns
Promise
<
CryptoKey
>
deserialize
Private
Key
deserializePrivateKey
(
key
:
ArrayBuffer
)
:
Promise
<
CryptoKey
>
Parameters
key
:
ArrayBuffer
Returns
Promise
<
CryptoKey
>
deserialize
Public
Key
deserializePublicKey
(
key
:
ArrayBuffer
)
:
Promise
<
CryptoKey
>
Parameters
key
:
ArrayBuffer
Returns
Promise
<
CryptoKey
>
dh
dh
(
sk
:
CryptoKey
,
pk
:
CryptoKey
)
:
Promise
<
ArrayBuffer
>
Parameters
sk
:
CryptoKey
pk
:
CryptoKey
Returns
Promise
<
ArrayBuffer
>
generate
Key
Pair
generateKeyPair
()
:
Promise
<
CryptoKeyPair
>
Returns
Promise
<
CryptoKeyPair
>
import
Key
importKey
(
format
:
"raw"
|
"jwk"
,
key
:
ArrayBuffer
|
JsonWebKey
,
isPublic
:
boolean
,
)
:
Promise
<
CryptoKey
>
Parameters
format
:
"raw"
|
"jwk"
key
:
ArrayBuffer
|
JsonWebKey
isPublic
:
boolean
Returns
Promise
<
CryptoKey
>
serialize
Private
Key
serializePrivateKey
(
key
:
CryptoKey
)
:
Promise
<
ArrayBuffer
>
Parameters
key
:
CryptoKey
Returns
Promise
<
ArrayBuffer
>
serialize
Public
Key
serializePublicKey
(
key
:
CryptoKey
)
:
Promise
<
ArrayBuffer
>
Parameters
key
:
CryptoKey
Returns
Promise
<
ArrayBuffer
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
derive
Key
Pair
derive
Public
Key
deserialize
Private
Key
deserialize
Public
Key
dh
generate
Key
Pair
import
Key
serialize
Private
Key
serialize
Public
Key
@hpke/dhkem-x448
Loading...