Preparing search index...
The search index is not available
@xmtp/xmtp-js
@xmtp/xmtp-js
PrivateKeyBundleV2
Class PrivateKeyBundleV2
Hierarchy
PrivateKeyBundleV2
Implements
PrivateKeyBundleV2
Index
Constructors
constructor
Properties
identity
Key
pre
Keys
version
Methods
add
Pre
Key
encode
equals
find
Pre
Key
get
Current
Pre
Key
get
Public
Key
Bundle
shared
Secret
validate
Public
Keys
from
Legacy
Bundle
generate
Constructors
constructor
new
Private
Key
Bundle
V2
(
bundle
)
:
PrivateKeyBundleV2
Parameters
bundle
:
PrivateKeyBundleV2
Returns
PrivateKeyBundleV2
Properties
identity
Key
identity
Key
:
SignedPrivateKey
pre
Keys
pre
Keys
:
SignedPrivateKey
[]
version
version
:
number
= 2
Methods
add
Pre
Key
add
Pre
Key
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
encode
encode
(
)
:
Uint8Array
Returns
Uint8Array
equals
equals
(
other
)
:
boolean
Parameters
other
:
PrivateKeyBundleV2
Returns
boolean
find
Pre
Key
find
Pre
Key
(
which
)
:
SignedPrivateKey
Parameters
which
:
SignedPublicKey
Returns
SignedPrivateKey
get
Current
Pre
Key
get
Current
Pre
Key
(
)
:
SignedPrivateKey
Returns
SignedPrivateKey
get
Public
Key
Bundle
get
Public
Key
Bundle
(
)
:
SignedPublicKeyBundle
Returns
SignedPublicKeyBundle
shared
Secret
shared
Secret
(
peer
,
myPreKey
,
isRecipient
)
:
Promise
<
Uint8Array
>
Parameters
peer
:
SignedPublicKeyBundle
myPreKey
:
SignedPublicKey
isRecipient
:
boolean
Returns
Promise
<
Uint8Array
>
validate
Public
Keys
validate
Public
Keys
(
)
:
boolean
Returns
boolean
Static
from
Legacy
Bundle
from
Legacy
Bundle
(
bundle
)
:
PrivateKeyBundleV2
Parameters
bundle
:
PrivateKeyBundleV1
Returns
PrivateKeyBundleV2
Static
generate
generate
(
wallet
)
:
Promise
<
PrivateKeyBundleV2
>
Parameters
wallet
:
Signer
Returns
Promise
<
PrivateKeyBundleV2
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
identity
Key
pre
Keys
version
add
Pre
Key
encode
equals
find
Pre
Key
get
Current
Pre
Key
get
Public
Key
Bundle
shared
Secret
validate
Public
Keys
from
Legacy
Bundle
generate
@xmtp/xmtp-js
AuthCache
BrowserStoragePersistence
Ciphertext
Client
CompositeCodec
ContentTypeId
ConversationV1
ConversationV2
Conversations
DecodedMessage
EncryptedPersistence
HttpApiClient
InMemoryKeystore
InMemoryPersistence
KeyGeneratorKeystoreProvider
LocalAuthenticator
MessageV1
MessageV2
NetworkKeystoreProvider
PrefixedPersistence
PrivateKey
Loading...
Generated using
TypeDoc