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) GetConsentProof() *message_contents.ConsentProofPayload
- 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 (x *EncryptResponse_Response_Success) GetSenderHmac() []byte
- 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 GetConversationHmacKeysRequest
- func (*GetConversationHmacKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationHmacKeysRequest) GetTopics() []string
- func (*GetConversationHmacKeysRequest) ProtoMessage()
- func (x *GetConversationHmacKeysRequest) ProtoReflect() protoreflect.Message
- func (x *GetConversationHmacKeysRequest) Reset()
- func (x *GetConversationHmacKeysRequest) String() string
- type GetConversationHmacKeysResponse
- func (*GetConversationHmacKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationHmacKeysResponse) GetHmacKeys() map[string]*GetConversationHmacKeysResponse_HmacKeys
- func (*GetConversationHmacKeysResponse) ProtoMessage()
- func (x *GetConversationHmacKeysResponse) ProtoReflect() protoreflect.Message
- func (x *GetConversationHmacKeysResponse) Reset()
- func (x *GetConversationHmacKeysResponse) String() string
- type GetConversationHmacKeysResponse_HmacKeyData
- func (*GetConversationHmacKeysResponse_HmacKeyData) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationHmacKeysResponse_HmacKeyData) GetHmacKey() []byte
- func (x *GetConversationHmacKeysResponse_HmacKeyData) GetThirtyDayPeriodsSinceEpoch() int32
- func (*GetConversationHmacKeysResponse_HmacKeyData) ProtoMessage()
- func (x *GetConversationHmacKeysResponse_HmacKeyData) ProtoReflect() protoreflect.Message
- func (x *GetConversationHmacKeysResponse_HmacKeyData) Reset()
- func (x *GetConversationHmacKeysResponse_HmacKeyData) String() string
- type GetConversationHmacKeysResponse_HmacKeys
- func (*GetConversationHmacKeysResponse_HmacKeys) Descriptor() ([]byte, []int)deprecated
- func (x *GetConversationHmacKeysResponse_HmacKeys) GetValues() []*GetConversationHmacKeysResponse_HmacKeyData
- func (*GetConversationHmacKeysResponse_HmacKeys) ProtoMessage()
- func (x *GetConversationHmacKeysResponse_HmacKeys) ProtoReflect() protoreflect.Message
- func (x *GetConversationHmacKeysResponse_HmacKeys) Reset()
- func (x *GetConversationHmacKeysResponse_HmacKeys) String() string
- 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 PrivatePreferencesActionMap
- func (*PrivatePreferencesActionMap) Descriptor() ([]byte, []int)deprecated
- func (x *PrivatePreferencesActionMap) GetActions() map[string]*message_contents.PrivatePreferencesAction
- func (*PrivatePreferencesActionMap) ProtoMessage()
- func (x *PrivatePreferencesActionMap) ProtoReflect() protoreflect.Message
- func (x *PrivatePreferencesActionMap) Reset()
- func (x *PrivatePreferencesActionMap) 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"` ConsentProof *message_contents.ConsentProofPayload `protobuf:"bytes,4,opt,name=consent_proof,json=consentProof,proto3" json:"consent_proof,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) GetConsentProof ¶
func (x *CreateInviteRequest) GetConsentProof() *message_contents.ConsentProofPayload
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"` SenderHmac []byte `protobuf:"bytes,2,opt,name=sender_hmac,json=senderHmac,proto3" json:"sender_hmac,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) GetSenderHmac ¶
func (x *EncryptResponse_Response_Success) GetSenderHmac() []byte
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 GetConversationHmacKeysRequest ¶
type GetConversationHmacKeysRequest struct { Topics []string `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"` // contains filtered or unexported fields }
Used to get a mapping of conversation topics to their HMAC keys
func (*GetConversationHmacKeysRequest) Descriptor
deprecated
func (*GetConversationHmacKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationHmacKeysRequest.ProtoReflect.Descriptor instead.
func (*GetConversationHmacKeysRequest) GetTopics ¶
func (x *GetConversationHmacKeysRequest) GetTopics() []string
func (*GetConversationHmacKeysRequest) ProtoMessage ¶
func (*GetConversationHmacKeysRequest) ProtoMessage()
func (*GetConversationHmacKeysRequest) ProtoReflect ¶
func (x *GetConversationHmacKeysRequest) ProtoReflect() protoreflect.Message
func (*GetConversationHmacKeysRequest) Reset ¶
func (x *GetConversationHmacKeysRequest) Reset()
func (*GetConversationHmacKeysRequest) String ¶
func (x *GetConversationHmacKeysRequest) String() string
type GetConversationHmacKeysResponse ¶
type GetConversationHmacKeysResponse struct { HmacKeys map[string]*GetConversationHmacKeysResponse_HmacKeys `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
A mapping of topics to their HMAC keys
func (*GetConversationHmacKeysResponse) Descriptor
deprecated
func (*GetConversationHmacKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationHmacKeysResponse.ProtoReflect.Descriptor instead.
func (*GetConversationHmacKeysResponse) GetHmacKeys ¶
func (x *GetConversationHmacKeysResponse) GetHmacKeys() map[string]*GetConversationHmacKeysResponse_HmacKeys
func (*GetConversationHmacKeysResponse) ProtoMessage ¶
func (*GetConversationHmacKeysResponse) ProtoMessage()
func (*GetConversationHmacKeysResponse) ProtoReflect ¶
func (x *GetConversationHmacKeysResponse) ProtoReflect() protoreflect.Message
func (*GetConversationHmacKeysResponse) Reset ¶
func (x *GetConversationHmacKeysResponse) Reset()
func (*GetConversationHmacKeysResponse) String ¶
func (x *GetConversationHmacKeysResponse) String() string
type GetConversationHmacKeysResponse_HmacKeyData ¶
type GetConversationHmacKeysResponse_HmacKeyData struct { ThirtyDayPeriodsSinceEpoch int32 `` /* 146-byte string literal not displayed */ HmacKey []byte `protobuf:"bytes,2,opt,name=hmac_key,json=hmacKey,proto3" json:"hmac_key,omitempty"` // contains filtered or unexported fields }
HmacKeyData wraps the HMAC key and the number of 30 day periods since epoch
func (*GetConversationHmacKeysResponse_HmacKeyData) Descriptor
deprecated
func (*GetConversationHmacKeysResponse_HmacKeyData) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationHmacKeysResponse_HmacKeyData.ProtoReflect.Descriptor instead.
func (*GetConversationHmacKeysResponse_HmacKeyData) GetHmacKey ¶
func (x *GetConversationHmacKeysResponse_HmacKeyData) GetHmacKey() []byte
func (*GetConversationHmacKeysResponse_HmacKeyData) GetThirtyDayPeriodsSinceEpoch ¶
func (x *GetConversationHmacKeysResponse_HmacKeyData) GetThirtyDayPeriodsSinceEpoch() int32
func (*GetConversationHmacKeysResponse_HmacKeyData) ProtoMessage ¶
func (*GetConversationHmacKeysResponse_HmacKeyData) ProtoMessage()
func (*GetConversationHmacKeysResponse_HmacKeyData) ProtoReflect ¶
func (x *GetConversationHmacKeysResponse_HmacKeyData) ProtoReflect() protoreflect.Message
func (*GetConversationHmacKeysResponse_HmacKeyData) Reset ¶
func (x *GetConversationHmacKeysResponse_HmacKeyData) Reset()
func (*GetConversationHmacKeysResponse_HmacKeyData) String ¶
func (x *GetConversationHmacKeysResponse_HmacKeyData) String() string
type GetConversationHmacKeysResponse_HmacKeys ¶
type GetConversationHmacKeysResponse_HmacKeys struct { Values []*GetConversationHmacKeysResponse_HmacKeyData `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
HmacKeys represents multiple HmacKeyData objects
func (*GetConversationHmacKeysResponse_HmacKeys) Descriptor
deprecated
func (*GetConversationHmacKeysResponse_HmacKeys) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationHmacKeysResponse_HmacKeys.ProtoReflect.Descriptor instead.
func (*GetConversationHmacKeysResponse_HmacKeys) GetValues ¶
func (x *GetConversationHmacKeysResponse_HmacKeys) GetValues() []*GetConversationHmacKeysResponse_HmacKeyData
func (*GetConversationHmacKeysResponse_HmacKeys) ProtoMessage ¶
func (*GetConversationHmacKeysResponse_HmacKeys) ProtoMessage()
func (*GetConversationHmacKeysResponse_HmacKeys) ProtoReflect ¶
func (x *GetConversationHmacKeysResponse_HmacKeys) ProtoReflect() protoreflect.Message
func (*GetConversationHmacKeysResponse_HmacKeys) Reset ¶
func (x *GetConversationHmacKeysResponse_HmacKeys) Reset()
func (*GetConversationHmacKeysResponse_HmacKeys) String ¶
func (x *GetConversationHmacKeysResponse_HmacKeys) String() string
type GetConversationsResponse ¶
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
func (*GetConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationsResponse.ProtoReflect.Descriptor instead.
func (*GetConversationsResponse) GetConversations ¶
func (x *GetConversationsResponse) GetConversations() []*message_contents.ConversationReference
func (*GetConversationsResponse) ProtoMessage ¶
func (*GetConversationsResponse) ProtoMessage()
func (*GetConversationsResponse) ProtoReflect ¶
func (x *GetConversationsResponse) ProtoReflect() protoreflect.Message
func (*GetConversationsResponse) Reset ¶
func (x *GetConversationsResponse) Reset()
func (*GetConversationsResponse) String ¶
func (x *GetConversationsResponse) String() string
type GetKeystoreStatusRequest ¶
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
func (*GetKeystoreStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKeystoreStatusRequest.ProtoReflect.Descriptor instead.
func (*GetKeystoreStatusRequest) GetWalletAddress ¶
func (x *GetKeystoreStatusRequest) GetWalletAddress() string
func (*GetKeystoreStatusRequest) ProtoMessage ¶
func (*GetKeystoreStatusRequest) ProtoMessage()
func (*GetKeystoreStatusRequest) ProtoReflect ¶
func (x *GetKeystoreStatusRequest) ProtoReflect() protoreflect.Message
func (*GetKeystoreStatusRequest) Reset ¶
func (x *GetKeystoreStatusRequest) Reset()
func (*GetKeystoreStatusRequest) String ¶
func (x *GetKeystoreStatusRequest) String() string
type GetKeystoreStatusResponse ¶
type GetKeystoreStatusResponse struct { Status GetKeystoreStatusResponse_KeystoreStatus `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Response to GetKeystoreStatusRequest
func (*GetKeystoreStatusResponse) Descriptor
deprecated
func (*GetKeystoreStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetKeystoreStatusResponse.ProtoReflect.Descriptor instead.
func (*GetKeystoreStatusResponse) GetStatus ¶
func (x *GetKeystoreStatusResponse) GetStatus() GetKeystoreStatusResponse_KeystoreStatus
func (*GetKeystoreStatusResponse) ProtoMessage ¶
func (*GetKeystoreStatusResponse) ProtoMessage()
func (*GetKeystoreStatusResponse) ProtoReflect ¶
func (x *GetKeystoreStatusResponse) ProtoReflect() protoreflect.Message
func (*GetKeystoreStatusResponse) Reset ¶
func (x *GetKeystoreStatusResponse) Reset()
func (*GetKeystoreStatusResponse) String ¶
func (x *GetKeystoreStatusResponse) String() string
type GetKeystoreStatusResponse_KeystoreStatus ¶
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 ¶
func (GetKeystoreStatusResponse_KeystoreStatus) Descriptor() protoreflect.EnumDescriptor
func (GetKeystoreStatusResponse_KeystoreStatus) EnumDescriptor
deprecated
func (GetKeystoreStatusResponse_KeystoreStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetKeystoreStatusResponse_KeystoreStatus.Descriptor instead.
func (GetKeystoreStatusResponse_KeystoreStatus) Number ¶
func (x GetKeystoreStatusResponse_KeystoreStatus) Number() protoreflect.EnumNumber
func (GetKeystoreStatusResponse_KeystoreStatus) String ¶
func (x GetKeystoreStatusResponse_KeystoreStatus) String() string
func (GetKeystoreStatusResponse_KeystoreStatus) Type ¶
func (GetKeystoreStatusResponse_KeystoreStatus) Type() protoreflect.EnumType
type GetPrivatePreferencesTopicIdentifierResponse ¶
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
func (*GetPrivatePreferencesTopicIdentifierResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPrivatePreferencesTopicIdentifierResponse.ProtoReflect.Descriptor instead.
func (*GetPrivatePreferencesTopicIdentifierResponse) GetIdentifier ¶
func (x *GetPrivatePreferencesTopicIdentifierResponse) GetIdentifier() string
func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoMessage ¶
func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoMessage()
func (*GetPrivatePreferencesTopicIdentifierResponse) ProtoReflect ¶
func (x *GetPrivatePreferencesTopicIdentifierResponse) ProtoReflect() protoreflect.Message
func (*GetPrivatePreferencesTopicIdentifierResponse) Reset ¶
func (x *GetPrivatePreferencesTopicIdentifierResponse) Reset()
func (*GetPrivatePreferencesTopicIdentifierResponse) String ¶
func (x *GetPrivatePreferencesTopicIdentifierResponse) String() string
type GetRefreshJobRequest ¶
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
func (*GetRefreshJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshJobRequest.ProtoReflect.Descriptor instead.
func (*GetRefreshJobRequest) GetJobType ¶
func (x *GetRefreshJobRequest) GetJobType() JobType
func (*GetRefreshJobRequest) ProtoMessage ¶
func (*GetRefreshJobRequest) ProtoMessage()
func (*GetRefreshJobRequest) ProtoReflect ¶
func (x *GetRefreshJobRequest) ProtoReflect() protoreflect.Message
func (*GetRefreshJobRequest) Reset ¶
func (x *GetRefreshJobRequest) Reset()
func (*GetRefreshJobRequest) String ¶
func (x *GetRefreshJobRequest) String() string
type GetRefreshJobResponse ¶
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
func (*GetRefreshJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshJobResponse.ProtoReflect.Descriptor instead.
func (*GetRefreshJobResponse) GetLastRunNs ¶
func (x *GetRefreshJobResponse) GetLastRunNs() int64
func (*GetRefreshJobResponse) ProtoMessage ¶
func (*GetRefreshJobResponse) ProtoMessage()
func (*GetRefreshJobResponse) ProtoReflect ¶
func (x *GetRefreshJobResponse) ProtoReflect() protoreflect.Message
func (*GetRefreshJobResponse) Reset ¶
func (x *GetRefreshJobResponse) Reset()
func (*GetRefreshJobResponse) String ¶
func (x *GetRefreshJobResponse) String() string
type InitKeystoreRequest ¶
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
func (*InitKeystoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitKeystoreRequest.ProtoReflect.Descriptor instead.
func (*InitKeystoreRequest) GetBundle ¶
func (m *InitKeystoreRequest) GetBundle() isInitKeystoreRequest_Bundle
func (*InitKeystoreRequest) GetV1 ¶
func (x *InitKeystoreRequest) GetV1() *message_contents.PrivateKeyBundleV1
func (*InitKeystoreRequest) ProtoMessage ¶
func (*InitKeystoreRequest) ProtoMessage()
func (*InitKeystoreRequest) ProtoReflect ¶
func (x *InitKeystoreRequest) ProtoReflect() protoreflect.Message
func (*InitKeystoreRequest) Reset ¶
func (x *InitKeystoreRequest) Reset()
func (*InitKeystoreRequest) String ¶
func (x *InitKeystoreRequest) String() string
type InitKeystoreRequest_V1 ¶
type InitKeystoreRequest_V1 struct {
V1 *message_contents.PrivateKeyBundleV1 `protobuf:"bytes,1,opt,name=v1,proto3,oneof"`
}
type InitKeystoreResponse ¶
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
func (*InitKeystoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitKeystoreResponse.ProtoReflect.Descriptor instead.
func (*InitKeystoreResponse) GetError ¶
func (x *InitKeystoreResponse) GetError() *KeystoreError
func (*InitKeystoreResponse) ProtoMessage ¶
func (*InitKeystoreResponse) ProtoMessage()
func (*InitKeystoreResponse) ProtoReflect ¶
func (x *InitKeystoreResponse) ProtoReflect() protoreflect.Message
func (*InitKeystoreResponse) Reset ¶
func (x *InitKeystoreResponse) Reset()
func (*InitKeystoreResponse) String ¶
func (x *InitKeystoreResponse) String() string
type JobType ¶
type JobType int32
JobType is used to specify the type of job the caller would like info on
func (JobType) Descriptor ¶
func (JobType) Descriptor() protoreflect.EnumDescriptor
func (JobType) EnumDescriptor
deprecated
func (JobType) Number ¶
func (x JobType) Number() protoreflect.EnumNumber
func (JobType) Type ¶
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 PrivatePreferencesActionMap ¶
type PrivatePreferencesActionMap struct { Actions map[string]*message_contents.PrivatePreferencesAction `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
A mapping of message hashes to their private preferences action
func (*PrivatePreferencesActionMap) Descriptor
deprecated
func (*PrivatePreferencesActionMap) Descriptor() ([]byte, []int)
Deprecated: Use PrivatePreferencesActionMap.ProtoReflect.Descriptor instead.
func (*PrivatePreferencesActionMap) GetActions ¶
func (x *PrivatePreferencesActionMap) GetActions() map[string]*message_contents.PrivatePreferencesAction
func (*PrivatePreferencesActionMap) ProtoMessage ¶
func (*PrivatePreferencesActionMap) ProtoMessage()
func (*PrivatePreferencesActionMap) ProtoReflect ¶
func (x *PrivatePreferencesActionMap) ProtoReflect() protoreflect.Message
func (*PrivatePreferencesActionMap) Reset ¶
func (x *PrivatePreferencesActionMap) Reset()
func (*PrivatePreferencesActionMap) String ¶
func (x *PrivatePreferencesActionMap) 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 ¶
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
func (*SaveV1ConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveV1ConversationsRequest.ProtoReflect.Descriptor instead.
func (*SaveV1ConversationsRequest) GetConversations ¶
func (x *SaveV1ConversationsRequest) GetConversations() []*message_contents.ConversationReference
func (*SaveV1ConversationsRequest) ProtoMessage ¶
func (*SaveV1ConversationsRequest) ProtoMessage()
func (*SaveV1ConversationsRequest) ProtoReflect ¶
func (x *SaveV1ConversationsRequest) ProtoReflect() protoreflect.Message
func (*SaveV1ConversationsRequest) Reset ¶
func (x *SaveV1ConversationsRequest) Reset()
func (*SaveV1ConversationsRequest) String ¶
func (x *SaveV1ConversationsRequest) String() string
type SaveV1ConversationsResponse ¶
type SaveV1ConversationsResponse struct {
// contains filtered or unexported fields
}
Placeholder response type for SaveV1Conversations
func (*SaveV1ConversationsResponse) Descriptor
deprecated
func (*SaveV1ConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveV1ConversationsResponse.ProtoReflect.Descriptor instead.
func (*SaveV1ConversationsResponse) ProtoMessage ¶
func (*SaveV1ConversationsResponse) ProtoMessage()
func (*SaveV1ConversationsResponse) ProtoReflect ¶
func (x *SaveV1ConversationsResponse) ProtoReflect() protoreflect.Message
func (*SaveV1ConversationsResponse) Reset ¶
func (x *SaveV1ConversationsResponse) Reset()
func (*SaveV1ConversationsResponse) String ¶
func (x *SaveV1ConversationsResponse) String() string
type SelfDecryptRequest ¶
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
func (*SelfDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelfDecryptRequest.ProtoReflect.Descriptor instead.
func (*SelfDecryptRequest) GetRequests ¶
func (x *SelfDecryptRequest) GetRequests() []*SelfDecryptRequest_Request
func (*SelfDecryptRequest) ProtoMessage ¶
func (*SelfDecryptRequest) ProtoMessage()
func (*SelfDecryptRequest) ProtoReflect ¶
func (x *SelfDecryptRequest) ProtoReflect() protoreflect.Message
func (*SelfDecryptRequest) Reset ¶
func (x *SelfDecryptRequest) Reset()
func (*SelfDecryptRequest) String ¶
func (x *SelfDecryptRequest) String() string
type SelfDecryptRequest_Request ¶
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
func (*SelfDecryptRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use SelfDecryptRequest_Request.ProtoReflect.Descriptor instead.
func (*SelfDecryptRequest_Request) GetPayload ¶
func (x *SelfDecryptRequest_Request) GetPayload() []byte
func (*SelfDecryptRequest_Request) ProtoMessage ¶
func (*SelfDecryptRequest_Request) ProtoMessage()
func (*SelfDecryptRequest_Request) ProtoReflect ¶
func (x *SelfDecryptRequest_Request) ProtoReflect() protoreflect.Message
func (*SelfDecryptRequest_Request) Reset ¶
func (x *SelfDecryptRequest_Request) Reset()
func (*SelfDecryptRequest_Request) String ¶
func (x *SelfDecryptRequest_Request) String() string
type SelfEncryptRequest ¶
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
func (*SelfEncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptRequest.ProtoReflect.Descriptor instead.
func (*SelfEncryptRequest) GetRequests ¶
func (x *SelfEncryptRequest) GetRequests() []*SelfEncryptRequest_Request
func (*SelfEncryptRequest) ProtoMessage ¶
func (*SelfEncryptRequest) ProtoMessage()
func (*SelfEncryptRequest) ProtoReflect ¶
func (x *SelfEncryptRequest) ProtoReflect() protoreflect.Message
func (*SelfEncryptRequest) Reset ¶
func (x *SelfEncryptRequest) Reset()
func (*SelfEncryptRequest) String ¶
func (x *SelfEncryptRequest) String() string
type SelfEncryptRequest_Request ¶
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
func (*SelfEncryptRequest_Request) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptRequest_Request.ProtoReflect.Descriptor instead.
func (*SelfEncryptRequest_Request) GetPayload ¶
func (x *SelfEncryptRequest_Request) GetPayload() []byte
func (*SelfEncryptRequest_Request) ProtoMessage ¶
func (*SelfEncryptRequest_Request) ProtoMessage()
func (*SelfEncryptRequest_Request) ProtoReflect ¶
func (x *SelfEncryptRequest_Request) ProtoReflect() protoreflect.Message
func (*SelfEncryptRequest_Request) Reset ¶
func (x *SelfEncryptRequest_Request) Reset()
func (*SelfEncryptRequest_Request) String ¶
func (x *SelfEncryptRequest_Request) String() string
type SelfEncryptResponse ¶
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
func (*SelfEncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptResponse.ProtoReflect.Descriptor instead.
func (*SelfEncryptResponse) GetResponses ¶
func (x *SelfEncryptResponse) GetResponses() []*SelfEncryptResponse_Response
func (*SelfEncryptResponse) ProtoMessage ¶
func (*SelfEncryptResponse) ProtoMessage()
func (*SelfEncryptResponse) ProtoReflect ¶
func (x *SelfEncryptResponse) ProtoReflect() protoreflect.Message
func (*SelfEncryptResponse) Reset ¶
func (x *SelfEncryptResponse) Reset()
func (*SelfEncryptResponse) String ¶
func (x *SelfEncryptResponse) String() string
type SelfEncryptResponse_Response ¶
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
func (*SelfEncryptResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptResponse_Response.ProtoReflect.Descriptor instead.
func (*SelfEncryptResponse_Response) GetError ¶
func (x *SelfEncryptResponse_Response) GetError() *KeystoreError
func (*SelfEncryptResponse_Response) GetResponse ¶
func (m *SelfEncryptResponse_Response) GetResponse() isSelfEncryptResponse_Response_Response
func (*SelfEncryptResponse_Response) GetResult ¶
func (x *SelfEncryptResponse_Response) GetResult() *SelfEncryptResponse_Response_Success
func (*SelfEncryptResponse_Response) ProtoMessage ¶
func (*SelfEncryptResponse_Response) ProtoMessage()
func (*SelfEncryptResponse_Response) ProtoReflect ¶
func (x *SelfEncryptResponse_Response) ProtoReflect() protoreflect.Message
func (*SelfEncryptResponse_Response) Reset ¶
func (x *SelfEncryptResponse_Response) Reset()
func (*SelfEncryptResponse_Response) String ¶
func (x *SelfEncryptResponse_Response) String() string
type SelfEncryptResponse_Response_Error ¶
type SelfEncryptResponse_Response_Error struct {
Error *KeystoreError `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SelfEncryptResponse_Response_Result ¶
type SelfEncryptResponse_Response_Result struct {
Result *SelfEncryptResponse_Response_Success `protobuf:"bytes,1,opt,name=result,proto3,oneof"`
}
type SelfEncryptResponse_Response_Success ¶
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
func (*SelfEncryptResponse_Response_Success) Descriptor() ([]byte, []int)
Deprecated: Use SelfEncryptResponse_Response_Success.ProtoReflect.Descriptor instead.
func (*SelfEncryptResponse_Response_Success) GetEncrypted ¶
func (x *SelfEncryptResponse_Response_Success) GetEncrypted() []byte
func (*SelfEncryptResponse_Response_Success) ProtoMessage ¶
func (*SelfEncryptResponse_Response_Success) ProtoMessage()
func (*SelfEncryptResponse_Response_Success) ProtoReflect ¶
func (x *SelfEncryptResponse_Response_Success) ProtoReflect() protoreflect.Message
func (*SelfEncryptResponse_Response_Success) Reset ¶
func (x *SelfEncryptResponse_Response_Success) Reset()
func (*SelfEncryptResponse_Response_Success) String ¶
func (x *SelfEncryptResponse_Response_Success) String() string
type SetRefeshJobRequest ¶
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
func (*SetRefeshJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetRefeshJobRequest.ProtoReflect.Descriptor instead.
func (*SetRefeshJobRequest) GetJobType ¶
func (x *SetRefeshJobRequest) GetJobType() JobType
func (*SetRefeshJobRequest) GetLastRunNs ¶
func (x *SetRefeshJobRequest) GetLastRunNs() int64
func (*SetRefeshJobRequest) ProtoMessage ¶
func (*SetRefeshJobRequest) ProtoMessage()
func (*SetRefeshJobRequest) ProtoReflect ¶
func (x *SetRefeshJobRequest) ProtoReflect() protoreflect.Message
func (*SetRefeshJobRequest) Reset ¶
func (x *SetRefeshJobRequest) Reset()
func (*SetRefeshJobRequest) String ¶
func (x *SetRefeshJobRequest) String() string
type SetRefreshJobResponse ¶
type SetRefreshJobResponse struct {
// contains filtered or unexported fields
}
SetRefreshJobResponse is an empty response type
func (*SetRefreshJobResponse) Descriptor
deprecated
func (*SetRefreshJobResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetRefreshJobResponse.ProtoReflect.Descriptor instead.
func (*SetRefreshJobResponse) ProtoMessage ¶
func (*SetRefreshJobResponse) ProtoMessage()
func (*SetRefreshJobResponse) ProtoReflect ¶
func (x *SetRefreshJobResponse) ProtoReflect() protoreflect.Message
func (*SetRefreshJobResponse) Reset ¶
func (x *SetRefreshJobResponse) Reset()
func (*SetRefreshJobResponse) String ¶
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