Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
PublicKey
Class PublicKey
Hierarchy
UnsignedPublicKey
PublicKey
Implements
PublicKey
Index
Constructors
constructor
Properties
created
Ns
secp256k1
Uncompressed
signature?
Accessors
timestamp
Methods
bytes
To
Sign
equals
generated
get
Ethereum
Address
is
From
Legacy
Key
sign
With
Wallet
to
Bytes
verify
verify
Key
wallet
Signature
Address
from
Bytes
Constructors
constructor
new
Public
Key
(
obj
)
:
PublicKey
Parameters
obj
:
PublicKey
Returns
PublicKey
Properties
created
Ns
created
Ns
:
Long
secp256k1
Uncompressed
secp256k1
Uncompressed
:
secp256k1Uncompressed
Optional
signature
signature
?:
Signature
Accessors
timestamp
get
timestamp
(
)
:
Long
Returns
Long
Methods
bytes
To
Sign
bytes
To
Sign
(
)
:
Uint8Array
Returns
Uint8Array
equals
equals
(
other
)
:
boolean
Parameters
other
:
PublicKey
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
sign
With
Wallet
sign
With
Wallet
(
wallet
)
:
Promise
<
void
>
Parameters
wallet
:
Signer
Returns
Promise
<
void
>
to
Bytes
to
Bytes
(
)
:
Uint8Array
Returns
Uint8Array
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
(
)
:
string
Returns
string
Static
from
Bytes
from
Bytes
(
bytes
)
:
PublicKey
Parameters
bytes
:
Uint8Array
Returns
PublicKey
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
created
Ns
secp256k1
Uncompressed
signature
timestamp
bytes
To
Sign
equals
generated
get
Ethereum
Address
is
From
Legacy
Key
sign
With
Wallet
to
Bytes
verify
verify
Key
wallet
Signature
Address
from
Bytes
@xmtp/xmtp-js
AuthCache
BrowserStoragePersistence
Ciphertext
Client
CompositeCodec
ConsentListEntry
ContentTypeId
ConversationV1
ConversationV2
Conversations
DecodedMessage
EncryptedPersistence
HttpApiClient
InMemoryKeystore
InMemoryPersistence
KeyGeneratorKeystoreProvider
LocalAuthenticator
MessageV1
MessageV2
NetworkKeystoreProvider
PrefixedPersistence
Loading...
Generated using
TypeDoc