Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterValidationApiServer(s grpc.ServiceRegistrar, srv ValidationApiServer)
- type GetAssociationStateRequest
- func (*GetAssociationStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssociationStateRequest) GetNewUpdates() []*associations.IdentityUpdate
- func (x *GetAssociationStateRequest) GetOldUpdates() []*associations.IdentityUpdate
- func (*GetAssociationStateRequest) ProtoMessage()
- func (x *GetAssociationStateRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssociationStateRequest) Reset()
- func (x *GetAssociationStateRequest) String() string
- type GetAssociationStateResponse
- func (*GetAssociationStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssociationStateResponse) GetAssociationState() *associations.AssociationState
- func (x *GetAssociationStateResponse) GetStateDiff() *associations.AssociationStateDiff
- func (*GetAssociationStateResponse) ProtoMessage()
- func (x *GetAssociationStateResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssociationStateResponse) Reset()
- func (x *GetAssociationStateResponse) String() string
- type UnimplementedValidationApiServer
- func (UnimplementedValidationApiServer) GetAssociationState(context.Context, *GetAssociationStateRequest) (*GetAssociationStateResponse, error)
- func (UnimplementedValidationApiServer) ValidateGroupMessages(context.Context, *ValidateGroupMessagesRequest) (*ValidateGroupMessagesResponse, error)
- func (UnimplementedValidationApiServer) ValidateInboxIdKeyPackages(context.Context, *ValidateKeyPackagesRequest) (*ValidateInboxIdKeyPackagesResponse, error)
- func (UnimplementedValidationApiServer) ValidateInboxIds(context.Context, *ValidateInboxIdsRequest) (*ValidateInboxIdsResponse, error)
- func (UnimplementedValidationApiServer) ValidateKeyPackages(context.Context, *ValidateKeyPackagesRequest) (*ValidateKeyPackagesResponse, error)
- func (UnimplementedValidationApiServer) VerifySmartContractWalletSignatures(context.Context, *v1.VerifySmartContractWalletSignaturesRequest) (*v1.VerifySmartContractWalletSignaturesResponse, error)
- type UnsafeValidationApiServer
- type ValidateGroupMessagesRequest
- func (*ValidateGroupMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateGroupMessagesRequest) GetGroupMessages() []*ValidateGroupMessagesRequest_GroupMessage
- func (*ValidateGroupMessagesRequest) ProtoMessage()
- func (x *ValidateGroupMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateGroupMessagesRequest) Reset()
- func (x *ValidateGroupMessagesRequest) String() string
- type ValidateGroupMessagesRequest_GroupMessage
- func (*ValidateGroupMessagesRequest_GroupMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateGroupMessagesRequest_GroupMessage) GetGroupMessageBytesTlsSerialized() []byte
- func (*ValidateGroupMessagesRequest_GroupMessage) ProtoMessage()
- func (x *ValidateGroupMessagesRequest_GroupMessage) ProtoReflect() protoreflect.Message
- func (x *ValidateGroupMessagesRequest_GroupMessage) Reset()
- func (x *ValidateGroupMessagesRequest_GroupMessage) String() string
- type ValidateGroupMessagesResponse
- func (*ValidateGroupMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateGroupMessagesResponse) GetResponses() []*ValidateGroupMessagesResponse_ValidationResponse
- func (*ValidateGroupMessagesResponse) ProtoMessage()
- func (x *ValidateGroupMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateGroupMessagesResponse) Reset()
- func (x *ValidateGroupMessagesResponse) String() string
- type ValidateGroupMessagesResponse_ValidationResponse
- func (*ValidateGroupMessagesResponse_ValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateGroupMessagesResponse_ValidationResponse) GetErrorMessage() string
- func (x *ValidateGroupMessagesResponse_ValidationResponse) GetGroupId() string
- func (x *ValidateGroupMessagesResponse_ValidationResponse) GetIsOk() bool
- func (*ValidateGroupMessagesResponse_ValidationResponse) ProtoMessage()
- func (x *ValidateGroupMessagesResponse_ValidationResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateGroupMessagesResponse_ValidationResponse) Reset()
- func (x *ValidateGroupMessagesResponse_ValidationResponse) String() string
- type ValidateInboxIdKeyPackagesRequest
- func (*ValidateInboxIdKeyPackagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdKeyPackagesRequest) GetKeyPackages() []*ValidateInboxIdKeyPackagesRequest_KeyPackage
- func (*ValidateInboxIdKeyPackagesRequest) ProtoMessage()
- func (x *ValidateInboxIdKeyPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdKeyPackagesRequest) Reset()
- func (x *ValidateInboxIdKeyPackagesRequest) String() string
- type ValidateInboxIdKeyPackagesRequest_KeyPackage
- func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) GetIsInboxIdCredential() bool
- func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) GetKeyPackageBytesTlsSerialized() []byte
- func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) ProtoMessage()
- func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) Reset()
- func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) String() string
- type ValidateInboxIdKeyPackagesResponse
- func (*ValidateInboxIdKeyPackagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdKeyPackagesResponse) GetResponses() []*ValidateInboxIdKeyPackagesResponse_Response
- func (*ValidateInboxIdKeyPackagesResponse) ProtoMessage()
- func (x *ValidateInboxIdKeyPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdKeyPackagesResponse) Reset()
- func (x *ValidateInboxIdKeyPackagesResponse) String() string
- type ValidateInboxIdKeyPackagesResponse_Response
- func (*ValidateInboxIdKeyPackagesResponse_Response) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdKeyPackagesResponse_Response) GetCredential() *identity.MlsCredential
- func (x *ValidateInboxIdKeyPackagesResponse_Response) GetErrorMessage() string
- func (x *ValidateInboxIdKeyPackagesResponse_Response) GetExpiration() uint64
- func (x *ValidateInboxIdKeyPackagesResponse_Response) GetInstallationPublicKey() []byte
- func (x *ValidateInboxIdKeyPackagesResponse_Response) GetIsOk() bool
- func (*ValidateInboxIdKeyPackagesResponse_Response) ProtoMessage()
- func (x *ValidateInboxIdKeyPackagesResponse_Response) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdKeyPackagesResponse_Response) Reset()
- func (x *ValidateInboxIdKeyPackagesResponse_Response) String() string
- type ValidateInboxIdsRequest
- func (*ValidateInboxIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdsRequest) GetRequests() []*ValidateInboxIdsRequest_ValidationRequest
- func (*ValidateInboxIdsRequest) ProtoMessage()
- func (x *ValidateInboxIdsRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdsRequest) Reset()
- func (x *ValidateInboxIdsRequest) String() string
- type ValidateInboxIdsRequest_ValidationRequest
- func (*ValidateInboxIdsRequest_ValidationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdsRequest_ValidationRequest) GetCredential() *identity.MlsCredential
- func (x *ValidateInboxIdsRequest_ValidationRequest) GetIdentityUpdates() []*associations.IdentityUpdate
- func (x *ValidateInboxIdsRequest_ValidationRequest) GetInstallationPublicKey() []byte
- func (*ValidateInboxIdsRequest_ValidationRequest) ProtoMessage()
- func (x *ValidateInboxIdsRequest_ValidationRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdsRequest_ValidationRequest) Reset()
- func (x *ValidateInboxIdsRequest_ValidationRequest) String() string
- type ValidateInboxIdsResponse
- func (*ValidateInboxIdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdsResponse) GetResponses() []*ValidateInboxIdsResponse_ValidationResponse
- func (*ValidateInboxIdsResponse) ProtoMessage()
- func (x *ValidateInboxIdsResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdsResponse) Reset()
- func (x *ValidateInboxIdsResponse) String() string
- type ValidateInboxIdsResponse_ValidationResponse
- func (*ValidateInboxIdsResponse_ValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateInboxIdsResponse_ValidationResponse) GetErrorMessage() string
- func (x *ValidateInboxIdsResponse_ValidationResponse) GetInboxId() string
- func (x *ValidateInboxIdsResponse_ValidationResponse) GetIsOk() bool
- func (*ValidateInboxIdsResponse_ValidationResponse) ProtoMessage()
- func (x *ValidateInboxIdsResponse_ValidationResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateInboxIdsResponse_ValidationResponse) Reset()
- func (x *ValidateInboxIdsResponse_ValidationResponse) String() string
- type ValidateKeyPackagesRequest
- func (*ValidateKeyPackagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateKeyPackagesRequest) GetKeyPackages() []*ValidateKeyPackagesRequest_KeyPackage
- func (*ValidateKeyPackagesRequest) ProtoMessage()
- func (x *ValidateKeyPackagesRequest) ProtoReflect() protoreflect.Message
- func (x *ValidateKeyPackagesRequest) Reset()
- func (x *ValidateKeyPackagesRequest) String() string
- type ValidateKeyPackagesRequest_KeyPackage
- func (*ValidateKeyPackagesRequest_KeyPackage) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateKeyPackagesRequest_KeyPackage) GetIsInboxIdCredential() bool
- func (x *ValidateKeyPackagesRequest_KeyPackage) GetKeyPackageBytesTlsSerialized() []byte
- func (*ValidateKeyPackagesRequest_KeyPackage) ProtoMessage()
- func (x *ValidateKeyPackagesRequest_KeyPackage) ProtoReflect() protoreflect.Message
- func (x *ValidateKeyPackagesRequest_KeyPackage) Reset()
- func (x *ValidateKeyPackagesRequest_KeyPackage) String() string
- type ValidateKeyPackagesResponse
- func (*ValidateKeyPackagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateKeyPackagesResponse) GetResponses() []*ValidateKeyPackagesResponse_ValidationResponse
- func (*ValidateKeyPackagesResponse) ProtoMessage()
- func (x *ValidateKeyPackagesResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateKeyPackagesResponse) Reset()
- func (x *ValidateKeyPackagesResponse) String() string
- type ValidateKeyPackagesResponse_ValidationResponse
- func (*ValidateKeyPackagesResponse_ValidationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateKeyPackagesResponse_ValidationResponse) GetAccountAddress() string
- func (x *ValidateKeyPackagesResponse_ValidationResponse) GetCredentialIdentityBytes() []byte
- func (x *ValidateKeyPackagesResponse_ValidationResponse) GetErrorMessage() string
- func (x *ValidateKeyPackagesResponse_ValidationResponse) GetExpiration() uint64
- func (x *ValidateKeyPackagesResponse_ValidationResponse) GetInstallationId() []byte
- func (x *ValidateKeyPackagesResponse_ValidationResponse) GetIsOk() bool
- func (*ValidateKeyPackagesResponse_ValidationResponse) ProtoMessage()
- func (x *ValidateKeyPackagesResponse_ValidationResponse) ProtoReflect() protoreflect.Message
- func (x *ValidateKeyPackagesResponse_ValidationResponse) Reset()
- func (x *ValidateKeyPackagesResponse_ValidationResponse) String() string
- type ValidationApiClient
- type ValidationApiServer
Constants ¶
const ( ValidationApi_ValidateKeyPackages_FullMethodName = "/xmtp.mls_validation.v1.ValidationApi/ValidateKeyPackages" ValidationApi_ValidateGroupMessages_FullMethodName = "/xmtp.mls_validation.v1.ValidationApi/ValidateGroupMessages" ValidationApi_GetAssociationState_FullMethodName = "/xmtp.mls_validation.v1.ValidationApi/GetAssociationState" ValidationApi_ValidateInboxIdKeyPackages_FullMethodName = "/xmtp.mls_validation.v1.ValidationApi/ValidateInboxIdKeyPackages" ValidationApi_ValidateInboxIds_FullMethodName = "/xmtp.mls_validation.v1.ValidationApi/ValidateInboxIds" ValidationApi_VerifySmartContractWalletSignatures_FullMethodName = "/xmtp.mls_validation.v1.ValidationApi/VerifySmartContractWalletSignatures" )
Variables ¶
var File_mls_validation_v1_service_proto protoreflect.FileDescriptor
var ValidationApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "xmtp.mls_validation.v1.ValidationApi", HandlerType: (*ValidationApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ValidateKeyPackages", Handler: _ValidationApi_ValidateKeyPackages_Handler, }, { MethodName: "ValidateGroupMessages", Handler: _ValidationApi_ValidateGroupMessages_Handler, }, { MethodName: "GetAssociationState", Handler: _ValidationApi_GetAssociationState_Handler, }, { MethodName: "ValidateInboxIdKeyPackages", Handler: _ValidationApi_ValidateInboxIdKeyPackages_Handler, }, { MethodName: "ValidateInboxIds", Handler: _ValidationApi_ValidateInboxIds_Handler, }, { MethodName: "VerifySmartContractWalletSignatures", Handler: _ValidationApi_VerifySmartContractWalletSignatures_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "mls_validation/v1/service.proto", }
ValidationApi_ServiceDesc is the grpc.ServiceDesc for ValidationApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterValidationApiServer ¶
func RegisterValidationApiServer(s grpc.ServiceRegistrar, srv ValidationApiServer)
Types ¶
type GetAssociationStateRequest ¶
type GetAssociationStateRequest struct { // List of identity updates OldUpdates []*associations.IdentityUpdate `protobuf:"bytes,1,rep,name=old_updates,json=oldUpdates,proto3" json:"old_updates,omitempty"` NewUpdates []*associations.IdentityUpdate `protobuf:"bytes,2,rep,name=new_updates,json=newUpdates,proto3" json:"new_updates,omitempty"` // contains filtered or unexported fields }
Request to get a final association state for identity updates
func (*GetAssociationStateRequest) Descriptor
deprecated
func (*GetAssociationStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssociationStateRequest.ProtoReflect.Descriptor instead.
func (*GetAssociationStateRequest) GetNewUpdates ¶
func (x *GetAssociationStateRequest) GetNewUpdates() []*associations.IdentityUpdate
func (*GetAssociationStateRequest) GetOldUpdates ¶
func (x *GetAssociationStateRequest) GetOldUpdates() []*associations.IdentityUpdate
func (*GetAssociationStateRequest) ProtoMessage ¶
func (*GetAssociationStateRequest) ProtoMessage()
func (*GetAssociationStateRequest) ProtoReflect ¶
func (x *GetAssociationStateRequest) ProtoReflect() protoreflect.Message
func (*GetAssociationStateRequest) Reset ¶
func (x *GetAssociationStateRequest) Reset()
func (*GetAssociationStateRequest) String ¶
func (x *GetAssociationStateRequest) String() string
type GetAssociationStateResponse ¶
type GetAssociationStateResponse struct { AssociationState *associations.AssociationState `protobuf:"bytes,1,opt,name=association_state,json=associationState,proto3" json:"association_state,omitempty"` StateDiff *associations.AssociationStateDiff `protobuf:"bytes,2,opt,name=state_diff,json=stateDiff,proto3" json:"state_diff,omitempty"` // contains filtered or unexported fields }
Response to GetAssociationStateRequest, containing the final association state for an InboxID
func (*GetAssociationStateResponse) Descriptor
deprecated
func (*GetAssociationStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAssociationStateResponse.ProtoReflect.Descriptor instead.
func (*GetAssociationStateResponse) GetAssociationState ¶
func (x *GetAssociationStateResponse) GetAssociationState() *associations.AssociationState
func (*GetAssociationStateResponse) GetStateDiff ¶
func (x *GetAssociationStateResponse) GetStateDiff() *associations.AssociationStateDiff
func (*GetAssociationStateResponse) ProtoMessage ¶
func (*GetAssociationStateResponse) ProtoMessage()
func (*GetAssociationStateResponse) ProtoReflect ¶
func (x *GetAssociationStateResponse) ProtoReflect() protoreflect.Message
func (*GetAssociationStateResponse) Reset ¶
func (x *GetAssociationStateResponse) Reset()
func (*GetAssociationStateResponse) String ¶
func (x *GetAssociationStateResponse) String() string
type UnimplementedValidationApiServer ¶
type UnimplementedValidationApiServer struct { }
UnimplementedValidationApiServer must be embedded to have forward compatible implementations.
func (UnimplementedValidationApiServer) GetAssociationState ¶
func (UnimplementedValidationApiServer) GetAssociationState(context.Context, *GetAssociationStateRequest) (*GetAssociationStateResponse, error)
func (UnimplementedValidationApiServer) ValidateGroupMessages ¶
func (UnimplementedValidationApiServer) ValidateGroupMessages(context.Context, *ValidateGroupMessagesRequest) (*ValidateGroupMessagesResponse, error)
func (UnimplementedValidationApiServer) ValidateInboxIdKeyPackages ¶
func (UnimplementedValidationApiServer) ValidateInboxIdKeyPackages(context.Context, *ValidateKeyPackagesRequest) (*ValidateInboxIdKeyPackagesResponse, error)
func (UnimplementedValidationApiServer) ValidateInboxIds ¶
func (UnimplementedValidationApiServer) ValidateInboxIds(context.Context, *ValidateInboxIdsRequest) (*ValidateInboxIdsResponse, error)
func (UnimplementedValidationApiServer) ValidateKeyPackages ¶
func (UnimplementedValidationApiServer) ValidateKeyPackages(context.Context, *ValidateKeyPackagesRequest) (*ValidateKeyPackagesResponse, error)
func (UnimplementedValidationApiServer) VerifySmartContractWalletSignatures ¶
func (UnimplementedValidationApiServer) VerifySmartContractWalletSignatures(context.Context, *v1.VerifySmartContractWalletSignaturesRequest) (*v1.VerifySmartContractWalletSignaturesResponse, error)
type UnsafeValidationApiServer ¶
type UnsafeValidationApiServer interface {
// contains filtered or unexported methods
}
UnsafeValidationApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ValidationApiServer will result in compilation errors.
type ValidateGroupMessagesRequest ¶
type ValidateGroupMessagesRequest struct { GroupMessages []*ValidateGroupMessagesRequest_GroupMessage `protobuf:"bytes,1,rep,name=group_messages,json=groupMessages,proto3" json:"group_messages,omitempty"` // contains filtered or unexported fields }
Contains a batch of serialized Group Messages
func (*ValidateGroupMessagesRequest) Descriptor
deprecated
func (*ValidateGroupMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateGroupMessagesRequest.ProtoReflect.Descriptor instead.
func (*ValidateGroupMessagesRequest) GetGroupMessages ¶
func (x *ValidateGroupMessagesRequest) GetGroupMessages() []*ValidateGroupMessagesRequest_GroupMessage
func (*ValidateGroupMessagesRequest) ProtoMessage ¶
func (*ValidateGroupMessagesRequest) ProtoMessage()
func (*ValidateGroupMessagesRequest) ProtoReflect ¶
func (x *ValidateGroupMessagesRequest) ProtoReflect() protoreflect.Message
func (*ValidateGroupMessagesRequest) Reset ¶
func (x *ValidateGroupMessagesRequest) Reset()
func (*ValidateGroupMessagesRequest) String ¶
func (x *ValidateGroupMessagesRequest) String() string
type ValidateGroupMessagesRequest_GroupMessage ¶
type ValidateGroupMessagesRequest_GroupMessage struct { GroupMessageBytesTlsSerialized []byte `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
Wrapper for each message
func (*ValidateGroupMessagesRequest_GroupMessage) Descriptor
deprecated
func (*ValidateGroupMessagesRequest_GroupMessage) Descriptor() ([]byte, []int)
Deprecated: Use ValidateGroupMessagesRequest_GroupMessage.ProtoReflect.Descriptor instead.
func (*ValidateGroupMessagesRequest_GroupMessage) GetGroupMessageBytesTlsSerialized ¶
func (x *ValidateGroupMessagesRequest_GroupMessage) GetGroupMessageBytesTlsSerialized() []byte
func (*ValidateGroupMessagesRequest_GroupMessage) ProtoMessage ¶
func (*ValidateGroupMessagesRequest_GroupMessage) ProtoMessage()
func (*ValidateGroupMessagesRequest_GroupMessage) ProtoReflect ¶
func (x *ValidateGroupMessagesRequest_GroupMessage) ProtoReflect() protoreflect.Message
func (*ValidateGroupMessagesRequest_GroupMessage) Reset ¶
func (x *ValidateGroupMessagesRequest_GroupMessage) Reset()
func (*ValidateGroupMessagesRequest_GroupMessage) String ¶
func (x *ValidateGroupMessagesRequest_GroupMessage) String() string
type ValidateGroupMessagesResponse ¶
type ValidateGroupMessagesResponse struct { Responses []*ValidateGroupMessagesResponse_ValidationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response to ValidateGroupMessagesRequest
func (*ValidateGroupMessagesResponse) Descriptor
deprecated
func (*ValidateGroupMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateGroupMessagesResponse.ProtoReflect.Descriptor instead.
func (*ValidateGroupMessagesResponse) GetResponses ¶
func (x *ValidateGroupMessagesResponse) GetResponses() []*ValidateGroupMessagesResponse_ValidationResponse
func (*ValidateGroupMessagesResponse) ProtoMessage ¶
func (*ValidateGroupMessagesResponse) ProtoMessage()
func (*ValidateGroupMessagesResponse) ProtoReflect ¶
func (x *ValidateGroupMessagesResponse) ProtoReflect() protoreflect.Message
func (*ValidateGroupMessagesResponse) Reset ¶
func (x *ValidateGroupMessagesResponse) Reset()
func (*ValidateGroupMessagesResponse) String ¶
func (x *ValidateGroupMessagesResponse) String() string
type ValidateGroupMessagesResponse_ValidationResponse ¶
type ValidateGroupMessagesResponse_ValidationResponse struct { IsOk bool `protobuf:"varint,1,opt,name=is_ok,json=isOk,proto3" json:"is_ok,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // contains filtered or unexported fields }
An individual response to one message
func (*ValidateGroupMessagesResponse_ValidationResponse) Descriptor
deprecated
func (*ValidateGroupMessagesResponse_ValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateGroupMessagesResponse_ValidationResponse.ProtoReflect.Descriptor instead.
func (*ValidateGroupMessagesResponse_ValidationResponse) GetErrorMessage ¶
func (x *ValidateGroupMessagesResponse_ValidationResponse) GetErrorMessage() string
func (*ValidateGroupMessagesResponse_ValidationResponse) GetGroupId ¶
func (x *ValidateGroupMessagesResponse_ValidationResponse) GetGroupId() string
func (*ValidateGroupMessagesResponse_ValidationResponse) GetIsOk ¶
func (x *ValidateGroupMessagesResponse_ValidationResponse) GetIsOk() bool
func (*ValidateGroupMessagesResponse_ValidationResponse) ProtoMessage ¶
func (*ValidateGroupMessagesResponse_ValidationResponse) ProtoMessage()
func (*ValidateGroupMessagesResponse_ValidationResponse) ProtoReflect ¶
func (x *ValidateGroupMessagesResponse_ValidationResponse) ProtoReflect() protoreflect.Message
func (*ValidateGroupMessagesResponse_ValidationResponse) Reset ¶
func (x *ValidateGroupMessagesResponse_ValidationResponse) Reset()
func (*ValidateGroupMessagesResponse_ValidationResponse) String ¶
func (x *ValidateGroupMessagesResponse_ValidationResponse) String() string
type ValidateInboxIdKeyPackagesRequest ¶
type ValidateInboxIdKeyPackagesRequest struct { KeyPackages []*ValidateInboxIdKeyPackagesRequest_KeyPackage `protobuf:"bytes,1,rep,name=key_packages,json=keyPackages,proto3" json:"key_packages,omitempty"` // contains filtered or unexported fields }
Contains a batch of serialized Key Packages
func (*ValidateInboxIdKeyPackagesRequest) Descriptor
deprecated
func (*ValidateInboxIdKeyPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdKeyPackagesRequest.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdKeyPackagesRequest) GetKeyPackages ¶
func (x *ValidateInboxIdKeyPackagesRequest) GetKeyPackages() []*ValidateInboxIdKeyPackagesRequest_KeyPackage
func (*ValidateInboxIdKeyPackagesRequest) ProtoMessage ¶
func (*ValidateInboxIdKeyPackagesRequest) ProtoMessage()
func (*ValidateInboxIdKeyPackagesRequest) ProtoReflect ¶
func (x *ValidateInboxIdKeyPackagesRequest) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdKeyPackagesRequest) Reset ¶
func (x *ValidateInboxIdKeyPackagesRequest) Reset()
func (*ValidateInboxIdKeyPackagesRequest) String ¶
func (x *ValidateInboxIdKeyPackagesRequest) String() string
type ValidateInboxIdKeyPackagesRequest_KeyPackage ¶
type ValidateInboxIdKeyPackagesRequest_KeyPackage struct { KeyPackageBytesTlsSerialized []byte `` /* 151-byte string literal not displayed */ IsInboxIdCredential bool `protobuf:"varint,2,opt,name=is_inbox_id_credential,json=isInboxIdCredential,proto3" json:"is_inbox_id_credential,omitempty"` // contains filtered or unexported fields }
Wrapper for each key package
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) Descriptor
deprecated
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdKeyPackagesRequest_KeyPackage.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) GetIsInboxIdCredential ¶
func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) GetIsInboxIdCredential() bool
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) GetKeyPackageBytesTlsSerialized ¶
func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) GetKeyPackageBytesTlsSerialized() []byte
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) ProtoMessage ¶
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) ProtoMessage()
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) ProtoReflect ¶
func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) Reset ¶
func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) Reset()
func (*ValidateInboxIdKeyPackagesRequest_KeyPackage) String ¶
func (x *ValidateInboxIdKeyPackagesRequest_KeyPackage) String() string
type ValidateInboxIdKeyPackagesResponse ¶
type ValidateInboxIdKeyPackagesResponse struct { Responses []*ValidateInboxIdKeyPackagesResponse_Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Validates a Inbox-ID Key Package Type
func (*ValidateInboxIdKeyPackagesResponse) Descriptor
deprecated
func (*ValidateInboxIdKeyPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdKeyPackagesResponse.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdKeyPackagesResponse) GetResponses ¶
func (x *ValidateInboxIdKeyPackagesResponse) GetResponses() []*ValidateInboxIdKeyPackagesResponse_Response
func (*ValidateInboxIdKeyPackagesResponse) ProtoMessage ¶
func (*ValidateInboxIdKeyPackagesResponse) ProtoMessage()
func (*ValidateInboxIdKeyPackagesResponse) ProtoReflect ¶
func (x *ValidateInboxIdKeyPackagesResponse) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdKeyPackagesResponse) Reset ¶
func (x *ValidateInboxIdKeyPackagesResponse) Reset()
func (*ValidateInboxIdKeyPackagesResponse) String ¶
func (x *ValidateInboxIdKeyPackagesResponse) String() string
type ValidateInboxIdKeyPackagesResponse_Response ¶
type ValidateInboxIdKeyPackagesResponse_Response struct { IsOk bool `protobuf:"varint,1,opt,name=is_ok,json=isOk,proto3" json:"is_ok,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Credential *identity.MlsCredential `protobuf:"bytes,3,opt,name=credential,proto3" json:"credential,omitempty"` InstallationPublicKey []byte `` /* 126-byte string literal not displayed */ Expiration uint64 `protobuf:"varint,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
one response corresponding to information about one key package
func (*ValidateInboxIdKeyPackagesResponse_Response) Descriptor
deprecated
func (*ValidateInboxIdKeyPackagesResponse_Response) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdKeyPackagesResponse_Response.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdKeyPackagesResponse_Response) GetCredential ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) GetCredential() *identity.MlsCredential
func (*ValidateInboxIdKeyPackagesResponse_Response) GetErrorMessage ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) GetErrorMessage() string
func (*ValidateInboxIdKeyPackagesResponse_Response) GetExpiration ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) GetExpiration() uint64
func (*ValidateInboxIdKeyPackagesResponse_Response) GetInstallationPublicKey ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) GetInstallationPublicKey() []byte
func (*ValidateInboxIdKeyPackagesResponse_Response) GetIsOk ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) GetIsOk() bool
func (*ValidateInboxIdKeyPackagesResponse_Response) ProtoMessage ¶
func (*ValidateInboxIdKeyPackagesResponse_Response) ProtoMessage()
func (*ValidateInboxIdKeyPackagesResponse_Response) ProtoReflect ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdKeyPackagesResponse_Response) Reset ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) Reset()
func (*ValidateInboxIdKeyPackagesResponse_Response) String ¶
func (x *ValidateInboxIdKeyPackagesResponse_Response) String() string
type ValidateInboxIdsRequest ¶
type ValidateInboxIdsRequest struct { // list of validation requests Requests []*ValidateInboxIdsRequest_ValidationRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
Request to validate an InboxID with the backend service. Ensures an Inbox Id <> Installation key are valid.
func (*ValidateInboxIdsRequest) Descriptor
deprecated
func (*ValidateInboxIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdsRequest.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdsRequest) GetRequests ¶
func (x *ValidateInboxIdsRequest) GetRequests() []*ValidateInboxIdsRequest_ValidationRequest
func (*ValidateInboxIdsRequest) ProtoMessage ¶
func (*ValidateInboxIdsRequest) ProtoMessage()
func (*ValidateInboxIdsRequest) ProtoReflect ¶
func (x *ValidateInboxIdsRequest) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdsRequest) Reset ¶
func (x *ValidateInboxIdsRequest) Reset()
func (*ValidateInboxIdsRequest) String ¶
func (x *ValidateInboxIdsRequest) String() string
type ValidateInboxIdsRequest_ValidationRequest ¶
type ValidateInboxIdsRequest_ValidationRequest struct { Credential *identity.MlsCredential `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"` InstallationPublicKey []byte `` /* 126-byte string literal not displayed */ IdentityUpdates []*associations.IdentityUpdate `protobuf:"bytes,3,rep,name=identity_updates,json=identityUpdates,proto3" json:"identity_updates,omitempty"` // contains filtered or unexported fields }
a single validation request
func (*ValidateInboxIdsRequest_ValidationRequest) Descriptor
deprecated
func (*ValidateInboxIdsRequest_ValidationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdsRequest_ValidationRequest.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdsRequest_ValidationRequest) GetCredential ¶
func (x *ValidateInboxIdsRequest_ValidationRequest) GetCredential() *identity.MlsCredential
func (*ValidateInboxIdsRequest_ValidationRequest) GetIdentityUpdates ¶
func (x *ValidateInboxIdsRequest_ValidationRequest) GetIdentityUpdates() []*associations.IdentityUpdate
func (*ValidateInboxIdsRequest_ValidationRequest) GetInstallationPublicKey ¶
func (x *ValidateInboxIdsRequest_ValidationRequest) GetInstallationPublicKey() []byte
func (*ValidateInboxIdsRequest_ValidationRequest) ProtoMessage ¶
func (*ValidateInboxIdsRequest_ValidationRequest) ProtoMessage()
func (*ValidateInboxIdsRequest_ValidationRequest) ProtoReflect ¶
func (x *ValidateInboxIdsRequest_ValidationRequest) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdsRequest_ValidationRequest) Reset ¶
func (x *ValidateInboxIdsRequest_ValidationRequest) Reset()
func (*ValidateInboxIdsRequest_ValidationRequest) String ¶
func (x *ValidateInboxIdsRequest_ValidationRequest) String() string
type ValidateInboxIdsResponse ¶
type ValidateInboxIdsResponse struct { // List of validation responses Responses []*ValidateInboxIdsResponse_ValidationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response to ValidateInboxIdRequest
func (*ValidateInboxIdsResponse) Descriptor
deprecated
func (*ValidateInboxIdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdsResponse.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdsResponse) GetResponses ¶
func (x *ValidateInboxIdsResponse) GetResponses() []*ValidateInboxIdsResponse_ValidationResponse
func (*ValidateInboxIdsResponse) ProtoMessage ¶
func (*ValidateInboxIdsResponse) ProtoMessage()
func (*ValidateInboxIdsResponse) ProtoReflect ¶
func (x *ValidateInboxIdsResponse) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdsResponse) Reset ¶
func (x *ValidateInboxIdsResponse) Reset()
func (*ValidateInboxIdsResponse) String ¶
func (x *ValidateInboxIdsResponse) String() string
type ValidateInboxIdsResponse_ValidationResponse ¶
type ValidateInboxIdsResponse_ValidationResponse struct { IsOk bool `protobuf:"varint,1,opt,name=is_ok,json=isOk,proto3" json:"is_ok,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` InboxId string `protobuf:"bytes,3,opt,name=inbox_id,json=inboxId,proto3" json:"inbox_id,omitempty"` // contains filtered or unexported fields }
a single validation response
func (*ValidateInboxIdsResponse_ValidationResponse) Descriptor
deprecated
func (*ValidateInboxIdsResponse_ValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateInboxIdsResponse_ValidationResponse.ProtoReflect.Descriptor instead.
func (*ValidateInboxIdsResponse_ValidationResponse) GetErrorMessage ¶
func (x *ValidateInboxIdsResponse_ValidationResponse) GetErrorMessage() string
func (*ValidateInboxIdsResponse_ValidationResponse) GetInboxId ¶
func (x *ValidateInboxIdsResponse_ValidationResponse) GetInboxId() string
func (*ValidateInboxIdsResponse_ValidationResponse) GetIsOk ¶
func (x *ValidateInboxIdsResponse_ValidationResponse) GetIsOk() bool
func (*ValidateInboxIdsResponse_ValidationResponse) ProtoMessage ¶
func (*ValidateInboxIdsResponse_ValidationResponse) ProtoMessage()
func (*ValidateInboxIdsResponse_ValidationResponse) ProtoReflect ¶
func (x *ValidateInboxIdsResponse_ValidationResponse) ProtoReflect() protoreflect.Message
func (*ValidateInboxIdsResponse_ValidationResponse) Reset ¶
func (x *ValidateInboxIdsResponse_ValidationResponse) Reset()
func (*ValidateInboxIdsResponse_ValidationResponse) String ¶
func (x *ValidateInboxIdsResponse_ValidationResponse) String() string
type ValidateKeyPackagesRequest ¶
type ValidateKeyPackagesRequest struct { KeyPackages []*ValidateKeyPackagesRequest_KeyPackage `protobuf:"bytes,1,rep,name=key_packages,json=keyPackages,proto3" json:"key_packages,omitempty"` // contains filtered or unexported fields }
Contains a batch of serialized Key Packages
func (*ValidateKeyPackagesRequest) Descriptor
deprecated
func (*ValidateKeyPackagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ValidateKeyPackagesRequest.ProtoReflect.Descriptor instead.
func (*ValidateKeyPackagesRequest) GetKeyPackages ¶
func (x *ValidateKeyPackagesRequest) GetKeyPackages() []*ValidateKeyPackagesRequest_KeyPackage
func (*ValidateKeyPackagesRequest) ProtoMessage ¶
func (*ValidateKeyPackagesRequest) ProtoMessage()
func (*ValidateKeyPackagesRequest) ProtoReflect ¶
func (x *ValidateKeyPackagesRequest) ProtoReflect() protoreflect.Message
func (*ValidateKeyPackagesRequest) Reset ¶
func (x *ValidateKeyPackagesRequest) Reset()
func (*ValidateKeyPackagesRequest) String ¶
func (x *ValidateKeyPackagesRequest) String() string
type ValidateKeyPackagesRequest_KeyPackage ¶
type ValidateKeyPackagesRequest_KeyPackage struct { KeyPackageBytesTlsSerialized []byte `` /* 151-byte string literal not displayed */ IsInboxIdCredential bool `protobuf:"varint,2,opt,name=is_inbox_id_credential,json=isInboxIdCredential,proto3" json:"is_inbox_id_credential,omitempty"` // contains filtered or unexported fields }
Wrapper for each key package
func (*ValidateKeyPackagesRequest_KeyPackage) Descriptor
deprecated
func (*ValidateKeyPackagesRequest_KeyPackage) Descriptor() ([]byte, []int)
Deprecated: Use ValidateKeyPackagesRequest_KeyPackage.ProtoReflect.Descriptor instead.
func (*ValidateKeyPackagesRequest_KeyPackage) GetIsInboxIdCredential ¶
func (x *ValidateKeyPackagesRequest_KeyPackage) GetIsInboxIdCredential() bool
func (*ValidateKeyPackagesRequest_KeyPackage) GetKeyPackageBytesTlsSerialized ¶
func (x *ValidateKeyPackagesRequest_KeyPackage) GetKeyPackageBytesTlsSerialized() []byte
func (*ValidateKeyPackagesRequest_KeyPackage) ProtoMessage ¶
func (*ValidateKeyPackagesRequest_KeyPackage) ProtoMessage()
func (*ValidateKeyPackagesRequest_KeyPackage) ProtoReflect ¶
func (x *ValidateKeyPackagesRequest_KeyPackage) ProtoReflect() protoreflect.Message
func (*ValidateKeyPackagesRequest_KeyPackage) Reset ¶
func (x *ValidateKeyPackagesRequest_KeyPackage) Reset()
func (*ValidateKeyPackagesRequest_KeyPackage) String ¶
func (x *ValidateKeyPackagesRequest_KeyPackage) String() string
type ValidateKeyPackagesResponse ¶
type ValidateKeyPackagesResponse struct { Responses []*ValidateKeyPackagesResponse_ValidationResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` // contains filtered or unexported fields }
Response to ValidateKeyPackagesRequest
func (*ValidateKeyPackagesResponse) Descriptor
deprecated
func (*ValidateKeyPackagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateKeyPackagesResponse.ProtoReflect.Descriptor instead.
func (*ValidateKeyPackagesResponse) GetResponses ¶
func (x *ValidateKeyPackagesResponse) GetResponses() []*ValidateKeyPackagesResponse_ValidationResponse
func (*ValidateKeyPackagesResponse) ProtoMessage ¶
func (*ValidateKeyPackagesResponse) ProtoMessage()
func (*ValidateKeyPackagesResponse) ProtoReflect ¶
func (x *ValidateKeyPackagesResponse) ProtoReflect() protoreflect.Message
func (*ValidateKeyPackagesResponse) Reset ¶
func (x *ValidateKeyPackagesResponse) Reset()
func (*ValidateKeyPackagesResponse) String ¶
func (x *ValidateKeyPackagesResponse) String() string
type ValidateKeyPackagesResponse_ValidationResponse ¶
type ValidateKeyPackagesResponse_ValidationResponse struct { IsOk bool `protobuf:"varint,1,opt,name=is_ok,json=isOk,proto3" json:"is_ok,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` InstallationId []byte `protobuf:"bytes,3,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` AccountAddress string `protobuf:"bytes,4,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"` CredentialIdentityBytes []byte `` /* 132-byte string literal not displayed */ Expiration uint64 `protobuf:"varint,6,opt,name=expiration,proto3" json:"expiration,omitempty"` // contains filtered or unexported fields }
An individual response to one key package
func (*ValidateKeyPackagesResponse_ValidationResponse) Descriptor
deprecated
func (*ValidateKeyPackagesResponse_ValidationResponse) Descriptor() ([]byte, []int)
Deprecated: Use ValidateKeyPackagesResponse_ValidationResponse.ProtoReflect.Descriptor instead.
func (*ValidateKeyPackagesResponse_ValidationResponse) GetAccountAddress ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) GetAccountAddress() string
func (*ValidateKeyPackagesResponse_ValidationResponse) GetCredentialIdentityBytes ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) GetCredentialIdentityBytes() []byte
func (*ValidateKeyPackagesResponse_ValidationResponse) GetErrorMessage ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) GetErrorMessage() string
func (*ValidateKeyPackagesResponse_ValidationResponse) GetExpiration ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) GetExpiration() uint64
func (*ValidateKeyPackagesResponse_ValidationResponse) GetInstallationId ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) GetInstallationId() []byte
func (*ValidateKeyPackagesResponse_ValidationResponse) GetIsOk ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) GetIsOk() bool
func (*ValidateKeyPackagesResponse_ValidationResponse) ProtoMessage ¶
func (*ValidateKeyPackagesResponse_ValidationResponse) ProtoMessage()
func (*ValidateKeyPackagesResponse_ValidationResponse) ProtoReflect ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) ProtoReflect() protoreflect.Message
func (*ValidateKeyPackagesResponse_ValidationResponse) Reset ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) Reset()
func (*ValidateKeyPackagesResponse_ValidationResponse) String ¶
func (x *ValidateKeyPackagesResponse_ValidationResponse) String() string
type ValidationApiClient ¶
type ValidationApiClient interface { // Validates and parses a batch of key packages and returns relevant details ValidateKeyPackages(ctx context.Context, in *ValidateKeyPackagesRequest, opts ...grpc.CallOption) (*ValidateKeyPackagesResponse, error) // Validates and parses a group message and returns relevant details ValidateGroupMessages(ctx context.Context, in *ValidateGroupMessagesRequest, opts ...grpc.CallOption) (*ValidateGroupMessagesResponse, error) // Gets the final association state for a batch of identity updates GetAssociationState(ctx context.Context, in *GetAssociationStateRequest, opts ...grpc.CallOption) (*GetAssociationStateResponse, error) // Validates InboxID key packages and returns credential information for them, without checking // whether an InboxId <> InstallationPublicKey pair is really valid. ValidateInboxIdKeyPackages(ctx context.Context, in *ValidateKeyPackagesRequest, opts ...grpc.CallOption) (*ValidateInboxIdKeyPackagesResponse, error) // Validate an InboxID Key Package // need public key possibly ValidateInboxIds(ctx context.Context, in *ValidateInboxIdsRequest, opts ...grpc.CallOption) (*ValidateInboxIdsResponse, error) // Verifies smart contracts // This request is proxied from the node, so we'll reuse those messgaes. VerifySmartContractWalletSignatures(ctx context.Context, in *v1.VerifySmartContractWalletSignaturesRequest, opts ...grpc.CallOption) (*v1.VerifySmartContractWalletSignaturesResponse, error) }
ValidationApiClient is the client API for ValidationApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewValidationApiClient ¶
func NewValidationApiClient(cc grpc.ClientConnInterface) ValidationApiClient
type ValidationApiServer ¶
type ValidationApiServer interface { // Validates and parses a batch of key packages and returns relevant details ValidateKeyPackages(context.Context, *ValidateKeyPackagesRequest) (*ValidateKeyPackagesResponse, error) // Validates and parses a group message and returns relevant details ValidateGroupMessages(context.Context, *ValidateGroupMessagesRequest) (*ValidateGroupMessagesResponse, error) // Gets the final association state for a batch of identity updates GetAssociationState(context.Context, *GetAssociationStateRequest) (*GetAssociationStateResponse, error) // Validates InboxID key packages and returns credential information for them, without checking // whether an InboxId <> InstallationPublicKey pair is really valid. ValidateInboxIdKeyPackages(context.Context, *ValidateKeyPackagesRequest) (*ValidateInboxIdKeyPackagesResponse, error) // Validate an InboxID Key Package // need public key possibly ValidateInboxIds(context.Context, *ValidateInboxIdsRequest) (*ValidateInboxIdsResponse, error) // Verifies smart contracts // This request is proxied from the node, so we'll reuse those messgaes. VerifySmartContractWalletSignatures(context.Context, *v1.VerifySmartContractWalletSignaturesRequest) (*v1.VerifySmartContractWalletSignaturesResponse, error) // contains filtered or unexported methods }
ValidationApiServer is the server API for ValidationApi service. All implementations must embed UnimplementedValidationApiServer for forward compatibility