Preparing search index...
The search index is not available
js-waku
js-waku
index
enr
Secp256k1Keypair
Class Secp256k1Keypair
Hierarchy
Secp256k1Keypair
Implements
IKeypair
Index
Constructors
constructor
Properties
_private
Key?
_public
Key?
type
Accessors
private
Key
public
Key
Methods
has
Private
Key
private
Key
Verify
public
Key
Verify
generate
Constructors
constructor
new
Secp256k1
Keypair
(
privateKey
?:
Uint8Array
, publicKey
?:
Uint8Array
)
:
Secp256k1Keypair
Parameters
Optional
privateKey:
Uint8Array
Optional
publicKey:
Uint8Array
Returns
Secp256k1Keypair
Properties
Optional
_private
Key
_private
Key
?:
Uint8Array
Optional
Readonly
_public
Key
_public
Key
?:
Uint8Array
Readonly
type
type
:
KeypairType
Accessors
private
Key
get
privateKey
(
)
:
Uint8Array
Returns
Uint8Array
public
Key
get
publicKey
(
)
:
Uint8Array
Returns
Uint8Array
Methods
has
Private
Key
has
Private
Key
(
)
:
boolean
Returns
boolean
private
Key
Verify
private
Key
Verify
(
key
?:
undefined
|
Uint8Array
)
:
boolean
Parameters
key:
undefined
|
Uint8Array
= ...
Returns
boolean
public
Key
Verify
public
Key
Verify
(
key
?:
undefined
|
Uint8Array
)
:
boolean
Parameters
key:
undefined
|
Uint8Array
= ...
Returns
boolean
Static
generate
generate
(
)
:
Promise
<
Secp256k1Keypair
>
Returns
Promise
<
Secp256k1Keypair
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
js-
waku
index
enr
proto_
message
Rate
Limit
Proof
Waku
Message
proto_
topic_
only_
message
Topic
Only
Message
utils
waku
waku_
filter
waku_
light_
push
Push
Response
waku_
relay
waku_
store
lib/create_
waku
lib/interfaces
lib/peer_
discovery_
static_
list
lib/predefined_
bootstrap_
nodes
lib/wait_
for_
remote_
peer
lib/waku_
message/topic_
only_
message
lib/waku_
message/version_
0
lib/waku_
message/version_
1
Secp256k1
Keypair
constructor
_private
Key?
_public
Key?
type
private
Key
public
Key
has
Private
Key
private
Key
Verify
public
Key
Verify
generate
Generated using
TypeDoc