Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
SignedPublicKey
Class SignedPublicKey
Hierarchy
UnsignedPublicKey
SignedPublicKey
Implements
SignedPublicKey
Index
Constructors
constructor
Properties
created
Ns
key
Bytes
secp256k1
Uncompressed
signature
Accessors
timestamp
unsigned
Key
Methods
bytes
To
Sign
equals
generated
get
Ethereum
Address
is
From
Legacy
Key
signer
Key
to
Bytes
to
Legacy
Key
verify
verify
Key
wallet
Signature
Address
from
Bytes
from
Legacy
Key
Constructors
constructor
new
Signed
Public
Key
(
obj
)
:
SignedPublicKey
Parameters
obj
:
SignedPublicKey
Returns
SignedPublicKey
Properties
created
Ns
created
Ns
:
Long
key
Bytes
key
Bytes
:
Uint8Array
embeds an UnsignedPublicKey
secp256k1
Uncompressed
secp256k1
Uncompressed
:
secp256k1Uncompressed
signature
signature
:
Signature
signs key_bytes
Accessors
timestamp
get
timestamp
(
)
:
Long
Returns
Long
unsigned
Key
get
unsignedKey
(
)
:
UnsignedPublicKey
Returns
UnsignedPublicKey
Methods
bytes
To
Sign
bytes
To
Sign
(
)
:
Uint8Array
Returns
Uint8Array
equals
equals
(
other
)
:
boolean
Parameters
other
:
this
Returns
boolean
generated
generated
(
)
:
undefined
|
Date
Returns
undefined
|
Date
get
Ethereum
Address
get
Ethereum
Address
(
)
:
string
Returns
string
is
From
Legacy
Key
is
From
Legacy
Key
(
)
:
boolean
Returns
boolean
signer
Key
signer
Key
(
)
:
Promise
<
undefined
|
UnsignedPublicKey
>
Returns
Promise
<
undefined
|
UnsignedPublicKey
>
to
Bytes
to
Bytes
(
)
:
Uint8Array
Returns
Uint8Array
to
Legacy
Key
to
Legacy
Key
(
)
:
PublicKey
Returns
PublicKey
verify
verify
(
signature
,
digest
)
:
boolean
Parameters
signature
:
Signature
digest
:
Uint8Array
Returns
boolean
verify
Key
verify
Key
(
pub
)
:
Promise
<
boolean
>
Parameters
pub
:
SignedPublicKey
|
PublicKey
Returns
Promise
<
boolean
>
wallet
Signature
Address
wallet
Signature
Address
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Static
from
Bytes
from
Bytes
(
bytes
)
:
SignedPublicKey
Parameters
bytes
:
Uint8Array
Returns
SignedPublicKey
Static
from
Legacy
Key
from
Legacy
Key
(
legacyKey
,
signedByWallet
?
)
:
SignedPublicKey
Parameters
legacyKey
:
PublicKey
Optional
signedByWallet
:
boolean
Returns
SignedPublicKey
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
created
Ns
key
Bytes
secp256k1
Uncompressed
signature
Accessors
timestamp
unsigned
Key
Methods
bytes
To
Sign
equals
generated
get
Ethereum
Address
is
From
Legacy
Key
signer
Key
to
Bytes
to
Legacy
Key
verify
verify
Key
wallet
Signature
Address
from
Bytes
from
Legacy
Key
@xmtp/xmtp-js
Loading...
embeds an UnsignedPublicKey