Preparing search index...
The search index is not available
Documentation
Documentation
@divviup/dap
HpkeConfig
Class HpkeConfig
Implements
Encodable
Index
Constructors
constructor
Properties
aead
Id
id
kdf
Id
kem
Id
public
Key
Methods
encode
seal
parse
Constructors
constructor
new
HpkeConfig
(
id
:
number
,
kemId
:
number
,
kdfId
:
number
,
aeadId
:
number
,
publicKey
:
Buffer
,
)
:
HpkeConfig
Parameters
id
:
number
kemId
:
number
kdfId
:
number
aeadId
:
number
publicKey
:
Buffer
Returns
HpkeConfig
Properties
aead
Id
aeadId
:
number
id
id
:
number
kdf
Id
kdfId
:
number
kem
Id
kemId
:
number
public
Key
publicKey
:
Buffer
Methods
encode
encode
()
:
Buffer
Returns
Buffer
seal
seal
(
info
:
Buffer
,
plaintext
:
Buffer
,
aad
:
Buffer
)
:
Promise
<
HpkeCiphertext
>
Parameters
info
:
Buffer
plaintext
:
Buffer
aad
:
Buffer
Returns
Promise
<
HpkeCiphertext
>
Static
parse
parse
(
parsable
:
ParseSource
)
:
HpkeConfig
Parameters
parsable
:
ParseSource
Returns
HpkeConfig
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
aead
Id
id
kdf
Id
kem
Id
public
Key
Methods
encode
seal
parse
Documentation
Loading...