Search
Preparing search index...
The search index is not available
js-waku
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
js-waku
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
>
Exports
discovery
enr
utils
waku
waku_
light_
push
waku_
message
waku_
relay
waku_
store
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