Preparing search index...
The search index is not available
Documentation
Documentation
@waku/message-encryption
symmetric
Encoder
Class Encoder
Hierarchy
Encoder
Implements
IEncoder
Index
Constructors
constructor
Properties
content
Topic
ephemeral
meta
Setter?
sig
Priv
Key?
sym
Key
Methods
to
Proto
Obj
to
Wire
Constructors
constructor
new
Encoder
(
contentTopic
,
symKey
,
sigPrivKey
?
,
ephemeral
?
,
metaSetter
?
)
:
symmetric
.
Encoder
Parameters
contentTopic
:
string
symKey
:
Uint8Array
Optional
sigPrivKey
:
Uint8Array
ephemeral
:
boolean
= false
Optional
metaSetter
:
IMetaSetter
Returns
symmetric
.
Encoder
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
= false
Optional
meta
Setter
meta
Setter
?:
IMetaSetter
Private
Optional
sig
Priv
Key
sig
Priv
Key
?:
Uint8Array
Private
sym
Key
sym
Key
:
Uint8Array
Methods
to
Proto
Obj
to
Proto
Obj
(
message
)
:
Promise
<
undefined
|
IProtoMessage
>
Parameters
message
:
IMessage
Returns
Promise
<
undefined
|
IProtoMessage
>
to
Wire
to
Wire
(
message
)
:
Promise
<
undefined
|
Uint8Array
>
Parameters
message
:
IMessage
Returns
Promise
<
undefined
|
Uint8Array
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
content
Topic
ephemeral
meta
Setter
sig
Priv
Key
sym
Key
to
Proto
Obj
to
Wire
Documentation
@waku/interfaces - v0.0.18
@waku/utils - v0.0.11
@waku/proto - v0.0.5
@waku/enr - v0.0.17
@waku/core - v0.0.23
@waku/relay - v0.0.6
@waku/message-hash - v0.1.7
@waku/peer-exchange - v0.0.16
@waku/dns-discovery - v0.0.17
@waku/message-encryption - v0.0.21
@waku/sdk - v0.0.19
@waku/browser-tests
Generated using
TypeDoc