Preparing search index...
The search index is not available
Documentation
Documentation
@waku/message-encryption
ecies
Encoder
Class Encoder
Hierarchy
Encoder
Implements
IEncoder
Index
Constructors
constructor
Properties
content
Topic
ephemeral
meta
Setter?
pub
Sub
Topic
public
Key
sig
Priv
Key?
Methods
to
Proto
Obj
to
Wire
Constructors
constructor
new
Encoder
(
pubSubTopic
,
contentTopic
,
publicKey
,
sigPrivKey
?
,
ephemeral
?
,
metaSetter
?
)
:
ecies
.
Encoder
Parameters
pubSubTopic
:
string
contentTopic
:
string
publicKey
:
Uint8Array
Optional
sigPrivKey
:
Uint8Array
ephemeral
:
boolean
= false
Optional
metaSetter
:
IMetaSetter
Returns
ecies
.
Encoder
Properties
content
Topic
content
Topic
:
string
ephemeral
ephemeral
:
boolean
= false
Optional
meta
Setter
meta
Setter
?:
IMetaSetter
pub
Sub
Topic
pub
Sub
Topic
:
string
Private
public
Key
public
Key
:
Uint8Array
Private
Optional
sig
Priv
Key
sig
Priv
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
pub
Sub
Topic
public
Key
sig
Priv
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