Documentation
¶
Index ¶
- Variables
- type CreateAuthTokenRequest
- func (*CreateAuthTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthTokenRequest) GetTimestampNs() uint64
- func (*CreateAuthTokenRequest) ProtoMessage()
- func (x *CreateAuthTokenRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAuthTokenRequest) Reset()
- func (x *CreateAuthTokenRequest) String() string
- type CreateInviteRequest
- func (*CreateInviteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInviteRequest) GetContext() *message_contents.InvitationV1_Context
- func (x *CreateInviteRequest) GetCreatedNs() uint64
- func (x *CreateInviteRequest) GetRecipient() *message_contents.SignedPublicKeyBundle
- func (*CreateInviteRequest) ProtoMessage()
- func (x *CreateInviteRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInviteRequest) Reset()
- func (x *CreateInviteRequest) String() string
- type CreateInviteResponse
- func (*CreateInviteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInviteResponse) GetConversation() *message_contents.ConversationReference
- func (x *CreateInviteResponse) GetPayload() []byte
- func (*CreateInviteResponse) ProtoMessage()
- func (x *CreateInviteResponse) ProtoReflect() protoreflect.Message
- func (x *CreateInviteResponse) Reset()
- func (x *CreateInviteResponse) String() string
- type DecryptResponse
- func (*DecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptResponse) GetResponses() []*DecryptResponse_Response
- func (*DecryptResponse) ProtoMessage()
- func (x *DecryptResponse) ProtoReflect() protoreflect.Message
- func (x *DecryptResponse) Reset()
- func (x *DecryptResponse) String() string
- type DecryptResponse_Response
- func (*DecryptResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptResponse_Response) GetError() *KeystoreError
- func (m *DecryptResponse_Response) GetResponse() isDecryptResponse_Response_Response
- func (x *DecryptResponse_Response) GetResult() *DecryptResponse_Response_Success
- func (*DecryptResponse_Response) ProtoMessage()
- func (x *DecryptResponse_Response) ProtoReflect() protoreflect.Message
- func (x *DecryptResponse_Response) Reset()
- func (x *DecryptResponse_Response) String() string
- type DecryptResponse_Response_Error
- type DecryptResponse_Response_Result
- type DecryptResponse_Response_Success
- func (*DecryptResponse_Response_Success) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptResponse_Response_Success) GetDecrypted() []byte
- func (*DecryptResponse_Response_Success) ProtoMessage()
- func (x *DecryptResponse_Response_Success) ProtoReflect() protoreflect.Message
- func (x *DecryptResponse_Response_Success) Reset()
- func (x *DecryptResponse_Response_Success) String() string
- type DecryptV1Request
- func (*DecryptV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptV1Request) GetRequests() []*DecryptV1Request_Request
- func (*DecryptV1Request) ProtoMessage()
- func (x *DecryptV1Request) ProtoReflect() protoreflect.Message
- func (x *DecryptV1Request) Reset()
- func (x *DecryptV1Request) String() string
- type DecryptV1Request_Request
- func (*DecryptV1Request_Request) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptV1Request_Request) GetHeaderBytes() []byte
- func (x *DecryptV1Request_Request) GetIsSender() bool
- func (x *DecryptV1Request_Request) GetPayload() *message_contents.Ciphertext
- func (x *DecryptV1Request_Request) GetPeerKeys() *message_contents.PublicKeyBundle
- func (*DecryptV1Request_Request) ProtoMessage()
- func (x *DecryptV1Request_Request) ProtoReflect() protoreflect.Message
- func (x *DecryptV1Request_Request) Reset()
- func (x *DecryptV1Request_Request) String() string
- type DecryptV2Request
- func (*DecryptV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptV2Request) GetRequests() []*DecryptV2Request_Request
- func (*DecryptV2Request) ProtoMessage()
- func (x *DecryptV2Request) ProtoReflect() protoreflect.Message
- func (x *DecryptV2Request) Reset()
- func (x *DecryptV2Request) String() string
- type DecryptV2Request_Request
- func (*DecryptV2Request_Request) Descriptor() ([]byte, []int)deprecated
- func (x *DecryptV2Request_Request) GetContentTopic() string
- func (x *DecryptV2Request_Request) GetHeaderBytes() []byte
- func (x *DecryptV2Request_Request) GetPayload() *message_contents.Ciphertext
- func (*DecryptV2Request_Request) ProtoMessage()
- func (x *DecryptV2Request_Request) ProtoReflect() protoreflect.Message
- func (x *DecryptV2Request_Request) Reset()
- func (x *DecryptV2Request_Request) String() string
- type EncryptResponse
- func (*EncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptResponse) GetResponses() []*EncryptResponse_Response
- func (*EncryptResponse) ProtoMessage()
- func (x *EncryptResponse) ProtoReflect() protoreflect.Message
- func (x *EncryptResponse) Reset()
- func (x *EncryptResponse) String() string
- type EncryptResponse_Response
- func (*EncryptResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptResponse_Response) GetError() *KeystoreError
- func (m *EncryptResponse_Response) GetResponse() isEncryptResponse_Response_Response
- func (x *EncryptResponse_Response) GetResult() *EncryptResponse_Response_Success
- func (*EncryptResponse_Response) ProtoMessage()
- func (x *EncryptResponse_Response) ProtoReflect() protoreflect.Message
- func (x *EncryptResponse_Response) Reset()
- func (x *EncryptResponse_Response) String() string
- type EncryptResponse_Response_Error
- type EncryptResponse_Response_Result
- type EncryptResponse_Response_Success
- func (*EncryptResponse_Response_Success) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptResponse_Response_Success) GetEncrypted() *message_contents.Ciphertext
- func (*EncryptResponse_Response_Success) ProtoMessage()
- func (x *EncryptResponse_Response_Success) ProtoReflect() protoreflect.Message
- func (x *EncryptResponse_Response_Success) Reset()
- func (x *EncryptResponse_Response_Success) String() string
- type EncryptV1Request
- func (*EncryptV1Request) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptV1Request) GetRequests() []*EncryptV1Request_Request
- func (*EncryptV1Request) ProtoMessage()
- func (x *EncryptV1Request) ProtoReflect() protoreflect.Message
- func (x *EncryptV1Request) Reset()
- func (x *EncryptV1Request) String() string
- type EncryptV1Request_Request
- func (*EncryptV1Request_Request) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptV1Request_Request) GetHeaderBytes() []byte
- func (x *EncryptV1Request_Request) GetPayload() []byte
- func (x *EncryptV1Request_Request) GetRecipient() *message_contents.PublicKeyBundle
- func (*EncryptV1Request_Request) ProtoMessage()
- func (x *EncryptV1Request_Request) ProtoReflect() protoreflect.Message
- func (x *EncryptV1Request_Request) Reset()
- func (x *EncryptV1Request_Request) String() string
- type EncryptV2Request
- func (*EncryptV2Request) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptV2Request) GetRequests() []*EncryptV2Request_Request
- func (*EncryptV2Request) ProtoMessage()
- func (x *EncryptV2Request) ProtoReflect() protoreflect.Message
- func (x *EncryptV2Request) Reset()
- func (x *EncryptV2Request) String() string
- type EncryptV2Request_Request
- func (*EncryptV2Request_Request) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptV2Request_Request) GetContentTopic() string
- func (x *EncryptV2Request_Request) GetHeaderBytes() []byte
- func (x *EncryptV2Request_Request) GetPayload() []byte
- func (*EncryptV2Request_Request) ProtoMessage()
- func (x *EncryptV2Request_Request) ProtoReflect() protoreflect.Message
- func (x *EncryptV2Request_Request) Reset()
- func (x *EncryptV2Request_Request) String() string
- type ErrorCode
- type GetConversationsResponse
- func (*GetConversationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationsResponse) GetConversations() []*message_contents.ConversationReference
- func (*GetConversationsResponse) ProtoMessage()
- func (x *GetConversationsResponse) ProtoReflect() protoreflect.Message
- func (x *GetConversationsResponse) Reset()
- func (x *GetConversationsResponse) String() string
- type GetKeystoreStatusRequest
- func (*GetKeystoreStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeystoreStatusRequest) GetWalletAddress() string
- func (*GetKeystoreStatusRequest) ProtoMessage()
- func (x *GetKeystoreStatusRequest) ProtoReflect() protoreflect.Message
- func (x *GetKeystoreStatusRequest) Reset()
- func (x *GetKeystoreStatusRequest) String() string
- type GetKeystoreStatusResponse
- func (*GetKeystoreStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetKeystoreStatusResponse) GetStatus() GetKeystoreStatusResponse_KeystoreStatus
- func (*GetKeystoreStatusResponse) ProtoMessage()
- func (x *GetKeystoreStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetKeystoreStatusResponse) Reset()
- func (x *GetKeystoreStatusResponse) String() string
- type GetKeystoreStatusResponse_KeystoreStatus
- func (GetKeystoreStatusResponse_KeystoreStatus) Descriptor() protoreflect.EnumDescriptor
- func (x GetKeystoreStatusResponse_KeystoreStatus) Enum() *GetKeystoreStatusResponse_KeystoreStatus
- func (GetKeystoreStatusResponse_KeystoreStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetKeystoreStatusResponse_KeystoreStatus) Number() protoreflect.EnumNumber
- func (x GetKeystoreStatusResponse_KeystoreStatus) String() string
- func (GetKeystoreStatusResponse_KeystoreStatus) Type() protoreflect.EnumType
- type GetPrivatePreferencesTopicIdentifierResponse
- func (*GetPrivatePreferencesTopicIdentifierResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPrivatePreferencesTopicIdentifierResponse) GetIdentifier() string
- func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoMessage()
- func (x *GetPrivatePreferencesTopicIdentifierResponse) ProtoReflect() protoreflect.Message
- func (x *GetPrivatePreferencesTopicIdentifierResponse) Reset()
- func (x *GetPrivatePreferencesTopicIdentifierResponse) String() string
- type GetRefreshJobRequest
- func (*GetRefreshJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshJobRequest) GetJobType() JobType
- func (*GetRefreshJobRequest) ProtoMessage()
- func (x *GetRefreshJobRequest) ProtoReflect() protoreflect.Message
- func (x *GetRefreshJobRequest) Reset()
- func (x *GetRefreshJobRequest) String() string
- type GetRefreshJobResponse
- func (*GetRefreshJobResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshJobResponse) GetLastRunNs() int64
- func (*GetRefreshJobResponse) ProtoMessage()
- func (x *GetRefreshJobResponse) ProtoReflect() protoreflect.Message
- func (x *GetRefreshJobResponse) Reset()
- func (x *GetRefreshJobResponse) String() string
- type InitKeystoreRequest
- func (*InitKeystoreRequest) Descriptor() ([]byte, []int)deprecated
- func (m *InitKeystoreRequest) GetBundle() isInitKeystoreRequest_Bundle
- func (x *InitKeystoreRequest) GetV1() *message_contents.PrivateKeyBundleV1
- func (*InitKeystoreRequest) ProtoMessage()
- func (x *InitKeystoreRequest) ProtoReflect() protoreflect.Message
- func (x *InitKeystoreRequest) Reset()
- func (x *InitKeystoreRequest) String() string
- type InitKeystoreRequest_V1
- type InitKeystoreResponse
- func (*InitKeystoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitKeystoreResponse) GetError() *KeystoreError
- func (*InitKeystoreResponse) ProtoMessage()
- func (x *InitKeystoreResponse) ProtoReflect() protoreflect.Message
- func (x *InitKeystoreResponse) Reset()
- func (x *InitKeystoreResponse) String() string
- type JobType
- type KeystoreError
- func (*KeystoreError) Descriptor() ([]byte, []int)deprecated
- func (x *KeystoreError) GetCode() ErrorCode
- func (x *KeystoreError) GetMessage() string
- func (*KeystoreError) ProtoMessage()
- func (x *KeystoreError) ProtoReflect() protoreflect.Message
- func (x *KeystoreError) Reset()
- func (x *KeystoreError) String() string
- type SaveInvitesRequest
- func (*SaveInvitesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveInvitesRequest) GetRequests() []*SaveInvitesRequest_Request
- func (*SaveInvitesRequest) ProtoMessage()
- func (x *SaveInvitesRequest) ProtoReflect() protoreflect.Message
- func (x *SaveInvitesRequest) Reset()
- func (x *SaveInvitesRequest) String() string
- type SaveInvitesRequest_Request
- func (*SaveInvitesRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *SaveInvitesRequest_Request) GetContentTopic() string
- func (x *SaveInvitesRequest_Request) GetPayload() []byte
- func (x *SaveInvitesRequest_Request) GetTimestampNs() uint64
- func (*SaveInvitesRequest_Request) ProtoMessage()
- func (x *SaveInvitesRequest_Request) ProtoReflect() protoreflect.Message
- func (x *SaveInvitesRequest_Request) Reset()
- func (x *SaveInvitesRequest_Request) String() string
- type SaveInvitesResponse
- func (*SaveInvitesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SaveInvitesResponse) GetResponses() []*SaveInvitesResponse_Response
- func (*SaveInvitesResponse) ProtoMessage()
- func (x *SaveInvitesResponse) ProtoReflect() protoreflect.Message
- func (x *SaveInvitesResponse) Reset()
- func (x *SaveInvitesResponse) String() string
- type SaveInvitesResponse_Response
- func (*SaveInvitesResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *SaveInvitesResponse_Response) GetError() *KeystoreError
- func (m *SaveInvitesResponse_Response) GetResponse() isSaveInvitesResponse_Response_Response
- func (x *SaveInvitesResponse_Response) GetResult() *SaveInvitesResponse_Response_Success
- func (*SaveInvitesResponse_Response) ProtoMessage()
- func (x *SaveInvitesResponse_Response) ProtoReflect() protoreflect.Message
- func (x *SaveInvitesResponse_Response) Reset()
- func (x *SaveInvitesResponse_Response) String() string
- type SaveInvitesResponse_Response_Error
- type SaveInvitesResponse_Response_Result
- type SaveInvitesResponse_Response_Success
- func (*SaveInvitesResponse_Response_Success) Descriptor() ([]byte, []int)deprecated
- func (x *SaveInvitesResponse_Response_Success) GetConversation() *message_contents.ConversationReference
- func (*SaveInvitesResponse_Response_Success) ProtoMessage()
- func (x *SaveInvitesResponse_Response_Success) ProtoReflect() protoreflect.Message
- func (x *SaveInvitesResponse_Response_Success) Reset()
- func (x *SaveInvitesResponse_Response_Success) String() string
- type SaveV1ConversationsRequest
- func (*SaveV1ConversationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveV1ConversationsRequest) GetConversations() []*message_contents.ConversationReference
- func (*SaveV1ConversationsRequest) ProtoMessage()
- func (x *SaveV1ConversationsRequest) ProtoReflect() protoreflect.Message
- func (x *SaveV1ConversationsRequest) Reset()
- func (x *SaveV1ConversationsRequest) String() string
- type SaveV1ConversationsResponse
- type SelfDecryptRequest
- func (*SelfDecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelfDecryptRequest) GetRequests() []*SelfDecryptRequest_Request
- func (*SelfDecryptRequest) ProtoMessage()
- func (x *SelfDecryptRequest) ProtoReflect() protoreflect.Message
- func (x *SelfDecryptRequest) Reset()
- func (x *SelfDecryptRequest) String() string
- type SelfDecryptRequest_Request
- func (*SelfDecryptRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *SelfDecryptRequest_Request) GetPayload() []byte
- func (*SelfDecryptRequest_Request) ProtoMessage()
- func (x *SelfDecryptRequest_Request) ProtoReflect() protoreflect.Message
- func (x *SelfDecryptRequest_Request) Reset()
- func (x *SelfDecryptRequest_Request) String() string
- type SelfEncryptRequest
- func (*SelfEncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SelfEncryptRequest) GetRequests() []*SelfEncryptRequest_Request
- func (*SelfEncryptRequest) ProtoMessage()
- func (x *SelfEncryptRequest) ProtoReflect() protoreflect.Message
- func (x *SelfEncryptRequest) Reset()
- func (x *SelfEncryptRequest) String() string
- type SelfEncryptRequest_Request
- func (*SelfEncryptRequest_Request) Descriptor() ([]byte, []int)deprecated
- func (x *SelfEncryptRequest_Request) GetPayload() []byte
- func (*SelfEncryptRequest_Request) ProtoMessage()
- func (x *SelfEncryptRequest_Request) ProtoReflect() protoreflect.Message
- func (x *SelfEncryptRequest_Request) Reset()
- func (x *SelfEncryptRequest_Request) String() string
- type SelfEncryptResponse
- func (*SelfEncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SelfEncryptResponse) GetResponses() []*SelfEncryptResponse_Response
- func (*SelfEncryptResponse) ProtoMessage()
- func (x *SelfEncryptResponse) ProtoReflect() protoreflect.Message
- func (x *SelfEncryptResponse) Reset()
- func (x *SelfEncryptResponse) String() string
- type SelfEncryptResponse_Response
- func (*SelfEncryptResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *SelfEncryptResponse_Response) GetError() *KeystoreError
- func (m *SelfEncryptResponse_Response) GetResponse() isSelfEncryptResponse_Response_Response
- func (x *SelfEncryptResponse_Response) GetResult() *SelfEncryptResponse_Response_Success
- func (*SelfEncryptResponse_Response) ProtoMessage()
- func (x *SelfEncryptResponse_Response) ProtoReflect() protoreflect.Message
- func (x *SelfEncryptResponse_Response) Reset()
- func (x *SelfEncryptResponse_Response) String() string
- type SelfEncryptResponse_Response_Error
- type SelfEncryptResponse_Response_Result
- type SelfEncryptResponse_Response_Success
- func (*SelfEncryptResponse_Response_Success) Descriptor() ([]byte, []int)deprecated
- func (x *SelfEncryptResponse_Response_Success) GetEncrypted() []byte
- func (*SelfEncryptResponse_Response_Success) ProtoMessage()
- func (x *SelfEncryptResponse_Response_Success) ProtoReflect() protoreflect.Message
- func (x *SelfEncryptResponse_Response_Success) Reset()
- func (x *SelfEncryptResponse_Response_Success) String() string
- type SetRefeshJobRequest
- func (*SetRefeshJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetRefeshJobRequest) GetJobType() JobType
- func (x *SetRefeshJobRequest) GetLastRunNs() int64
- func (*SetRefeshJobRequest) ProtoMessage()
- func (x *SetRefeshJobRequest) ProtoReflect() protoreflect.Message
- func (x *SetRefeshJobRequest) Reset()
- func (x *SetRefeshJobRequest) String() string
- type SetRefreshJobResponse
- type SignDigestRequest
- func (*SignDigestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignDigestRequest) GetDigest() []byte
- func (x *SignDigestRequest) GetIdentityKey() bool
- func (x *SignDigestRequest) GetPrekeyIndex() uint32
- func (m *SignDigestRequest) GetSigner() isSignDigestRequest_Signer
- func (*SignDigestRequest) ProtoMessage()
- func (x *SignDigestRequest) ProtoReflect() protoreflect.Message
- func (x *SignDigestRequest) Reset()
- func (x *SignDigestRequest) String() string
- type SignDigestRequest_IdentityKey
- type SignDigestRequest_PrekeyIndex
- type TopicMap
- type TopicMap_TopicData
- func (*TopicMap_TopicData) Descriptor() ([]byte, []int)deprecated
- func (x *TopicMap_TopicData) GetCreatedNs() uint64
- func (x *TopicMap_TopicData) GetInvitation() *message_contents.InvitationV1
- func (x *TopicMap_TopicData) GetPeerAddress() string
- func (*TopicMap_TopicData) ProtoMessage()
- func (x *TopicMap_TopicData) ProtoReflect() protoreflect.Message
- func (x *TopicMap_TopicData) Reset()
- func (x *TopicMap_TopicData) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "ERROR_CODE_INVALID_INPUT", 2: "ERROR_CODE_NO_MATCHING_PREKEY", } ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "ERROR_CODE_INVALID_INPUT": 1, "ERROR_CODE_NO_MATCHING_PREKEY": 2, } )
Enum value maps for ErrorCode.
var ( JobType_name = map[int32]string{ 0: "JOB_TYPE_UNSPECIFIED", 1: "JOB_TYPE_REFRESH_V1", 2: "JOB_TYPE_REFRESH_V2", 3: "JOB_TYPE_REFRESH_PPPP", } JobType_value = map[string]int32{ "JOB_TYPE_UNSPECIFIED": 0, "JOB_TYPE_REFRESH_V1": 1, "JOB_TYPE_REFRESH_V2": 2, "JOB_TYPE_REFRESH_PPPP": 3, } )
Enum value maps for JobType.
var ( GetKeystoreStatusResponse_KeystoreStatus_name = map[int32]string{ 0: "KEYSTORE_STATUS_UNSPECIFIED", 1: "KEYSTORE_STATUS_UNINITIALIZED", 2: "KEYSTORE_STATUS_INITIALIZED", } GetKeystoreStatusResponse_KeystoreStatus_value = map[string]int32{ "KEYSTORE_STATUS_UNSPECIFIED": 0, "KEYSTORE_STATUS_UNINITIALIZED": 1, "KEYSTORE_STATUS_INITIALIZED": 2, } )
Enum value maps for GetKeystoreStatusResponse_KeystoreStatus.
var File_keystore_api_v1_keystore_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateAuthTokenRequest ¶
type CreateAuthTokenRequest struct { TimestampNs *uint64 `protobuf:"varint,1,opt,name=timestamp_ns,json=timestampNs,proto3,oneof" json:"timestamp_ns,omitempty"` // contains filtered or unexported fields }
CreateAuthTokenRequest is used to create an auth token for the XMTP API
func (*CreateAuthTokenRequest) Descriptor
deprecated
func (*CreateAuthTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthTokenRequest.ProtoReflect.Descriptor instead.
func (*CreateAuthTokenRequest) GetTimestampNs ¶
func (x *CreateAuthTokenRequest) GetTimestampNs() uint64
func (*CreateAuthTokenRequest) ProtoMessage ¶
func (*CreateAuthTokenRequest) ProtoMessage()
func (*CreateAuthTokenRequest) ProtoReflect ¶
func (x *CreateAuthTokenRequest) ProtoReflect() protoreflect.Message
func (*CreateAuthTokenRequest) Reset ¶
func (x *CreateAuthTokenRequest) Reset()
func (*CreateAuthTokenRequest) String ¶
func (x *CreateAuthTokenRequest) String() string
type CreateInviteRequest ¶
type CreateInviteRequest struct { Context *message_contents.InvitationV1_Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` Recipient *message_contents.SignedPublicKeyBundle `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"` CreatedNs uint64 `protobuf:"varint,3,opt,name=created_ns,json=createdNs,proto3" json:"created_ns,omitempty"` // contains filtered or unexported fields }
Request to create an invite payload, and store the topic keys in the Keystore
func (*CreateInviteRequest) Descriptor
deprecated
func (*CreateInviteRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInviteRequest.ProtoReflect.Descriptor instead.
func (*CreateInviteRequest) GetContext ¶
func (x *CreateInviteRequest) GetContext() *message_contents.InvitationV1_Context
func (*CreateInviteRequest) GetCreatedNs ¶
func (x *CreateInviteRequest) GetCreatedNs() uint64
func (*CreateInviteRequest) GetRecipient ¶
func (x *CreateInviteRequest) GetRecipient() *message_contents.SignedPublicKeyBundle
func (*CreateInviteRequest) ProtoMessage ¶
func (*CreateInviteRequest) ProtoMessage()
func (*CreateInviteRequest) ProtoReflect ¶
func (x *CreateInviteRequest) ProtoReflect() protoreflect.Message
func (*CreateInviteRequest) Reset ¶
func (x *CreateInviteRequest) Reset()
func (*CreateInviteRequest) String ¶
func (x *CreateInviteRequest) String() string
type CreateInviteResponse ¶
type CreateInviteResponse struct { Conversation *message_contents.ConversationReference `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Response to a CreateInviteRequest
func (*CreateInviteResponse) Descriptor
deprecated
func (*CreateInviteResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateInviteResponse.ProtoReflect.Descriptor instead.
func (*CreateInviteResponse) GetConversation ¶
func (x *CreateInviteResponse) GetConversation() *message_contents.ConversationReference
func (*CreateInviteResponse) GetPayload ¶
func (x *CreateInviteResponse) GetPayload() []byte
func (*CreateInviteResponse) ProtoMessage ¶
func (*CreateInviteResponse) ProtoMessage()
func (*CreateInviteResponse) ProtoReflect ¶
func (x *CreateInviteResponse) ProtoReflect() protoreflect.Message
func (*CreateInviteResponse) Reset ¶
func (x *CreateInviteResponse) Reset()
func (*CreateInviteResponse) String ¶
func (x *CreateInviteResponse) String() string
type DecryptResponse ¶
type DecryptResponse struct { Responses []*DecryptResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response type for both V1 and V2 decryption requests
func (*DecryptResponse) Descriptor
deprecated
func (*DecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use DecryptResponse.ProtoReflect.Descriptor instead.
func (*DecryptResponse) GetResponses ¶
func (x *DecryptResponse) GetResponses() []*DecryptResponse_Response
func (*DecryptResponse) ProtoMessage ¶
func (*DecryptResponse) ProtoMessage()
func (*DecryptResponse) ProtoReflect ¶
func (x *DecryptResponse) ProtoReflect() protoreflect.Message
func (*DecryptResponse) Reset ¶
func (x *DecryptResponse) Reset()
func (*DecryptResponse) String ¶
func (x *DecryptResponse) String() string
type DecryptResponse_Response ¶
type DecryptResponse_Response struct { // Types that are assignable to Response: // // *DecryptResponse_Response_Result // *DecryptResponse_Response_Error Response isDecryptResponse_Response_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
A single decryption response
func (*DecryptResponse_Response) Descriptor
deprecated
func (*DecryptResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use DecryptResponse_Response.ProtoReflect.Descriptor instead.
func (*DecryptResponse_Response) GetError ¶
func (x *DecryptResponse_Response) GetError() *KeystoreError
func (*DecryptResponse_Response) GetResponse ¶
func (m *DecryptResponse_Response) GetResponse() isDecryptResponse_Response_Response
func (*DecryptResponse_Response) GetResult ¶
func (x *DecryptResponse_Response) GetResult() *DecryptResponse_Response_Success
func (*DecryptResponse_Response) ProtoMessage ¶
func (*DecryptResponse_Response) ProtoMessage()
func (*DecryptResponse_Response) ProtoReflect ¶
func (x *DecryptResponse_Response) ProtoReflect() protoreflect.Message
func (*DecryptResponse_Response) Reset ¶
func (x *DecryptResponse_Response) Reset()
func (*DecryptResponse_Response) String ¶
func (x *DecryptResponse_Response) String() string
type DecryptResponse_Response_Error ¶
type DecryptResponse_Response_Error struct {
Error *KeystoreError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type DecryptResponse_Response_Result ¶
type DecryptResponse_Response_Result struct {
Result *DecryptResponse_Response_Success `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type DecryptResponse_Response_Success ¶
type DecryptResponse_Response_Success struct { Decrypted []byte `protobuf:"bytes,1,opt,name=decrypted,proto3" json:"decrypted,omitempty"` // contains filtered or unexported fields }
Wrapper object for success response
func (*DecryptResponse_Response_Success) Descriptor
deprecated
func (*DecryptResponse_Response_Success) Descriptor() ([]byte, []int)
Deprecated: Use DecryptResponse_Response_Success.ProtoReflect.Descriptor instead.
func (*DecryptResponse_Response_Success) GetDecrypted ¶
func (x *DecryptResponse_Response_Success) GetDecrypted() []byte
func (*DecryptResponse_Response_Success) ProtoMessage ¶
func (*DecryptResponse_Response_Success) ProtoMessage()
func (*DecryptResponse_Response_Success) ProtoReflect ¶
func (x *DecryptResponse_Response_Success) ProtoReflect() protoreflect.Message
func (*DecryptResponse_Response_Success) Reset ¶
func (x *DecryptResponse_Response_Success) Reset()
func (*DecryptResponse_Response_Success) String ¶
func (x *DecryptResponse_Response_Success) String() string
type DecryptV1Request ¶
type DecryptV1Request struct { Requests []*DecryptV1Request_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Decrypt a batch of messages using X3DH key agreement
func (*DecryptV1Request) Descriptor
deprecated
func (*DecryptV1Request) Descriptor() ([]byte, []int)
Deprecated: Use DecryptV1Request.ProtoReflect.Descriptor instead.
func (*DecryptV1Request) GetRequests ¶
func (x *DecryptV1Request) GetRequests() []*DecryptV1Request_Request
func (*DecryptV1Request) ProtoMessage ¶
func (*DecryptV1Request) ProtoMessage()
func (*DecryptV1Request) ProtoReflect ¶
func (x *DecryptV1Request) ProtoReflect() protoreflect.Message
func (*DecryptV1Request) Reset ¶
func (x *DecryptV1Request) Reset()
func (*DecryptV1Request) String ¶
func (x *DecryptV1Request) String() string
type DecryptV1Request_Request ¶
type DecryptV1Request_Request struct { Payload *message_contents.Ciphertext `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` PeerKeys *message_contents.PublicKeyBundle `protobuf:"bytes,2,opt,name=peer_keys,json=peerKeys,proto3" json:"peer_keys,omitempty"` HeaderBytes []byte `protobuf:"bytes,3,opt,name=header_bytes,json=headerBytes,proto3" json:"header_bytes,omitempty"` IsSender bool `protobuf:"varint,4,opt,name=is_sender,json=isSender,proto3" json:"is_sender,omitempty"` // contains filtered or unexported fields }
A single decryption request
func (*DecryptV1Request_Request) Descriptor
deprecated
func (*DecryptV1Request_Request) Descriptor() ([]byte, []int)
Deprecated: Use DecryptV1Request_Request.ProtoReflect.Descriptor instead.
func (*DecryptV1Request_Request) GetHeaderBytes ¶
func (x *DecryptV1Request_Request) GetHeaderBytes() []byte
func (*DecryptV1Request_Request) GetIsSender ¶
func (x *DecryptV1Request_Request) GetIsSender() bool
func (*DecryptV1Request_Request) GetPayload ¶
func (x *DecryptV1Request_Request) GetPayload() *message_contents.Ciphertext
func (*DecryptV1Request_Request) GetPeerKeys ¶
func (x *DecryptV1Request_Request) GetPeerKeys() *message_contents.PublicKeyBundle
func (*DecryptV1Request_Request) ProtoMessage ¶
func (*DecryptV1Request_Request) ProtoMessage()
func (*DecryptV1Request_Request) ProtoReflect ¶
func (x *DecryptV1Request_Request) ProtoReflect() protoreflect.Message
func (*DecryptV1Request_Request) Reset ¶
func (x *DecryptV1Request_Request) Reset()
func (*DecryptV1Request_Request) String ¶
func (x *DecryptV1Request_Request) String() string
type DecryptV2Request ¶
type DecryptV2Request struct { Requests []*DecryptV2Request_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Decrypt a batch of messages using the appropriate topic keys
func (*DecryptV2Request) Descriptor
deprecated
func (*DecryptV2Request) Descriptor() ([]byte, []int)
Deprecated: Use DecryptV2Request.ProtoReflect.Descriptor instead.
func (*DecryptV2Request) GetRequests ¶
func (x *DecryptV2Request) GetRequests() []*DecryptV2Request_Request
func (*DecryptV2Request) ProtoMessage ¶
func (*DecryptV2Request) ProtoMessage()
func (*DecryptV2Request) ProtoReflect ¶
func (x *DecryptV2Request) ProtoReflect() protoreflect.Message
func (*DecryptV2Request) Reset ¶
func (x *DecryptV2Request) Reset()
func (*DecryptV2Request) String ¶
func (x *DecryptV2Request) String() string
type DecryptV2Request_Request ¶
type DecryptV2Request_Request struct { Payload *message_contents.Ciphertext `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` HeaderBytes []byte `protobuf:"bytes,2,opt,name=header_bytes,json=headerBytes,proto3" json:"header_bytes,omitempty"` ContentTopic string `protobuf:"bytes,3,opt,name=content_topic,json=contentTopic,proto3" json:"content_topic,omitempty"` // contains filtered or unexported fields }
A single decryption request
func (*DecryptV2Request_Request) Descriptor
deprecated
func (*DecryptV2Request_Request) Descriptor() ([]byte, []int)
Deprecated: Use DecryptV2Request_Request.ProtoReflect.Descriptor instead.
func (*DecryptV2Request_Request) GetContentTopic ¶
func (x *DecryptV2Request_Request) GetContentTopic() string
func (*DecryptV2Request_Request) GetHeaderBytes ¶
func (x *DecryptV2Request_Request) GetHeaderBytes() []byte
func (*DecryptV2Request_Request) GetPayload ¶
func (x *DecryptV2Request_Request) GetPayload() *message_contents.Ciphertext
func (*DecryptV2Request_Request) ProtoMessage ¶
func (*DecryptV2Request_Request) ProtoMessage()
func (*DecryptV2Request_Request) ProtoReflect ¶
func (x *DecryptV2Request_Request) ProtoReflect() protoreflect.Message
func (*DecryptV2Request_Request) Reset ¶
func (x *DecryptV2Request_Request) Reset()
func (*DecryptV2Request_Request) String ¶
func (x *DecryptV2Request_Request) String() string
type EncryptResponse ¶
type EncryptResponse struct { Responses []*EncryptResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response type for both V1 and V2 encryption requests
func (*EncryptResponse) Descriptor
deprecated
func (*EncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use EncryptResponse.ProtoReflect.Descriptor instead.
func (*EncryptResponse) GetResponses ¶
func (x *EncryptResponse) GetResponses() []*EncryptResponse_Response
func (*EncryptResponse) ProtoMessage ¶
func (*EncryptResponse) ProtoMessage()
func (*EncryptResponse) ProtoReflect ¶
func (x *EncryptResponse) ProtoReflect() protoreflect.Message
func (*EncryptResponse) Reset ¶
func (x *EncryptResponse) Reset()
func (*EncryptResponse) String ¶
func (x *EncryptResponse) String() string
type EncryptResponse_Response ¶
type EncryptResponse_Response struct { // Types that are assignable to Response: // // *EncryptResponse_Response_Result // *EncryptResponse_Response_Error Response isEncryptResponse_Response_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
A single encryption response
func (*EncryptResponse_Response) Descriptor
deprecated
func (*EncryptResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use EncryptResponse_Response.ProtoReflect.Descriptor instead.
func (*EncryptResponse_Response) GetError ¶
func (x *EncryptResponse_Response) GetError() *KeystoreError
func (*EncryptResponse_Response) GetResponse ¶
func (m *EncryptResponse_Response) GetResponse() isEncryptResponse_Response_Response
func (*EncryptResponse_Response) GetResult ¶
func (x *EncryptResponse_Response) GetResult() *EncryptResponse_Response_Success
func (*EncryptResponse_Response) ProtoMessage ¶
func (*EncryptResponse_Response) ProtoMessage()
func (*EncryptResponse_Response) ProtoReflect ¶
func (x *EncryptResponse_Response) ProtoReflect() protoreflect.Message
func (*EncryptResponse_Response) Reset ¶
func (x *EncryptResponse_Response) Reset()
func (*EncryptResponse_Response) String ¶
func (x *EncryptResponse_Response) String() string
type EncryptResponse_Response_Error ¶
type EncryptResponse_Response_Error struct {
Error *KeystoreError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type EncryptResponse_Response_Result ¶
type EncryptResponse_Response_Result struct {
Result *EncryptResponse_Response_Success `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type EncryptResponse_Response_Success ¶
type EncryptResponse_Response_Success struct { Encrypted *message_contents.Ciphertext `protobuf:"bytes,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"` // contains filtered or unexported fields }
Wrapper object for success response
func (*EncryptResponse_Response_Success) Descriptor
deprecated
func (*EncryptResponse_Response_Success) Descriptor() ([]byte, []int)
Deprecated: Use EncryptResponse_Response_Success.ProtoReflect.Descriptor instead.
func (*EncryptResponse_Response_Success) GetEncrypted ¶
func (x *EncryptResponse_Response_Success) GetEncrypted() *message_contents.Ciphertext
func (*EncryptResponse_Response_Success) ProtoMessage ¶
func (*EncryptResponse_Response_Success) ProtoMessage()
func (*EncryptResponse_Response_Success) ProtoReflect ¶
func (x *EncryptResponse_Response_Success) ProtoReflect() protoreflect.Message
func (*EncryptResponse_Response_Success) Reset ¶
func (x *EncryptResponse_Response_Success) Reset()
func (*EncryptResponse_Response_Success) String ¶
func (x *EncryptResponse_Response_Success) String() string
type EncryptV1Request ¶
type EncryptV1Request struct { Requests []*EncryptV1Request_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Encrypt a batch of messages using X3DH key agreement
func (*EncryptV1Request) Descriptor
deprecated
func (*EncryptV1Request) Descriptor() ([]byte, []int)
Deprecated: Use EncryptV1Request.ProtoReflect.Descriptor instead.
func (*EncryptV1Request) GetRequests ¶
func (x *EncryptV1Request) GetRequests() []*EncryptV1Request_Request
func (*EncryptV1Request) ProtoMessage ¶
func (*EncryptV1Request) ProtoMessage()
func (*EncryptV1Request) ProtoReflect ¶
func (x *EncryptV1Request) ProtoReflect() protoreflect.Message
func (*EncryptV1Request) Reset ¶
func (x *EncryptV1Request) Reset()
func (*EncryptV1Request) String ¶
func (x *EncryptV1Request) String() string
type EncryptV1Request_Request ¶
type EncryptV1Request_Request struct { Recipient *message_contents.PublicKeyBundle `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` HeaderBytes []byte `protobuf:"bytes,3,opt,name=header_bytes,json=headerBytes,proto3" json:"header_bytes,omitempty"` // contains filtered or unexported fields }
A single encryption request
func (*EncryptV1Request_Request) Descriptor
deprecated
func (*EncryptV1Request_Request) Descriptor() ([]byte, []int)
Deprecated: Use EncryptV1Request_Request.ProtoReflect.Descriptor instead.
func (*EncryptV1Request_Request) GetHeaderBytes ¶
func (x *EncryptV1Request_Request) GetHeaderBytes() []byte
func (*EncryptV1Request_Request) GetPayload ¶
func (x *EncryptV1Request_Request) GetPayload() []byte
func (*EncryptV1Request_Request) GetRecipient ¶
func (x *EncryptV1Request_Request) GetRecipient() *message_contents.PublicKeyBundle
func (*EncryptV1Request_Request) ProtoMessage ¶
func (*EncryptV1Request_Request) ProtoMessage()
func (*EncryptV1Request_Request) ProtoReflect ¶
func (x *EncryptV1Request_Request) ProtoReflect() protoreflect.Message
func (*EncryptV1Request_Request) Reset ¶
func (x *EncryptV1Request_Request) Reset()
func (*EncryptV1Request_Request) String ¶
func (x *EncryptV1Request_Request) String() string
type EncryptV2Request ¶
type EncryptV2Request struct { Requests []*EncryptV2Request_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Encrypt a batch of messages using the appropriate topic keys
func (*EncryptV2Request) Descriptor
deprecated
func (*EncryptV2Request) Descriptor() ([]byte, []int)
Deprecated: Use EncryptV2Request.ProtoReflect.Descriptor instead.
func (*EncryptV2Request) GetRequests ¶
func (x *EncryptV2Request) GetRequests() []*EncryptV2Request_Request
func (*EncryptV2Request) ProtoMessage ¶
func (*EncryptV2Request) ProtoMessage()
func (*EncryptV2Request) ProtoReflect ¶
func (x *EncryptV2Request) ProtoReflect() protoreflect.Message
func (*EncryptV2Request) Reset ¶
func (x *EncryptV2Request) Reset()
func (*EncryptV2Request) String ¶
func (x *EncryptV2Request) String() string
type EncryptV2Request_Request ¶
type EncryptV2Request_Request struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` HeaderBytes []byte `protobuf:"bytes,2,opt,name=header_bytes,json=headerBytes,proto3" json:"header_bytes,omitempty"` ContentTopic string `protobuf:"bytes,3,opt,name=content_topic,json=contentTopic,proto3" json:"content_topic,omitempty"` // contains filtered or unexported fields }
A single encryption request
func (*EncryptV2Request_Request) Descriptor
deprecated
func (*EncryptV2Request_Request) Descriptor() ([]byte, []int)
Deprecated: Use EncryptV2Request_Request.ProtoReflect.Descriptor instead.
func (*EncryptV2Request_Request) GetContentTopic ¶
func (x *EncryptV2Request_Request) GetContentTopic() string
func (*EncryptV2Request_Request) GetHeaderBytes ¶
func (x *EncryptV2Request_Request) GetHeaderBytes() []byte
func (*EncryptV2Request_Request) GetPayload ¶
func (x *EncryptV2Request_Request) GetPayload() []byte
func (*EncryptV2Request_Request) ProtoMessage ¶
func (*EncryptV2Request_Request) ProtoMessage()
func (*EncryptV2Request_Request) ProtoReflect ¶
func (x *EncryptV2Request_Request) ProtoReflect() protoreflect.Message
func (*EncryptV2Request_Request) Reset ¶
func (x *EncryptV2Request_Request) Reset()
func (*EncryptV2Request_Request) String ¶
func (x *EncryptV2Request_Request) String() string
type ErrorCode ¶
type ErrorCode int32
Application-specific error codes for the Keystore API.
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
type GetConversationsResponse ¶ added in v3.29.0
type GetConversationsResponse struct { Conversations []*message_contents.ConversationReference `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"` // contains filtered or unexported fields }
Response for GetV2Conversations
func (*GetConversationsResponse) Descriptor
deprecated
added in
v3.29.0
func (*GetConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationsResponse.ProtoReflect.Descriptor instead.
func (*GetConversationsResponse) GetConversations ¶ added in v3.29.0
func (x *GetConversationsResponse) GetConversations() []*message_contents.ConversationReference
func (*GetConversationsResponse) ProtoMessage ¶ added in v3.29.0
func (*GetConversationsResponse) ProtoMessage()
func (*GetConversationsResponse) ProtoReflect ¶ added in v3.29.0
func (x *GetConversationsResponse) ProtoReflect() protoreflect.Message
func (*GetConversationsResponse) Reset ¶ added in v3.29.0
func (x *GetConversationsResponse) Reset()
func (*GetConversationsResponse) String ¶ added in v3.29.0
func (x *GetConversationsResponse) String() string
type GetKeystoreStatusRequest ¶ added in v3.26.0
type GetKeystoreStatusRequest struct { WalletAddress string `protobuf:"bytes,1,opt,name=wallet_address,json=walletAddress,proto3" json:"wallet_address,omitempty"` // contains filtered or unexported fields }
Used to check if the Keystore implementation has been setup for the given wallet address Only used for MM Snap Keystore currently
func (*GetKeystoreStatusRequest) Descriptor
deprecated
added in
v3.26.0
func (*GetKeystoreStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKeystoreStatusRequest.ProtoReflect.Descriptor instead.
func (*GetKeystoreStatusRequest) GetWalletAddress ¶ added in v3.26.0
func (x *GetKeystoreStatusRequest) GetWalletAddress() string
func (*GetKeystoreStatusRequest) ProtoMessage ¶ added in v3.26.0
func (*GetKeystoreStatusRequest) ProtoMessage()
func (*GetKeystoreStatusRequest) ProtoReflect ¶ added in v3.26.0
func (x *GetKeystoreStatusRequest) ProtoReflect() protoreflect.Message
func (*GetKeystoreStatusRequest) Reset ¶ added in v3.26.0
func (x *GetKeystoreStatusRequest) Reset()
func (*GetKeystoreStatusRequest) String ¶ added in v3.26.0
func (x *GetKeystoreStatusRequest) String() string
type GetKeystoreStatusResponse ¶ added in v3.26.0
type GetKeystoreStatusResponse struct { Status GetKeystoreStatusResponse_KeystoreStatus `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Response to GetKeystoreStatusRequest
func (*GetKeystoreStatusResponse) Descriptor
deprecated
added in
v3.26.0
func (*GetKeystoreStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeystoreStatusResponse.ProtoReflect.Descriptor instead.
func (*GetKeystoreStatusResponse) GetStatus ¶ added in v3.26.0
func (x *GetKeystoreStatusResponse) GetStatus() GetKeystoreStatusResponse_KeystoreStatus
func (*GetKeystoreStatusResponse) ProtoMessage ¶ added in v3.26.0
func (*GetKeystoreStatusResponse) ProtoMessage()
func (*GetKeystoreStatusResponse) ProtoReflect ¶ added in v3.26.0
func (x *GetKeystoreStatusResponse) ProtoReflect() protoreflect.Message
func (*GetKeystoreStatusResponse) Reset ¶ added in v3.26.0
func (x *GetKeystoreStatusResponse) Reset()
func (*GetKeystoreStatusResponse) String ¶ added in v3.26.0
func (x *GetKeystoreStatusResponse) String() string
type GetKeystoreStatusResponse_KeystoreStatus ¶ added in v3.26.0
type GetKeystoreStatusResponse_KeystoreStatus int32
Status of the Keystore for the specified wallet address
const ( GetKeystoreStatusResponse_KEYSTORE_STATUS_UNSPECIFIED GetKeystoreStatusResponse_KeystoreStatus = 0 GetKeystoreStatusResponse_KEYSTORE_STATUS_UNINITIALIZED GetKeystoreStatusResponse_KeystoreStatus = 1 GetKeystoreStatusResponse_KEYSTORE_STATUS_INITIALIZED GetKeystoreStatusResponse_KeystoreStatus = 2 )
func (GetKeystoreStatusResponse_KeystoreStatus) Descriptor ¶ added in v3.26.0
func (GetKeystoreStatusResponse_KeystoreStatus) Descriptor() protoreflect.EnumDescriptor
func (GetKeystoreStatusResponse_KeystoreStatus) EnumDescriptor
deprecated
added in
v3.26.0
func (GetKeystoreStatusResponse_KeystoreStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetKeystoreStatusResponse_KeystoreStatus.Descriptor instead.
func (GetKeystoreStatusResponse_KeystoreStatus) Number ¶ added in v3.26.0
func (x GetKeystoreStatusResponse_KeystoreStatus) Number() protoreflect.EnumNumber
func (GetKeystoreStatusResponse_KeystoreStatus) String ¶ added in v3.26.0
func (x GetKeystoreStatusResponse_KeystoreStatus) String() string
func (GetKeystoreStatusResponse_KeystoreStatus) Type ¶ added in v3.26.0
func (GetKeystoreStatusResponse_KeystoreStatus) Type() protoreflect.EnumType
type GetPrivatePreferencesTopicIdentifierResponse ¶ added in v3.32.0
type GetPrivatePreferencesTopicIdentifierResponse struct { Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // contains filtered or unexported fields }
Get the private preferences topic identifier
func (*GetPrivatePreferencesTopicIdentifierResponse) Descriptor
deprecated
added in
v3.32.0
func (*GetPrivatePreferencesTopicIdentifierResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivatePreferencesTopicIdentifierResponse.ProtoReflect.Descriptor instead.
func (*GetPrivatePreferencesTopicIdentifierResponse) GetIdentifier ¶ added in v3.32.0
func (x *GetPrivatePreferencesTopicIdentifierResponse) GetIdentifier() string
func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoMessage ¶ added in v3.32.0
func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoMessage()
func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoReflect ¶ added in v3.32.0
func (x *GetPrivatePreferencesTopicIdentifierResponse) ProtoReflect() protoreflect.Message
func (*GetPrivatePreferencesTopicIdentifierResponse) Reset ¶ added in v3.32.0
func (x *GetPrivatePreferencesTopicIdentifierResponse) Reset()
func (*GetPrivatePreferencesTopicIdentifierResponse) String ¶ added in v3.32.0
func (x *GetPrivatePreferencesTopicIdentifierResponse) String() string
type GetRefreshJobRequest ¶ added in v3.29.0
type GetRefreshJobRequest struct { JobType JobType `protobuf:"varint,1,opt,name=job_type,json=jobType,proto3,enum=xmtp.keystore_api.v1.JobType" json:"job_type,omitempty"` // contains filtered or unexported fields }
GetRefreshJobRequest is used to get the last run time of a refresh job
func (*GetRefreshJobRequest) Descriptor
deprecated
added in
v3.29.0
func (*GetRefreshJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshJobRequest.ProtoReflect.Descriptor instead.
func (*GetRefreshJobRequest) GetJobType ¶ added in v3.29.0
func (x *GetRefreshJobRequest) GetJobType() JobType
func (*GetRefreshJobRequest) ProtoMessage ¶ added in v3.29.0
func (*GetRefreshJobRequest) ProtoMessage()
func (*GetRefreshJobRequest) ProtoReflect ¶ added in v3.29.0
func (x *GetRefreshJobRequest) ProtoReflect() protoreflect.Message
func (*GetRefreshJobRequest) Reset ¶ added in v3.29.0
func (x *GetRefreshJobRequest) Reset()
func (*GetRefreshJobRequest) String ¶ added in v3.29.0
func (x *GetRefreshJobRequest) String() string
type GetRefreshJobResponse ¶ added in v3.29.0
type GetRefreshJobResponse struct { LastRunNs int64 `protobuf:"varint,1,opt,name=last_run_ns,json=lastRunNs,proto3" json:"last_run_ns,omitempty"` // contains filtered or unexported fields }
GetRefreshJobResponse is used to return the last run time of a refresh job
func (*GetRefreshJobResponse) Descriptor
deprecated
added in
v3.29.0
func (*GetRefreshJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshJobResponse.ProtoReflect.Descriptor instead.
func (*GetRefreshJobResponse) GetLastRunNs ¶ added in v3.29.0
func (x *GetRefreshJobResponse) GetLastRunNs() int64
func (*GetRefreshJobResponse) ProtoMessage ¶ added in v3.29.0
func (*GetRefreshJobResponse) ProtoMessage()
func (*GetRefreshJobResponse) ProtoReflect ¶ added in v3.29.0
func (x *GetRefreshJobResponse) ProtoReflect() protoreflect.Message
func (*GetRefreshJobResponse) Reset ¶ added in v3.29.0
func (x *GetRefreshJobResponse) Reset()
func (*GetRefreshJobResponse) String ¶ added in v3.29.0
func (x *GetRefreshJobResponse) String() string
type InitKeystoreRequest ¶ added in v3.26.0
type InitKeystoreRequest struct { // Types that are assignable to Bundle: // // *InitKeystoreRequest_V1 Bundle isInitKeystoreRequest_Bundle `protobuf_oneof:"bundle"` // contains filtered or unexported fields }
Used to initialize the Keystore with a private key bundle retrieved from the client
func (*InitKeystoreRequest) Descriptor
deprecated
added in
v3.26.0
func (*InitKeystoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitKeystoreRequest.ProtoReflect.Descriptor instead.
func (*InitKeystoreRequest) GetBundle ¶ added in v3.26.0
func (m *InitKeystoreRequest) GetBundle() isInitKeystoreRequest_Bundle
func (*InitKeystoreRequest) GetV1 ¶ added in v3.26.0
func (x *InitKeystoreRequest) GetV1() *message_contents.PrivateKeyBundleV1
func (*InitKeystoreRequest) ProtoMessage ¶ added in v3.26.0
func (*InitKeystoreRequest) ProtoMessage()
func (*InitKeystoreRequest) ProtoReflect ¶ added in v3.26.0
func (x *InitKeystoreRequest) ProtoReflect() protoreflect.Message
func (*InitKeystoreRequest) Reset ¶ added in v3.26.0
func (x *InitKeystoreRequest) Reset()
func (*InitKeystoreRequest) String ¶ added in v3.26.0
func (x *InitKeystoreRequest) String() string
type InitKeystoreRequest_V1 ¶ added in v3.26.0
type InitKeystoreRequest_V1 struct {
V1 *message_contents.PrivateKeyBundleV1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}
type InitKeystoreResponse ¶ added in v3.26.0
type InitKeystoreResponse struct { Error *KeystoreError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
Response to the request to initialize the Keystore
func (*InitKeystoreResponse) Descriptor
deprecated
added in
v3.26.0
func (*InitKeystoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitKeystoreResponse.ProtoReflect.Descriptor instead.
func (*InitKeystoreResponse) GetError ¶ added in v3.26.0
func (x *InitKeystoreResponse) GetError() *KeystoreError
func (*InitKeystoreResponse) ProtoMessage ¶ added in v3.26.0
func (*InitKeystoreResponse) ProtoMessage()
func (*InitKeystoreResponse) ProtoReflect ¶ added in v3.26.0
func (x *InitKeystoreResponse) ProtoReflect() protoreflect.Message
func (*InitKeystoreResponse) Reset ¶ added in v3.26.0
func (x *InitKeystoreResponse) Reset()
func (*InitKeystoreResponse) String ¶ added in v3.26.0
func (x *InitKeystoreResponse) String() string
type JobType ¶ added in v3.29.0
type JobType int32
JobType is used to specify the type of job the caller would like info on
func (JobType) Descriptor ¶ added in v3.29.0
func (JobType) Descriptor() protoreflect.EnumDescriptor
func (JobType) EnumDescriptor
deprecated
added in
v3.29.0
func (JobType) Number ¶ added in v3.29.0
func (x JobType) Number() protoreflect.EnumNumber
func (JobType) Type ¶ added in v3.29.0
func (JobType) Type() protoreflect.EnumType
type KeystoreError ¶
type KeystoreError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code ErrorCode `protobuf:"varint,2,opt,name=code,proto3,enum=xmtp.keystore_api.v1.ErrorCode" json:"code,omitempty"` // contains filtered or unexported fields }
Wrapper class for errors from the Keystore API
func (*KeystoreError) Descriptor
deprecated
func (*KeystoreError) Descriptor() ([]byte, []int)
Deprecated: Use KeystoreError.ProtoReflect.Descriptor instead.
func (*KeystoreError) GetCode ¶
func (x *KeystoreError) GetCode() ErrorCode
func (*KeystoreError) GetMessage ¶
func (x *KeystoreError) GetMessage() string
func (*KeystoreError) ProtoMessage ¶
func (*KeystoreError) ProtoMessage()
func (*KeystoreError) ProtoReflect ¶
func (x *KeystoreError) ProtoReflect() protoreflect.Message
func (*KeystoreError) Reset ¶
func (x *KeystoreError) Reset()
func (*KeystoreError) String ¶
func (x *KeystoreError) String() string
type SaveInvitesRequest ¶
type SaveInvitesRequest struct { Requests []*SaveInvitesRequest_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Request to save a batch of invite messages to the Keystore
func (*SaveInvitesRequest) Descriptor
deprecated
func (*SaveInvitesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveInvitesRequest.ProtoReflect.Descriptor instead.
func (*SaveInvitesRequest) GetRequests ¶
func (x *SaveInvitesRequest) GetRequests() []*SaveInvitesRequest_Request
func (*SaveInvitesRequest) ProtoMessage ¶
func (*SaveInvitesRequest) ProtoMessage()
func (*SaveInvitesRequest) ProtoReflect ¶
func (x *SaveInvitesRequest) ProtoReflect() protoreflect.Message
func (*SaveInvitesRequest) Reset ¶
func (x *SaveInvitesRequest) Reset()
func (*SaveInvitesRequest) String ¶
func (x *SaveInvitesRequest) String() string
type SaveInvitesRequest_Request ¶
type SaveInvitesRequest_Request struct { ContentTopic string `protobuf:"bytes,1,opt,name=content_topic,json=contentTopic,proto3" json:"content_topic,omitempty"` TimestampNs uint64 `protobuf:"varint,2,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"` Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Mirrors xmtp.envelope schema
func (*SaveInvitesRequest_Request) Descriptor
deprecated
func (*SaveInvitesRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use SaveInvitesRequest_Request.ProtoReflect.Descriptor instead.
func (*SaveInvitesRequest_Request) GetContentTopic ¶
func (x *SaveInvitesRequest_Request) GetContentTopic() string
func (*SaveInvitesRequest_Request) GetPayload ¶
func (x *SaveInvitesRequest_Request) GetPayload() []byte
func (*SaveInvitesRequest_Request) GetTimestampNs ¶
func (x *SaveInvitesRequest_Request) GetTimestampNs() uint64
func (*SaveInvitesRequest_Request) ProtoMessage ¶
func (*SaveInvitesRequest_Request) ProtoMessage()
func (*SaveInvitesRequest_Request) ProtoReflect ¶
func (x *SaveInvitesRequest_Request) ProtoReflect() protoreflect.Message
func (*SaveInvitesRequest_Request) Reset ¶
func (x *SaveInvitesRequest_Request) Reset()
func (*SaveInvitesRequest_Request) String ¶
func (x *SaveInvitesRequest_Request) String() string
type SaveInvitesResponse ¶
type SaveInvitesResponse struct { Responses []*SaveInvitesResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response to a SaveInvitesRequest
func (*SaveInvitesResponse) Descriptor
deprecated
func (*SaveInvitesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveInvitesResponse.ProtoReflect.Descriptor instead.
func (*SaveInvitesResponse) GetResponses ¶
func (x *SaveInvitesResponse) GetResponses() []*SaveInvitesResponse_Response
func (*SaveInvitesResponse) ProtoMessage ¶
func (*SaveInvitesResponse) ProtoMessage()
func (*SaveInvitesResponse) ProtoReflect ¶
func (x *SaveInvitesResponse) ProtoReflect() protoreflect.Message
func (*SaveInvitesResponse) Reset ¶
func (x *SaveInvitesResponse) Reset()
func (*SaveInvitesResponse) String ¶
func (x *SaveInvitesResponse) String() string
type SaveInvitesResponse_Response ¶
type SaveInvitesResponse_Response struct { // Types that are assignable to Response: // // *SaveInvitesResponse_Response_Result // *SaveInvitesResponse_Response_Error Response isSaveInvitesResponse_Response_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
A single response
func (*SaveInvitesResponse_Response) Descriptor
deprecated
func (*SaveInvitesResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use SaveInvitesResponse_Response.ProtoReflect.Descriptor instead.
func (*SaveInvitesResponse_Response) GetError ¶
func (x *SaveInvitesResponse_Response) GetError() *KeystoreError
func (*SaveInvitesResponse_Response) GetResponse ¶
func (m *SaveInvitesResponse_Response) GetResponse() isSaveInvitesResponse_Response_Response
func (*SaveInvitesResponse_Response) GetResult ¶
func (x *SaveInvitesResponse_Response) GetResult() *SaveInvitesResponse_Response_Success
func (*SaveInvitesResponse_Response) ProtoMessage ¶
func (*SaveInvitesResponse_Response) ProtoMessage()
func (*SaveInvitesResponse_Response) ProtoReflect ¶
func (x *SaveInvitesResponse_Response) ProtoReflect() protoreflect.Message
func (*SaveInvitesResponse_Response) Reset ¶
func (x *SaveInvitesResponse_Response) Reset()
func (*SaveInvitesResponse_Response) String ¶
func (x *SaveInvitesResponse_Response) String() string
type SaveInvitesResponse_Response_Error ¶
type SaveInvitesResponse_Response_Error struct {
Error *KeystoreError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SaveInvitesResponse_Response_Result ¶
type SaveInvitesResponse_Response_Result struct {
Result *SaveInvitesResponse_Response_Success `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type SaveInvitesResponse_Response_Success ¶
type SaveInvitesResponse_Response_Success struct { Conversation *message_contents.ConversationReference `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` // contains filtered or unexported fields }
Wrapper object for success response
func (*SaveInvitesResponse_Response_Success) Descriptor
deprecated
func (*SaveInvitesResponse_Response_Success) Descriptor() ([]byte, []int)
Deprecated: Use SaveInvitesResponse_Response_Success.ProtoReflect.Descriptor instead.
func (*SaveInvitesResponse_Response_Success) GetConversation ¶
func (x *SaveInvitesResponse_Response_Success) GetConversation() *message_contents.ConversationReference
func (*SaveInvitesResponse_Response_Success) ProtoMessage ¶
func (*SaveInvitesResponse_Response_Success) ProtoMessage()
func (*SaveInvitesResponse_Response_Success) ProtoReflect ¶
func (x *SaveInvitesResponse_Response_Success) ProtoReflect() protoreflect.Message
func (*SaveInvitesResponse_Response_Success) Reset ¶
func (x *SaveInvitesResponse_Response_Success) Reset()
func (*SaveInvitesResponse_Response_Success) String ¶
func (x *SaveInvitesResponse_Response_Success) String() string
type SaveV1ConversationsRequest ¶ added in v3.29.0
type SaveV1ConversationsRequest struct { Conversations []*message_contents.ConversationReference `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"` // contains filtered or unexported fields }
SaveV1ConversationsRequest is used to save a batch of conversations to the built in persistence
func (*SaveV1ConversationsRequest) Descriptor
deprecated
added in
v3.29.0
func (*SaveV1ConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveV1ConversationsRequest.ProtoReflect.Descriptor instead.
func (*SaveV1ConversationsRequest) GetConversations ¶ added in v3.29.0
func (x *SaveV1ConversationsRequest) GetConversations() []*message_contents.ConversationReference
func (*SaveV1ConversationsRequest) ProtoMessage ¶ added in v3.29.0
func (*SaveV1ConversationsRequest) ProtoMessage()
func (*SaveV1ConversationsRequest) ProtoReflect ¶ added in v3.29.0
func (x *SaveV1ConversationsRequest) ProtoReflect() protoreflect.Message
func (*SaveV1ConversationsRequest) Reset ¶ added in v3.29.0
func (x *SaveV1ConversationsRequest) Reset()
func (*SaveV1ConversationsRequest) String ¶ added in v3.29.0
func (x *SaveV1ConversationsRequest) String() string
type SaveV1ConversationsResponse ¶ added in v3.29.0
type SaveV1ConversationsResponse struct {
// contains filtered or unexported fields
}
Placeholder response type for SaveV1Conversations
func (*SaveV1ConversationsResponse) Descriptor
deprecated
added in
v3.29.0
func (*SaveV1ConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveV1ConversationsResponse.ProtoReflect.Descriptor instead.
func (*SaveV1ConversationsResponse) ProtoMessage ¶ added in v3.29.0
func (*SaveV1ConversationsResponse) ProtoMessage()
func (*SaveV1ConversationsResponse) ProtoReflect ¶ added in v3.29.0
func (x *SaveV1ConversationsResponse) ProtoReflect() protoreflect.Message
func (*SaveV1ConversationsResponse) Reset ¶ added in v3.29.0
func (x *SaveV1ConversationsResponse) Reset()
func (*SaveV1ConversationsResponse) String ¶ added in v3.29.0
func (x *SaveV1ConversationsResponse) String() string
type SelfDecryptRequest ¶ added in v3.32.0
type SelfDecryptRequest struct { Requests []*SelfDecryptRequest_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
SelfDecryptRequest
func (*SelfDecryptRequest) Descriptor
deprecated
added in
v3.32.0
func (*SelfDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelfDecryptRequest.ProtoReflect.Descriptor instead.
func (*SelfDecryptRequest) GetRequests ¶ added in v3.32.0
func (x *SelfDecryptRequest) GetRequests() []*SelfDecryptRequest_Request
func (*SelfDecryptRequest) ProtoMessage ¶ added in v3.32.0
func (*SelfDecryptRequest) ProtoMessage()
func (*SelfDecryptRequest) ProtoReflect ¶ added in v3.32.0
func (x *SelfDecryptRequest) ProtoReflect() protoreflect.Message
func (*SelfDecryptRequest) Reset ¶ added in v3.32.0
func (x *SelfDecryptRequest) Reset()
func (*SelfDecryptRequest) String ¶ added in v3.32.0
func (x *SelfDecryptRequest) String() string
type SelfDecryptRequest_Request ¶ added in v3.32.0
type SelfDecryptRequest_Request struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Request type
func (*SelfDecryptRequest_Request) Descriptor
deprecated
added in
v3.32.0
func (*SelfDecryptRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use SelfDecryptRequest_Request.ProtoReflect.Descriptor instead.
func (*SelfDecryptRequest_Request) GetPayload ¶ added in v3.32.0
func (x *SelfDecryptRequest_Request) GetPayload() []byte
func (*SelfDecryptRequest_Request) ProtoMessage ¶ added in v3.32.0
func (*SelfDecryptRequest_Request) ProtoMessage()
func (*SelfDecryptRequest_Request) ProtoReflect ¶ added in v3.32.0
func (x *SelfDecryptRequest_Request) ProtoReflect() protoreflect.Message
func (*SelfDecryptRequest_Request) Reset ¶ added in v3.32.0
func (x *SelfDecryptRequest_Request) Reset()
func (*SelfDecryptRequest_Request) String ¶ added in v3.32.0
func (x *SelfDecryptRequest_Request) String() string
type SelfEncryptRequest ¶ added in v3.32.0
type SelfEncryptRequest struct { Requests []*SelfEncryptRequest_Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Encrypt a message for yourself
func (*SelfEncryptRequest) Descriptor
deprecated
added in
v3.32.0
func (*SelfEncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptRequest.ProtoReflect.Descriptor instead.
func (*SelfEncryptRequest) GetRequests ¶ added in v3.32.0
func (x *SelfEncryptRequest) GetRequests() []*SelfEncryptRequest_Request
func (*SelfEncryptRequest) ProtoMessage ¶ added in v3.32.0
func (*SelfEncryptRequest) ProtoMessage()
func (*SelfEncryptRequest) ProtoReflect ¶ added in v3.32.0
func (x *SelfEncryptRequest) ProtoReflect() protoreflect.Message
func (*SelfEncryptRequest) Reset ¶ added in v3.32.0
func (x *SelfEncryptRequest) Reset()
func (*SelfEncryptRequest) String ¶ added in v3.32.0
func (x *SelfEncryptRequest) String() string
type SelfEncryptRequest_Request ¶ added in v3.32.0
type SelfEncryptRequest_Request struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Request type
func (*SelfEncryptRequest_Request) Descriptor
deprecated
added in
v3.32.0
func (*SelfEncryptRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptRequest_Request.ProtoReflect.Descriptor instead.
func (*SelfEncryptRequest_Request) GetPayload ¶ added in v3.32.0
func (x *SelfEncryptRequest_Request) GetPayload() []byte
func (*SelfEncryptRequest_Request) ProtoMessage ¶ added in v3.32.0
func (*SelfEncryptRequest_Request) ProtoMessage()
func (*SelfEncryptRequest_Request) ProtoReflect ¶ added in v3.32.0
func (x *SelfEncryptRequest_Request) ProtoReflect() protoreflect.Message
func (*SelfEncryptRequest_Request) Reset ¶ added in v3.32.0
func (x *SelfEncryptRequest_Request) Reset()
func (*SelfEncryptRequest_Request) String ¶ added in v3.32.0
func (x *SelfEncryptRequest_Request) String() string
type SelfEncryptResponse ¶ added in v3.32.0
type SelfEncryptResponse struct { Responses []*SelfEncryptResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response type for SelfEncryptRequest
func (*SelfEncryptResponse) Descriptor
deprecated
added in
v3.32.0
func (*SelfEncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptResponse.ProtoReflect.Descriptor instead.
func (*SelfEncryptResponse) GetResponses ¶ added in v3.32.0
func (x *SelfEncryptResponse) GetResponses() []*SelfEncryptResponse_Response
func (*SelfEncryptResponse) ProtoMessage ¶ added in v3.32.0
func (*SelfEncryptResponse) ProtoMessage()
func (*SelfEncryptResponse) ProtoReflect ¶ added in v3.32.0
func (x *SelfEncryptResponse) ProtoReflect() protoreflect.Message
func (*SelfEncryptResponse) Reset ¶ added in v3.32.0
func (x *SelfEncryptResponse) Reset()
func (*SelfEncryptResponse) String ¶ added in v3.32.0
func (x *SelfEncryptResponse) String() string
type SelfEncryptResponse_Response ¶ added in v3.32.0
type SelfEncryptResponse_Response struct { // Types that are assignable to Response: // // *SelfEncryptResponse_Response_Result // *SelfEncryptResponse_Response_Error Response isSelfEncryptResponse_Response_Response `protobuf_oneof:"response"` // contains filtered or unexported fields }
Response type
func (*SelfEncryptResponse_Response) Descriptor
deprecated
added in
v3.32.0
func (*SelfEncryptResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptResponse_Response.ProtoReflect.Descriptor instead.
func (*SelfEncryptResponse_Response) GetError ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response) GetError() *KeystoreError
func (*SelfEncryptResponse_Response) GetResponse ¶ added in v3.32.0
func (m *SelfEncryptResponse_Response) GetResponse() isSelfEncryptResponse_Response_Response
func (*SelfEncryptResponse_Response) GetResult ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response) GetResult() *SelfEncryptResponse_Response_Success
func (*SelfEncryptResponse_Response) ProtoMessage ¶ added in v3.32.0
func (*SelfEncryptResponse_Response) ProtoMessage()
func (*SelfEncryptResponse_Response) ProtoReflect ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response) ProtoReflect() protoreflect.Message
func (*SelfEncryptResponse_Response) Reset ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response) Reset()
func (*SelfEncryptResponse_Response) String ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response) String() string
type SelfEncryptResponse_Response_Error ¶ added in v3.32.0
type SelfEncryptResponse_Response_Error struct {
Error *KeystoreError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SelfEncryptResponse_Response_Result ¶ added in v3.32.0
type SelfEncryptResponse_Response_Result struct {
Result *SelfEncryptResponse_Response_Success `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type SelfEncryptResponse_Response_Success ¶ added in v3.32.0
type SelfEncryptResponse_Response_Success struct { Encrypted []byte `protobuf:"bytes,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"` // contains filtered or unexported fields }
Success response
func (*SelfEncryptResponse_Response_Success) Descriptor
deprecated
added in
v3.32.0
func (*SelfEncryptResponse_Response_Success) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptResponse_Response_Success.ProtoReflect.Descriptor instead.
func (*SelfEncryptResponse_Response_Success) GetEncrypted ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response_Success) GetEncrypted() []byte
func (*SelfEncryptResponse_Response_Success) ProtoMessage ¶ added in v3.32.0
func (*SelfEncryptResponse_Response_Success) ProtoMessage()
func (*SelfEncryptResponse_Response_Success) ProtoReflect ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response_Success) ProtoReflect() protoreflect.Message
func (*SelfEncryptResponse_Response_Success) Reset ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response_Success) Reset()
func (*SelfEncryptResponse_Response_Success) String ¶ added in v3.32.0
func (x *SelfEncryptResponse_Response_Success) String() string
type SetRefeshJobRequest ¶ added in v3.29.0
type SetRefeshJobRequest struct { JobType JobType `protobuf:"varint,1,opt,name=job_type,json=jobType,proto3,enum=xmtp.keystore_api.v1.JobType" json:"job_type,omitempty"` LastRunNs int64 `protobuf:"varint,2,opt,name=last_run_ns,json=lastRunNs,proto3" json:"last_run_ns,omitempty"` // contains filtered or unexported fields }
SetRefreshJobRequest is used to set the last run time of a refresh job
func (*SetRefeshJobRequest) Descriptor
deprecated
added in
v3.29.0
func (*SetRefeshJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRefeshJobRequest.ProtoReflect.Descriptor instead.
func (*SetRefeshJobRequest) GetJobType ¶ added in v3.29.0
func (x *SetRefeshJobRequest) GetJobType() JobType
func (*SetRefeshJobRequest) GetLastRunNs ¶ added in v3.29.0
func (x *SetRefeshJobRequest) GetLastRunNs() int64
func (*SetRefeshJobRequest) ProtoMessage ¶ added in v3.29.0
func (*SetRefeshJobRequest) ProtoMessage()
func (*SetRefeshJobRequest) ProtoReflect ¶ added in v3.29.0
func (x *SetRefeshJobRequest) ProtoReflect() protoreflect.Message
func (*SetRefeshJobRequest) Reset ¶ added in v3.29.0
func (x *SetRefeshJobRequest) Reset()
func (*SetRefeshJobRequest) String ¶ added in v3.29.0
func (x *SetRefeshJobRequest) String() string
type SetRefreshJobResponse ¶ added in v3.29.0
type SetRefreshJobResponse struct {
// contains filtered or unexported fields
}
SetRefreshJobResponse is an empty response type
func (*SetRefreshJobResponse) Descriptor
deprecated
added in
v3.29.0
func (*SetRefreshJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetRefreshJobResponse.ProtoReflect.Descriptor instead.
func (*SetRefreshJobResponse) ProtoMessage ¶ added in v3.29.0
func (*SetRefreshJobResponse) ProtoMessage()
func (*SetRefreshJobResponse) ProtoReflect ¶ added in v3.29.0
func (x *SetRefreshJobResponse) ProtoReflect() protoreflect.Message
func (*SetRefreshJobResponse) Reset ¶ added in v3.29.0
func (x *SetRefreshJobResponse) Reset()
func (*SetRefreshJobResponse) String ¶ added in v3.29.0
func (x *SetRefreshJobResponse) String() string
type SignDigestRequest ¶
type SignDigestRequest struct { Digest []byte `protobuf:"bytes,1,opt,name=digest,proto3" json:"digest,omitempty"` // Types that are assignable to Signer: // // *SignDigestRequest_IdentityKey // *SignDigestRequest_PrekeyIndex Signer isSignDigestRequest_Signer `protobuf_oneof:"signer"` // contains filtered or unexported fields }
SignDigestRequest is used to sign a digest with either the identity key or a prekey
func (*SignDigestRequest) Descriptor
deprecated
func (*SignDigestRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignDigestRequest.ProtoReflect.Descriptor instead.
func (*SignDigestRequest) GetDigest ¶
func (x *SignDigestRequest) GetDigest() []byte
func (*SignDigestRequest) GetIdentityKey ¶
func (x *SignDigestRequest) GetIdentityKey() bool
func (*SignDigestRequest) GetPrekeyIndex ¶
func (x *SignDigestRequest) GetPrekeyIndex() uint32
func (*SignDigestRequest) GetSigner ¶
func (m *SignDigestRequest) GetSigner() isSignDigestRequest_Signer
func (*SignDigestRequest) ProtoMessage ¶
func (*SignDigestRequest) ProtoMessage()
func (*SignDigestRequest) ProtoReflect ¶
func (x *SignDigestRequest) ProtoReflect() protoreflect.Message
func (*SignDigestRequest) Reset ¶
func (x *SignDigestRequest) Reset()
func (*SignDigestRequest) String ¶
func (x *SignDigestRequest) String() string
type SignDigestRequest_IdentityKey ¶
type SignDigestRequest_IdentityKey struct {
IdentityKey bool `protobuf:"varint,2,opt,name=identity_key,json=identityKey,proto3,oneof"`
}
type SignDigestRequest_PrekeyIndex ¶
type SignDigestRequest_PrekeyIndex struct {
PrekeyIndex uint32 `protobuf:"varint,3,opt,name=prekey_index,json=prekeyIndex,proto3,oneof"`
}
type TopicMap ¶
type TopicMap struct { Topics map[string]*TopicMap_TopicData `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
A mapping of topics to their decrypted invitations
func (*TopicMap) Descriptor
deprecated
func (*TopicMap) GetTopics ¶
func (x *TopicMap) GetTopics() map[string]*TopicMap_TopicData
func (*TopicMap) ProtoMessage ¶
func (*TopicMap) ProtoMessage()
func (*TopicMap) ProtoReflect ¶
func (x *TopicMap) ProtoReflect() protoreflect.Message
type TopicMap_TopicData ¶
type TopicMap_TopicData struct { CreatedNs uint64 `protobuf:"varint,1,opt,name=created_ns,json=createdNs,proto3" json:"created_ns,omitempty"` PeerAddress string `protobuf:"bytes,2,opt,name=peer_address,json=peerAddress,proto3" json:"peer_address,omitempty"` Invitation *message_contents.InvitationV1 `protobuf:"bytes,3,opt,name=invitation,proto3" json:"invitation,omitempty"` // contains filtered or unexported fields }
TopicData wraps the invitation and the timestamp it was created
func (*TopicMap_TopicData) Descriptor
deprecated
func (*TopicMap_TopicData) Descriptor() ([]byte, []int)
Deprecated: Use TopicMap_TopicData.ProtoReflect.Descriptor instead.
func (*TopicMap_TopicData) GetCreatedNs ¶
func (x *TopicMap_TopicData) GetCreatedNs() uint64
func (*TopicMap_TopicData) GetInvitation ¶
func (x *TopicMap_TopicData) GetInvitation() *message_contents.InvitationV1
func (*TopicMap_TopicData) GetPeerAddress ¶
func (x *TopicMap_TopicData) GetPeerAddress() string
func (*TopicMap_TopicData) ProtoMessage ¶
func (*TopicMap_TopicData) ProtoMessage()
func (*TopicMap_TopicData) ProtoReflect ¶
func (x *TopicMap_TopicData) ProtoReflect() protoreflect.Message
func (*TopicMap_TopicData) Reset ¶
func (x *TopicMap_TopicData) Reset()
func (*TopicMap_TopicData) String ¶
func (x *TopicMap_TopicData) String() string