types

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (

	// message types
	TypeCreateDidDoc     = "CreateDidDocument"
	TypeUpdateDidDoc     = "UpdateDidDocument"
	TypeDeactivateDidDoc = "DeactivateDidDocument"
	TypeUpdateParams     = "UpdateParams"
)
View Source
const (
	// ModuleName defines the module name
	ModuleName = "diddoc"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// DidDocumentKeyPrefix is the prefix for DID Document related keys
	DidDocumentKeyPrefix byte = 0x01

	PrefixDidStatus                byte = 0x01
	ObjectTypeBaseFields           byte = 0x02
	ObjectTypeVerificationMethod   byte = 0x03
	ObjectTypeAuthentication       byte = 0x04
	ObjectTypeAssertionMethod      byte = 0x05
	ObjectTypeKeyAgreement         byte = 0x06
	ObjectTypeCapabilityInvocation byte = 0x07
	ObjectTypeCapabilityDelegation byte = 0x08
	ObjectTypeService              byte = 0x09
)
View Source
const DefaultDidPrefix = "did:empe:"
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default global index

Variables

View Source
var (
	ErrInvalidLengthDidDocument        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDidDocument          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDidDocument = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSignerNotGovAccount           = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
	ErrMissingSigner                 = sdkerrors.Register(ModuleName, 1101, "expected message signer")
	ErrMissingDid                    = sdkerrors.Register(ModuleName, 1102, "DID Document must include DID")
	ErrInvalidParamFormat            = sdkerrors.Register(ModuleName, 1103, "parameter does not match the required format")
	ErrDidDocumentNotFound           = sdkerrors.Register(ModuleName, 1104, "DID Document not found")
	ErrUnsupportedVerificationMethod = sdkerrors.Register(ModuleName, 1105, "unsupported verification method")
	ErrUnsupportedKeyType            = sdkerrors.Register(ModuleName, 1106, "unsupported key type")
	ErrInvalidSignature              = sdkerrors.Register(ModuleName, 1107, "invalid signature")
	ErrSignatureVerificationFailed   = sdkerrors.Register(ModuleName, 1108, "signature verification failed")
	ErrMsgValidationFailed           = sdkerrors.Register(ModuleName, 1109, "message validation failed")
	ErrInvalidVerificationMethod     = sdkerrors.Register(ModuleName, 1110, "invalid verification method")
	ErrForbiddenOperation            = sdkerrors.Register(ModuleName, 1111, "forbidden to perform operation")
)

x/ssi module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var DidDocumentStatus_name = map[int32]string{
	0: "OFF_CHAIN",
	1: "ON_CHAIN",
}
View Source
var DidDocumentStatus_value = map[string]int32{
	"OFF_CHAIN": 0,
	"ON_CHAIN":  1,
}
View Source
var DidStatus_name = map[int32]string{
	0: "ACTIVE",
	1: "DEACTIVATED",
}
View Source
var DidStatus_value = map[string]int32{
	"ACTIVE":      0,
	"DEACTIVATED": 1,
}
View Source
var UpdateOperation_name = map[int32]string{
	0: "NO_OP",
	1: "ADD",
	2: "REMOVE",
}
View Source
var UpdateOperation_value = map[string]int32{
	"NO_OP":  0,
	"ADD":    1,
	"REMOVE": 2,
}

Functions

func DidDocumentKey

func DidDocumentKey(
	did string,
) []byte

DidDocumentKey returns the store key to retrieve a DidDocument from the index fields

func DidObjKeyIndexed

func DidObjKeyIndexed(did string, objectType byte, index ...[]byte) []byte

func DidObjKeySingular

func DidObjKeySingular(did string, objectType byte) []byte

func DidStatusKey

func DidStatusKey(did string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	GetModuleAccount(ctx sdk.Context, moduleName string) authtypes.ModuleAccountI
	SetModuleAccount(ctx sdk.Context, macc authtypes.ModuleAccountI)
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	SetAccount(ctx sdk.Context, acc authtypes.AccountI)
	NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI
}

AccountKeeper defines the expected account keeper interface

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	BlockedAddr(addr sdk.AccAddress) bool
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

type BasicDidDocumentFields

type BasicDidDocumentFields struct {
	Context     []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"`
	Controller  []string `protobuf:"bytes,2,rep,name=controller,proto3" json:"controller,omitempty"`
	AlsoKnownAs []string `protobuf:"bytes,3,rep,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"`
}

func (*BasicDidDocumentFields) Descriptor

func (*BasicDidDocumentFields) Descriptor() ([]byte, []int)

func (*BasicDidDocumentFields) GetAlsoKnownAs

func (m *BasicDidDocumentFields) GetAlsoKnownAs() []string

func (*BasicDidDocumentFields) GetContext

func (m *BasicDidDocumentFields) GetContext() []string

func (*BasicDidDocumentFields) GetController

func (m *BasicDidDocumentFields) GetController() []string

func (*BasicDidDocumentFields) Marshal

func (m *BasicDidDocumentFields) Marshal() (dAtA []byte, err error)

func (*BasicDidDocumentFields) MarshalTo

func (m *BasicDidDocumentFields) MarshalTo(dAtA []byte) (int, error)

func (*BasicDidDocumentFields) MarshalToSizedBuffer

func (m *BasicDidDocumentFields) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BasicDidDocumentFields) ProtoMessage

func (*BasicDidDocumentFields) ProtoMessage()

func (*BasicDidDocumentFields) Reset

func (m *BasicDidDocumentFields) Reset()

func (*BasicDidDocumentFields) Size

func (m *BasicDidDocumentFields) Size() (n int)

func (*BasicDidDocumentFields) String

func (m *BasicDidDocumentFields) String() string

func (*BasicDidDocumentFields) Unmarshal

func (m *BasicDidDocumentFields) Unmarshal(dAtA []byte) error

func (*BasicDidDocumentFields) XXX_DiscardUnknown

func (m *BasicDidDocumentFields) XXX_DiscardUnknown()

func (*BasicDidDocumentFields) XXX_Marshal

func (m *BasicDidDocumentFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicDidDocumentFields) XXX_Merge

func (m *BasicDidDocumentFields) XXX_Merge(src proto.Message)

func (*BasicDidDocumentFields) XXX_Size

func (m *BasicDidDocumentFields) XXX_Size() int

func (*BasicDidDocumentFields) XXX_Unmarshal

func (m *BasicDidDocumentFields) XXX_Unmarshal(b []byte) error

type DidDocument

type DidDocument struct {
	Id                   string                         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Context              []string                       `protobuf:"bytes,2,rep,name=context,proto3" json:"context,omitempty"`
	Controller           []string                       `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"`
	VerificationMethod   []*DidVerificationMethod       `protobuf:"bytes,4,rep,name=verificationMethod,proto3" json:"verificationMethod,omitempty"`
	Authentication       []*DidVerificationRelationship `protobuf:"bytes,5,rep,name=authentication,proto3" json:"authentication,omitempty"`
	AssertionMethod      []*DidVerificationRelationship `protobuf:"bytes,6,rep,name=assertionMethod,proto3" json:"assertionMethod,omitempty"`
	KeyAgreement         []*DidVerificationRelationship `protobuf:"bytes,7,rep,name=keyAgreement,proto3" json:"keyAgreement,omitempty"`
	CapabilityInvocation []*DidVerificationRelationship `protobuf:"bytes,8,rep,name=capabilityInvocation,proto3" json:"capabilityInvocation,omitempty"`
	CapabilityDelegation []*DidVerificationRelationship `protobuf:"bytes,9,rep,name=capabilityDelegation,proto3" json:"capabilityDelegation,omitempty"`
	Service              []*DidDocumentService          `protobuf:"bytes,10,rep,name=service,proto3" json:"service,omitempty"`
	AlsoKnownAs          []string                       `protobuf:"bytes,11,rep,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"`
}

func (*DidDocument) Descriptor

func (*DidDocument) Descriptor() ([]byte, []int)

func (*DidDocument) GetAlsoKnownAs

func (m *DidDocument) GetAlsoKnownAs() []string

func (*DidDocument) GetAssertionMethod

func (m *DidDocument) GetAssertionMethod() []*DidVerificationRelationship

func (*DidDocument) GetAuthentication

func (m *DidDocument) GetAuthentication() []*DidVerificationRelationship

func (*DidDocument) GetBackupVerificationMethod

func (doc *DidDocument) GetBackupVerificationMethod() *DidVerificationMethod

func (*DidDocument) GetCapabilityDelegation

func (m *DidDocument) GetCapabilityDelegation() []*DidVerificationRelationship

func (*DidDocument) GetCapabilityInvocation

func (m *DidDocument) GetCapabilityInvocation() []*DidVerificationRelationship

func (*DidDocument) GetContext

func (m *DidDocument) GetContext() []string

func (*DidDocument) GetController

func (m *DidDocument) GetController() []string

func (*DidDocument) GetId

func (m *DidDocument) GetId() string

func (*DidDocument) GetKeyAgreement

func (m *DidDocument) GetKeyAgreement() []*DidVerificationRelationship

func (*DidDocument) GetPrimaryVerificationMethod

func (doc *DidDocument) GetPrimaryVerificationMethod() *DidVerificationMethod

func (*DidDocument) GetService

func (m *DidDocument) GetService() []*DidDocumentService

func (*DidDocument) GetVerificationMethod

func (m *DidDocument) GetVerificationMethod() []*DidVerificationMethod

func (*DidDocument) GetVerificationMethodByIndex

func (doc *DidDocument) GetVerificationMethodByIndex(relationships []*DidVerificationRelationship, idx int) *DidVerificationMethod

func (*DidDocument) Marshal

func (m *DidDocument) Marshal() (dAtA []byte, err error)

func (*DidDocument) MarshalTo

func (m *DidDocument) MarshalTo(dAtA []byte) (int, error)

func (*DidDocument) MarshalToSizedBuffer

func (m *DidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidDocument) ProtoMessage

func (*DidDocument) ProtoMessage()

func (*DidDocument) Reset

func (m *DidDocument) Reset()

func (*DidDocument) Size

func (m *DidDocument) Size() (n int)

func (*DidDocument) String

func (m *DidDocument) String() string

func (*DidDocument) Unmarshal

func (m *DidDocument) Unmarshal(dAtA []byte) error

func (*DidDocument) XXX_DiscardUnknown

func (m *DidDocument) XXX_DiscardUnknown()

func (*DidDocument) XXX_Marshal

func (m *DidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DidDocument) XXX_Merge

func (m *DidDocument) XXX_Merge(src proto.Message)

func (*DidDocument) XXX_Size

func (m *DidDocument) XXX_Size() int

func (*DidDocument) XXX_Unmarshal

func (m *DidDocument) XXX_Unmarshal(b []byte) error

type DidDocumentService

type DidDocumentService struct {
	Id              string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type            string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	ServiceEndpoint []string `protobuf:"bytes,3,rep,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"`
}

func (*DidDocumentService) Descriptor

func (*DidDocumentService) Descriptor() ([]byte, []int)

func (*DidDocumentService) GetId

func (m *DidDocumentService) GetId() string

func (*DidDocumentService) GetServiceEndpoint

func (m *DidDocumentService) GetServiceEndpoint() []string

func (*DidDocumentService) GetType

func (m *DidDocumentService) GetType() string

func (*DidDocumentService) Marshal

func (m *DidDocumentService) Marshal() (dAtA []byte, err error)

func (*DidDocumentService) MarshalTo

func (m *DidDocumentService) MarshalTo(dAtA []byte) (int, error)

func (*DidDocumentService) MarshalToSizedBuffer

func (m *DidDocumentService) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidDocumentService) ProtoMessage

func (*DidDocumentService) ProtoMessage()

func (*DidDocumentService) Reset

func (m *DidDocumentService) Reset()

func (*DidDocumentService) Size

func (m *DidDocumentService) Size() (n int)

func (*DidDocumentService) String

func (m *DidDocumentService) String() string

func (*DidDocumentService) Unmarshal

func (m *DidDocumentService) Unmarshal(dAtA []byte) error

func (*DidDocumentService) XXX_DiscardUnknown

func (m *DidDocumentService) XXX_DiscardUnknown()

func (*DidDocumentService) XXX_Marshal

func (m *DidDocumentService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DidDocumentService) XXX_Merge

func (m *DidDocumentService) XXX_Merge(src proto.Message)

func (*DidDocumentService) XXX_Size

func (m *DidDocumentService) XXX_Size() int

func (*DidDocumentService) XXX_Unmarshal

func (m *DidDocumentService) XXX_Unmarshal(b []byte) error

type DidDocumentStatus

type DidDocumentStatus int32
const (
	DidDocumentStatus_OFF_CHAIN DidDocumentStatus = 0
	DidDocumentStatus_ON_CHAIN  DidDocumentStatus = 1
)

func (DidDocumentStatus) EnumDescriptor

func (DidDocumentStatus) EnumDescriptor() ([]byte, []int)

func (DidDocumentStatus) String

func (x DidDocumentStatus) String() string

type DidStatus

type DidStatus int32
const (
	DidStatus_ACTIVE      DidStatus = 0
	DidStatus_DEACTIVATED DidStatus = 1
)

func (DidStatus) EnumDescriptor

func (DidStatus) EnumDescriptor() ([]byte, []int)

func (DidStatus) String

func (x DidStatus) String() string

type DidVerificationMethod

type DidVerificationMethod struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type       string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Controller string `protobuf:"bytes,3,opt,name=controller,proto3" json:"controller,omitempty"`
	// Types that are valid to be assigned to VerificationMaterial:
	//
	//	*DidVerificationMethod_PublicKeyBase58
	//	*DidVerificationMethod_PublicKeyMultibase
	//	*DidVerificationMethod_PublicKeyJwk
	VerificationMaterial isDidVerificationMethod_VerificationMaterial `protobuf_oneof:"verificationMaterial"`
}

func NewDidVerificationMethod

func NewDidVerificationMethod(id, typ, controller string, material isDidVerificationMethod_VerificationMaterial) (*DidVerificationMethod, error)

NewDidVerificationMethod constructs a DidVerificationMethod instance.

func (*DidVerificationMethod) Descriptor

func (*DidVerificationMethod) Descriptor() ([]byte, []int)

func (*DidVerificationMethod) GetController

func (m *DidVerificationMethod) GetController() string

func (*DidVerificationMethod) GetId

func (m *DidVerificationMethod) GetId() string

func (*DidVerificationMethod) GetPublicKeyBase58

func (m *DidVerificationMethod) GetPublicKeyBase58() string

func (*DidVerificationMethod) GetPublicKeyJwk

func (m *DidVerificationMethod) GetPublicKeyJwk() *JsonWebKey

func (*DidVerificationMethod) GetPublicKeyMultibase

func (m *DidVerificationMethod) GetPublicKeyMultibase() string

func (*DidVerificationMethod) GetType

func (m *DidVerificationMethod) GetType() string

func (*DidVerificationMethod) GetVerificationMaterial

func (m *DidVerificationMethod) GetVerificationMaterial() isDidVerificationMethod_VerificationMaterial

func (*DidVerificationMethod) Marshal

func (m *DidVerificationMethod) Marshal() (dAtA []byte, err error)

func (*DidVerificationMethod) MarshalTo

func (m *DidVerificationMethod) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationMethod) MarshalToSizedBuffer

func (m *DidVerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationMethod) ProtoMessage

func (*DidVerificationMethod) ProtoMessage()

func (*DidVerificationMethod) Reset

func (m *DidVerificationMethod) Reset()

func (*DidVerificationMethod) Size

func (m *DidVerificationMethod) Size() (n int)

func (*DidVerificationMethod) String

func (m *DidVerificationMethod) String() string

func (*DidVerificationMethod) Unmarshal

func (m *DidVerificationMethod) Unmarshal(dAtA []byte) error

func (*DidVerificationMethod) XXX_DiscardUnknown

func (m *DidVerificationMethod) XXX_DiscardUnknown()

func (*DidVerificationMethod) XXX_Marshal

func (m *DidVerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DidVerificationMethod) XXX_Merge

func (m *DidVerificationMethod) XXX_Merge(src proto.Message)

func (*DidVerificationMethod) XXX_OneofWrappers

func (*DidVerificationMethod) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DidVerificationMethod) XXX_Size

func (m *DidVerificationMethod) XXX_Size() int

func (*DidVerificationMethod) XXX_Unmarshal

func (m *DidVerificationMethod) XXX_Unmarshal(b []byte) error

type DidVerificationMethod_PublicKeyBase58

type DidVerificationMethod_PublicKeyBase58 struct {
	PublicKeyBase58 string `protobuf:"bytes,4,opt,name=publicKeyBase58,proto3,oneof" json:"publicKeyBase58,omitempty"`
}

func NewPublicKeyBase58VerificationMaterial

func NewPublicKeyBase58VerificationMaterial(keyBase58 string) *DidVerificationMethod_PublicKeyBase58

func (*DidVerificationMethod_PublicKeyBase58) MarshalTo

func (m *DidVerificationMethod_PublicKeyBase58) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationMethod_PublicKeyBase58) MarshalToSizedBuffer

func (m *DidVerificationMethod_PublicKeyBase58) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationMethod_PublicKeyBase58) Size

type DidVerificationMethod_PublicKeyJwk

type DidVerificationMethod_PublicKeyJwk struct {
	PublicKeyJwk *JsonWebKey `protobuf:"bytes,6,opt,name=publicKeyJwk,proto3,oneof" json:"publicKeyJwk,omitempty"`
}

func NewPublicKeyJwkVerificationMaterial

func NewPublicKeyJwkVerificationMaterial(kty, crv, x, y string) *DidVerificationMethod_PublicKeyJwk

func (*DidVerificationMethod_PublicKeyJwk) MarshalTo

func (m *DidVerificationMethod_PublicKeyJwk) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationMethod_PublicKeyJwk) MarshalToSizedBuffer

func (m *DidVerificationMethod_PublicKeyJwk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationMethod_PublicKeyJwk) Size

type DidVerificationMethod_PublicKeyMultibase

type DidVerificationMethod_PublicKeyMultibase struct {
	PublicKeyMultibase string `protobuf:"bytes,5,opt,name=publicKeyMultibase,proto3,oneof" json:"publicKeyMultibase,omitempty"`
}

func NewPublicKeyMultibaseVerificationMaterial

func NewPublicKeyMultibaseVerificationMaterial(keyMultibase string) *DidVerificationMethod_PublicKeyMultibase

func (*DidVerificationMethod_PublicKeyMultibase) MarshalTo

func (m *DidVerificationMethod_PublicKeyMultibase) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationMethod_PublicKeyMultibase) MarshalToSizedBuffer

func (m *DidVerificationMethod_PublicKeyMultibase) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationMethod_PublicKeyMultibase) Size

type DidVerificationRelationship

type DidVerificationRelationship struct {
	// Types that are valid to be assigned to AuthenticationMethod:
	//
	//	*DidVerificationRelationship_ReferenceId
	//	*DidVerificationRelationship_EmbeddedMethod
	AuthenticationMethod isDidVerificationRelationship_AuthenticationMethod `protobuf_oneof:"authenticationMethod"`
}

func NewVerificationRelationshipWithEmbeddedMethod

func NewVerificationRelationshipWithEmbeddedMethod(method *DidVerificationMethod) *DidVerificationRelationship

func NewVerificationRelationshipWithReferenceId

func NewVerificationRelationshipWithReferenceId(refId string) *DidVerificationRelationship

func (*DidVerificationRelationship) Descriptor

func (*DidVerificationRelationship) Descriptor() ([]byte, []int)

func (*DidVerificationRelationship) GetAuthenticationMethod

func (m *DidVerificationRelationship) GetAuthenticationMethod() isDidVerificationRelationship_AuthenticationMethod

func (*DidVerificationRelationship) GetEmbeddedMethod

func (m *DidVerificationRelationship) GetEmbeddedMethod() *DidVerificationMethod

func (*DidVerificationRelationship) GetId

func (dvr *DidVerificationRelationship) GetId() string

GetId returns id DidVerificationRelationship, regardless of actual type.

func (*DidVerificationRelationship) GetReferenceId

func (m *DidVerificationRelationship) GetReferenceId() string

func (*DidVerificationRelationship) Marshal

func (m *DidVerificationRelationship) Marshal() (dAtA []byte, err error)

func (*DidVerificationRelationship) MarshalTo

func (m *DidVerificationRelationship) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationRelationship) MarshalToSizedBuffer

func (m *DidVerificationRelationship) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationRelationship) ProtoMessage

func (*DidVerificationRelationship) ProtoMessage()

func (*DidVerificationRelationship) Reset

func (m *DidVerificationRelationship) Reset()

func (*DidVerificationRelationship) Size

func (m *DidVerificationRelationship) Size() (n int)

func (*DidVerificationRelationship) String

func (m *DidVerificationRelationship) String() string

func (*DidVerificationRelationship) Unmarshal

func (m *DidVerificationRelationship) Unmarshal(dAtA []byte) error

func (*DidVerificationRelationship) XXX_DiscardUnknown

func (m *DidVerificationRelationship) XXX_DiscardUnknown()

func (*DidVerificationRelationship) XXX_Marshal

func (m *DidVerificationRelationship) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DidVerificationRelationship) XXX_Merge

func (m *DidVerificationRelationship) XXX_Merge(src proto.Message)

func (*DidVerificationRelationship) XXX_OneofWrappers

func (*DidVerificationRelationship) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DidVerificationRelationship) XXX_Size

func (m *DidVerificationRelationship) XXX_Size() int

func (*DidVerificationRelationship) XXX_Unmarshal

func (m *DidVerificationRelationship) XXX_Unmarshal(b []byte) error

type DidVerificationRelationship_EmbeddedMethod

type DidVerificationRelationship_EmbeddedMethod struct {
	EmbeddedMethod *DidVerificationMethod `protobuf:"bytes,2,opt,name=embeddedMethod,proto3,oneof" json:"embeddedMethod,omitempty"`
}

func (*DidVerificationRelationship_EmbeddedMethod) MarshalTo

func (m *DidVerificationRelationship_EmbeddedMethod) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationRelationship_EmbeddedMethod) MarshalToSizedBuffer

func (m *DidVerificationRelationship_EmbeddedMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationRelationship_EmbeddedMethod) Size

type DidVerificationRelationship_ReferenceId

type DidVerificationRelationship_ReferenceId struct {
	ReferenceId string `protobuf:"bytes,1,opt,name=referenceId,proto3,oneof" json:"referenceId,omitempty"`
}

func (*DidVerificationRelationship_ReferenceId) MarshalTo

func (m *DidVerificationRelationship_ReferenceId) MarshalTo(dAtA []byte) (int, error)

func (*DidVerificationRelationship_ReferenceId) MarshalToSizedBuffer

func (m *DidVerificationRelationship_ReferenceId) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DidVerificationRelationship_ReferenceId) Size

type FieldUpdate

type FieldUpdate struct {
	Operation UpdateOperation `protobuf:"varint,1,opt,name=operation,proto3,enum=empe.diddoc.UpdateOperation" json:"operation,omitempty"`
	Value     string          `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

Generic field update message for single-value fields like context, controller, and alsoKnownAs.

func (*FieldUpdate) Descriptor

func (*FieldUpdate) Descriptor() ([]byte, []int)

func (*FieldUpdate) GetOperation

func (m *FieldUpdate) GetOperation() UpdateOperation

func (*FieldUpdate) GetValue

func (m *FieldUpdate) GetValue() string

func (*FieldUpdate) Marshal

func (m *FieldUpdate) Marshal() (dAtA []byte, err error)

func (*FieldUpdate) MarshalTo

func (m *FieldUpdate) MarshalTo(dAtA []byte) (int, error)

func (*FieldUpdate) MarshalToSizedBuffer

func (m *FieldUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FieldUpdate) ProtoMessage

func (*FieldUpdate) ProtoMessage()

func (*FieldUpdate) Reset

func (m *FieldUpdate) Reset()

func (*FieldUpdate) Size

func (m *FieldUpdate) Size() (n int)

func (*FieldUpdate) String

func (m *FieldUpdate) String() string

func (*FieldUpdate) Unmarshal

func (m *FieldUpdate) Unmarshal(dAtA []byte) error

func (*FieldUpdate) XXX_DiscardUnknown

func (m *FieldUpdate) XXX_DiscardUnknown()

func (*FieldUpdate) XXX_Marshal

func (m *FieldUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FieldUpdate) XXX_Merge

func (m *FieldUpdate) XXX_Merge(src proto.Message)

func (*FieldUpdate) XXX_Size

func (m *FieldUpdate) XXX_Size() int

func (*FieldUpdate) XXX_Unmarshal

func (m *FieldUpdate) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params          Params        `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	DidDocumentList []DidDocument `protobuf:"bytes,2,rep,name=didDocumentList,proto3" json:"didDocumentList"`
}

GenesisState defines the ssi module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default genesis state

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) GetDidDocumentList

func (m *GenesisState) GetDidDocumentList() []DidDocument

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type IdHolder

type IdHolder interface {
	GetId() string
}

type JsonWebKey

type JsonWebKey struct {
	Kty string `protobuf:"bytes,1,opt,name=kty,proto3" json:"kty,omitempty"`
	Crv string `protobuf:"bytes,2,opt,name=crv,proto3" json:"crv,omitempty"`
	X   string `protobuf:"bytes,3,opt,name=x,proto3" json:"x,omitempty"`
	Y   string `protobuf:"bytes,4,opt,name=y,proto3" json:"y,omitempty"`
}

func (*JsonWebKey) Descriptor

func (*JsonWebKey) Descriptor() ([]byte, []int)

func (*JsonWebKey) GetCrv

func (m *JsonWebKey) GetCrv() string

func (*JsonWebKey) GetKty

func (m *JsonWebKey) GetKty() string

func (*JsonWebKey) GetX

func (m *JsonWebKey) GetX() string

func (*JsonWebKey) GetY

func (m *JsonWebKey) GetY() string

func (*JsonWebKey) Marshal

func (m *JsonWebKey) Marshal() (dAtA []byte, err error)

func (*JsonWebKey) MarshalTo

func (m *JsonWebKey) MarshalTo(dAtA []byte) (int, error)

func (*JsonWebKey) MarshalToSizedBuffer

func (m *JsonWebKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JsonWebKey) ProtoMessage

func (*JsonWebKey) ProtoMessage()

func (*JsonWebKey) Reset

func (m *JsonWebKey) Reset()

func (*JsonWebKey) Size

func (m *JsonWebKey) Size() (n int)

func (*JsonWebKey) String

func (m *JsonWebKey) String() string

func (*JsonWebKey) Unmarshal

func (m *JsonWebKey) Unmarshal(dAtA []byte) error

func (*JsonWebKey) XXX_DiscardUnknown

func (m *JsonWebKey) XXX_DiscardUnknown()

func (*JsonWebKey) XXX_Marshal

func (m *JsonWebKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JsonWebKey) XXX_Merge

func (m *JsonWebKey) XXX_Merge(src proto.Message)

func (*JsonWebKey) XXX_Size

func (m *JsonWebKey) XXX_Size() int

func (*JsonWebKey) XXX_Unmarshal

func (m *JsonWebKey) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	CreateDidDocument(ctx context.Context, in *MsgCreateDidDocument, opts ...grpc.CallOption) (*MsgCreateDidDocumentResponse, error)
	UpdateDidDocument(ctx context.Context, in *MsgUpdateDidDocument, opts ...grpc.CallOption) (*MsgUpdateDidDocumentResponse, error)
	DeactivateDidDocument(ctx context.Context, in *MsgDeactivateDidDocument, opts ...grpc.CallOption) (*MsgDeactivateDidDocumentResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCreateDidDocument

type MsgCreateDidDocument struct {
	Sender      string       `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	DidDocument *DidDocument `protobuf:"bytes,2,opt,name=didDocument,proto3" json:"didDocument,omitempty"`
	Signatures  []*Signature `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
}

func NewMsgCreateDidDocument

func NewMsgCreateDidDocument(
	sender string,
	didDoc *DidDocument,
	signatures []*Signature,
) *MsgCreateDidDocument

func (*MsgCreateDidDocument) Descriptor

func (*MsgCreateDidDocument) Descriptor() ([]byte, []int)

func (*MsgCreateDidDocument) GetDidDocument

func (m *MsgCreateDidDocument) GetDidDocument() *DidDocument

func (*MsgCreateDidDocument) GetSender

func (m *MsgCreateDidDocument) GetSender() string

func (*MsgCreateDidDocument) GetSignBytes

func (msg *MsgCreateDidDocument) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (*MsgCreateDidDocument) GetSignatures

func (m *MsgCreateDidDocument) GetSignatures() []*Signature

func (*MsgCreateDidDocument) GetSigners

func (msg *MsgCreateDidDocument) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgCreateDidDocument) Marshal

func (m *MsgCreateDidDocument) Marshal() (dAtA []byte, err error)

func (*MsgCreateDidDocument) MarshalTo

func (m *MsgCreateDidDocument) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateDidDocument) MarshalToSizedBuffer

func (m *MsgCreateDidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateDidDocument) ProtoMessage

func (*MsgCreateDidDocument) ProtoMessage()

func (*MsgCreateDidDocument) Reset

func (m *MsgCreateDidDocument) Reset()

func (*MsgCreateDidDocument) Route

func (msg *MsgCreateDidDocument) Route() string

Route returns the name of the module for routing the message.

func (*MsgCreateDidDocument) Size

func (m *MsgCreateDidDocument) Size() (n int)

func (*MsgCreateDidDocument) String

func (m *MsgCreateDidDocument) String() string

func (*MsgCreateDidDocument) Type

func (msg *MsgCreateDidDocument) Type() string

Type returns the action type of the message.

func (*MsgCreateDidDocument) Unmarshal

func (m *MsgCreateDidDocument) Unmarshal(dAtA []byte) error

func (*MsgCreateDidDocument) ValidateBasic

func (msg *MsgCreateDidDocument) ValidateBasic() error

ValidateBasic performs basic validation of the message fields.

func (*MsgCreateDidDocument) XXX_DiscardUnknown

func (m *MsgCreateDidDocument) XXX_DiscardUnknown()

func (*MsgCreateDidDocument) XXX_Marshal

func (m *MsgCreateDidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateDidDocument) XXX_Merge

func (m *MsgCreateDidDocument) XXX_Merge(src proto.Message)

func (*MsgCreateDidDocument) XXX_Size

func (m *MsgCreateDidDocument) XXX_Size() int

func (*MsgCreateDidDocument) XXX_Unmarshal

func (m *MsgCreateDidDocument) XXX_Unmarshal(b []byte) error

type MsgCreateDidDocumentResponse

type MsgCreateDidDocumentResponse struct {
}

func (*MsgCreateDidDocumentResponse) Descriptor

func (*MsgCreateDidDocumentResponse) Descriptor() ([]byte, []int)

func (*MsgCreateDidDocumentResponse) Marshal

func (m *MsgCreateDidDocumentResponse) Marshal() (dAtA []byte, err error)

func (*MsgCreateDidDocumentResponse) MarshalTo

func (m *MsgCreateDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCreateDidDocumentResponse) MarshalToSizedBuffer

func (m *MsgCreateDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCreateDidDocumentResponse) ProtoMessage

func (*MsgCreateDidDocumentResponse) ProtoMessage()

func (*MsgCreateDidDocumentResponse) Reset

func (m *MsgCreateDidDocumentResponse) Reset()

func (*MsgCreateDidDocumentResponse) Size

func (m *MsgCreateDidDocumentResponse) Size() (n int)

func (*MsgCreateDidDocumentResponse) String

func (*MsgCreateDidDocumentResponse) Unmarshal

func (m *MsgCreateDidDocumentResponse) Unmarshal(dAtA []byte) error

func (*MsgCreateDidDocumentResponse) XXX_DiscardUnknown

func (m *MsgCreateDidDocumentResponse) XXX_DiscardUnknown()

func (*MsgCreateDidDocumentResponse) XXX_Marshal

func (m *MsgCreateDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCreateDidDocumentResponse) XXX_Merge

func (m *MsgCreateDidDocumentResponse) XXX_Merge(src proto.Message)

func (*MsgCreateDidDocumentResponse) XXX_Size

func (m *MsgCreateDidDocumentResponse) XXX_Size() int

func (*MsgCreateDidDocumentResponse) XXX_Unmarshal

func (m *MsgCreateDidDocumentResponse) XXX_Unmarshal(b []byte) error

type MsgDeactivateDidDocument

type MsgDeactivateDidDocument struct {
	Sender    string     `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Did       string     `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"`
	Signature *Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

func NewMsgDeactivateDidDocument

func NewMsgDeactivateDidDocument(creator string, did string, methodId, signature string) *MsgDeactivateDidDocument

func (*MsgDeactivateDidDocument) Descriptor

func (*MsgDeactivateDidDocument) Descriptor() ([]byte, []int)

func (*MsgDeactivateDidDocument) GetDid

func (m *MsgDeactivateDidDocument) GetDid() string

func (*MsgDeactivateDidDocument) GetSender

func (m *MsgDeactivateDidDocument) GetSender() string

func (*MsgDeactivateDidDocument) GetSignBytes

func (msg *MsgDeactivateDidDocument) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (*MsgDeactivateDidDocument) GetSignature

func (m *MsgDeactivateDidDocument) GetSignature() *Signature

func (*MsgDeactivateDidDocument) GetSigners

func (msg *MsgDeactivateDidDocument) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgDeactivateDidDocument) Marshal

func (m *MsgDeactivateDidDocument) Marshal() (dAtA []byte, err error)

func (*MsgDeactivateDidDocument) MarshalTo

func (m *MsgDeactivateDidDocument) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeactivateDidDocument) MarshalToSizedBuffer

func (m *MsgDeactivateDidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeactivateDidDocument) ProtoMessage

func (*MsgDeactivateDidDocument) ProtoMessage()

func (*MsgDeactivateDidDocument) Reset

func (m *MsgDeactivateDidDocument) Reset()

func (*MsgDeactivateDidDocument) Route

func (msg *MsgDeactivateDidDocument) Route() string

Route returns the name of the module for routing the message.

func (*MsgDeactivateDidDocument) Size

func (m *MsgDeactivateDidDocument) Size() (n int)

func (*MsgDeactivateDidDocument) String

func (m *MsgDeactivateDidDocument) String() string

func (*MsgDeactivateDidDocument) Type

func (msg *MsgDeactivateDidDocument) Type() string

Type returns the action type of the message.

func (*MsgDeactivateDidDocument) Unmarshal

func (m *MsgDeactivateDidDocument) Unmarshal(dAtA []byte) error

func (*MsgDeactivateDidDocument) ValidateBasic

func (msg *MsgDeactivateDidDocument) ValidateBasic() error

func (*MsgDeactivateDidDocument) XXX_DiscardUnknown

func (m *MsgDeactivateDidDocument) XXX_DiscardUnknown()

func (*MsgDeactivateDidDocument) XXX_Marshal

func (m *MsgDeactivateDidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeactivateDidDocument) XXX_Merge

func (m *MsgDeactivateDidDocument) XXX_Merge(src proto.Message)

func (*MsgDeactivateDidDocument) XXX_Size

func (m *MsgDeactivateDidDocument) XXX_Size() int

func (*MsgDeactivateDidDocument) XXX_Unmarshal

func (m *MsgDeactivateDidDocument) XXX_Unmarshal(b []byte) error

type MsgDeactivateDidDocumentResponse

type MsgDeactivateDidDocumentResponse struct {
}

func (*MsgDeactivateDidDocumentResponse) Descriptor

func (*MsgDeactivateDidDocumentResponse) Descriptor() ([]byte, []int)

func (*MsgDeactivateDidDocumentResponse) Marshal

func (m *MsgDeactivateDidDocumentResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeactivateDidDocumentResponse) MarshalTo

func (m *MsgDeactivateDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeactivateDidDocumentResponse) MarshalToSizedBuffer

func (m *MsgDeactivateDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeactivateDidDocumentResponse) ProtoMessage

func (*MsgDeactivateDidDocumentResponse) ProtoMessage()

func (*MsgDeactivateDidDocumentResponse) Reset

func (*MsgDeactivateDidDocumentResponse) Size

func (m *MsgDeactivateDidDocumentResponse) Size() (n int)

func (*MsgDeactivateDidDocumentResponse) String

func (*MsgDeactivateDidDocumentResponse) Unmarshal

func (m *MsgDeactivateDidDocumentResponse) Unmarshal(dAtA []byte) error

func (*MsgDeactivateDidDocumentResponse) XXX_DiscardUnknown

func (m *MsgDeactivateDidDocumentResponse) XXX_DiscardUnknown()

func (*MsgDeactivateDidDocumentResponse) XXX_Marshal

func (m *MsgDeactivateDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeactivateDidDocumentResponse) XXX_Merge

func (*MsgDeactivateDidDocumentResponse) XXX_Size

func (m *MsgDeactivateDidDocumentResponse) XXX_Size() int

func (*MsgDeactivateDidDocumentResponse) XXX_Unmarshal

func (m *MsgDeactivateDidDocumentResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// UpdateParams defines a (governance) operation for updating the module
	// parameters. The authority defaults to the x/gov module account.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	CreateDidDocument(context.Context, *MsgCreateDidDocument) (*MsgCreateDidDocumentResponse, error)
	UpdateDidDocument(context.Context, *MsgUpdateDidDocument) (*MsgUpdateDidDocumentResponse, error)
	DeactivateDidDocument(context.Context, *MsgDeactivateDidDocument) (*MsgDeactivateDidDocumentResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateDidDocument

type MsgUpdateDidDocument struct {
	Sender             string                    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	DidDocumentUpdates *UpdateDidDocumentRequest `protobuf:"bytes,2,opt,name=didDocumentUpdates,proto3" json:"didDocumentUpdates,omitempty"`
	Signature          *Signature                `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

func NewMsgUpdateDidDocument

func NewMsgUpdateDidDocument(
	sender string,
	didDocumentUpdates *UpdateDidDocumentRequest,
	signature *Signature,
) *MsgUpdateDidDocument

NewMsgUpdateDidDocument creates a new MsgUpdateDidDocument message.

func (*MsgUpdateDidDocument) Descriptor

func (*MsgUpdateDidDocument) Descriptor() ([]byte, []int)

func (*MsgUpdateDidDocument) GetDidDocumentUpdates

func (m *MsgUpdateDidDocument) GetDidDocumentUpdates() *UpdateDidDocumentRequest

func (*MsgUpdateDidDocument) GetSender

func (m *MsgUpdateDidDocument) GetSender() string

func (*MsgUpdateDidDocument) GetSignBytes

func (msg *MsgUpdateDidDocument) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (*MsgUpdateDidDocument) GetSignature

func (m *MsgUpdateDidDocument) GetSignature() *Signature

func (*MsgUpdateDidDocument) GetSigners

func (msg *MsgUpdateDidDocument) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgUpdateDidDocument) Marshal

func (m *MsgUpdateDidDocument) Marshal() (dAtA []byte, err error)

func (*MsgUpdateDidDocument) MarshalTo

func (m *MsgUpdateDidDocument) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateDidDocument) MarshalToSizedBuffer

func (m *MsgUpdateDidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateDidDocument) ProtoMessage

func (*MsgUpdateDidDocument) ProtoMessage()

func (*MsgUpdateDidDocument) Reset

func (m *MsgUpdateDidDocument) Reset()

func (*MsgUpdateDidDocument) Route

func (msg *MsgUpdateDidDocument) Route() string

Route returns the name of the module for routing the message.

func (*MsgUpdateDidDocument) Size

func (m *MsgUpdateDidDocument) Size() (n int)

func (*MsgUpdateDidDocument) String

func (m *MsgUpdateDidDocument) String() string

func (*MsgUpdateDidDocument) Type

func (msg *MsgUpdateDidDocument) Type() string

Type returns the action type of the message.

func (*MsgUpdateDidDocument) Unmarshal

func (m *MsgUpdateDidDocument) Unmarshal(dAtA []byte) error

func (*MsgUpdateDidDocument) ValidateBasic

func (msg *MsgUpdateDidDocument) ValidateBasic() error

func (*MsgUpdateDidDocument) XXX_DiscardUnknown

func (m *MsgUpdateDidDocument) XXX_DiscardUnknown()

func (*MsgUpdateDidDocument) XXX_Marshal

func (m *MsgUpdateDidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateDidDocument) XXX_Merge

func (m *MsgUpdateDidDocument) XXX_Merge(src proto.Message)

func (*MsgUpdateDidDocument) XXX_Size

func (m *MsgUpdateDidDocument) XXX_Size() int

func (*MsgUpdateDidDocument) XXX_Unmarshal

func (m *MsgUpdateDidDocument) XXX_Unmarshal(b []byte) error

type MsgUpdateDidDocumentResponse

type MsgUpdateDidDocumentResponse struct {
}

func (*MsgUpdateDidDocumentResponse) Descriptor

func (*MsgUpdateDidDocumentResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateDidDocumentResponse) Marshal

func (m *MsgUpdateDidDocumentResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateDidDocumentResponse) MarshalTo

func (m *MsgUpdateDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateDidDocumentResponse) MarshalToSizedBuffer

func (m *MsgUpdateDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateDidDocumentResponse) ProtoMessage

func (*MsgUpdateDidDocumentResponse) ProtoMessage()

func (*MsgUpdateDidDocumentResponse) Reset

func (m *MsgUpdateDidDocumentResponse) Reset()

func (*MsgUpdateDidDocumentResponse) Size

func (m *MsgUpdateDidDocumentResponse) Size() (n int)

func (*MsgUpdateDidDocumentResponse) String

func (*MsgUpdateDidDocumentResponse) Unmarshal

func (m *MsgUpdateDidDocumentResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateDidDocumentResponse) XXX_DiscardUnknown

func (m *MsgUpdateDidDocumentResponse) XXX_DiscardUnknown()

func (*MsgUpdateDidDocumentResponse) XXX_Marshal

func (m *MsgUpdateDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateDidDocumentResponse) XXX_Merge

func (m *MsgUpdateDidDocumentResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateDidDocumentResponse) XXX_Size

func (m *MsgUpdateDidDocumentResponse) XXX_Size() int

func (*MsgUpdateDidDocumentResponse) XXX_Unmarshal

func (m *MsgUpdateDidDocumentResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateParams

type MsgUpdateParams struct {
	// authority is the address of the governance account.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// NOTE: All parameters must be supplied.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

func (*MsgUpdateParams) Descriptor

func (*MsgUpdateParams) Descriptor() ([]byte, []int)

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) GetSignBytes

func (msg *MsgUpdateParams) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (*MsgUpdateParams) GetSigners

func (msg *MsgUpdateParams) GetSigners() []sdk.AccAddress

GetSigners defines whose signature is required.

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Route

func (msg *MsgUpdateParams) Route() string

Route returns the name of the module for routing the message.

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Type

func (msg *MsgUpdateParams) Type() string

Type returns the action type of the message.

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) ValidateBasic

func (m *MsgUpdateParams) ValidateBasic() error

ValidateBasic does a sanity check on the provided data.

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

func (*MsgUpdateParamsResponse) Descriptor

func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type ParamSubspace

type ParamSubspace interface {
	Get(context.Context, []byte, interface{})
	Set(context.Context, []byte, interface{})
}

ParamSubspace defines the expected Subspace interface for parameters.

type Params

type Params struct {
	// didPrefix is the prefix used for DIDs within this module.
	DidPrefix string `protobuf:"bytes,1,opt,name=didPrefix,proto3" json:"didPrefix,omitempty" yaml:"didPrefix"`
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams() Params

NewParams creates a new Params instance

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetDidPrefix

func (m *Params) GetDidPrefix() string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAllDidDocumentRequest

type QueryAllDidDocumentRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllDidDocumentRequest) Descriptor

func (*QueryAllDidDocumentRequest) Descriptor() ([]byte, []int)

func (*QueryAllDidDocumentRequest) GetPagination

func (m *QueryAllDidDocumentRequest) GetPagination() *query.PageRequest

func (*QueryAllDidDocumentRequest) Marshal

func (m *QueryAllDidDocumentRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllDidDocumentRequest) MarshalTo

func (m *QueryAllDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllDidDocumentRequest) MarshalToSizedBuffer

func (m *QueryAllDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllDidDocumentRequest) ProtoMessage

func (*QueryAllDidDocumentRequest) ProtoMessage()

func (*QueryAllDidDocumentRequest) Reset

func (m *QueryAllDidDocumentRequest) Reset()

func (*QueryAllDidDocumentRequest) Size

func (m *QueryAllDidDocumentRequest) Size() (n int)

func (*QueryAllDidDocumentRequest) String

func (m *QueryAllDidDocumentRequest) String() string

func (*QueryAllDidDocumentRequest) Unmarshal

func (m *QueryAllDidDocumentRequest) Unmarshal(dAtA []byte) error

func (*QueryAllDidDocumentRequest) XXX_DiscardUnknown

func (m *QueryAllDidDocumentRequest) XXX_DiscardUnknown()

func (*QueryAllDidDocumentRequest) XXX_Marshal

func (m *QueryAllDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllDidDocumentRequest) XXX_Merge

func (m *QueryAllDidDocumentRequest) XXX_Merge(src proto.Message)

func (*QueryAllDidDocumentRequest) XXX_Size

func (m *QueryAllDidDocumentRequest) XXX_Size() int

func (*QueryAllDidDocumentRequest) XXX_Unmarshal

func (m *QueryAllDidDocumentRequest) XXX_Unmarshal(b []byte) error

type QueryAllDidDocumentResponse

type QueryAllDidDocumentResponse struct {
	DidDocument []DidDocument       `protobuf:"bytes,1,rep,name=didDocument,proto3" json:"didDocument"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllDidDocumentResponse) Descriptor

func (*QueryAllDidDocumentResponse) Descriptor() ([]byte, []int)

func (*QueryAllDidDocumentResponse) GetDidDocument

func (m *QueryAllDidDocumentResponse) GetDidDocument() []DidDocument

func (*QueryAllDidDocumentResponse) GetPagination

func (m *QueryAllDidDocumentResponse) GetPagination() *query.PageResponse

func (*QueryAllDidDocumentResponse) Marshal

func (m *QueryAllDidDocumentResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllDidDocumentResponse) MarshalTo

func (m *QueryAllDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllDidDocumentResponse) MarshalToSizedBuffer

func (m *QueryAllDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllDidDocumentResponse) ProtoMessage

func (*QueryAllDidDocumentResponse) ProtoMessage()

func (*QueryAllDidDocumentResponse) Reset

func (m *QueryAllDidDocumentResponse) Reset()

func (*QueryAllDidDocumentResponse) Size

func (m *QueryAllDidDocumentResponse) Size() (n int)

func (*QueryAllDidDocumentResponse) String

func (m *QueryAllDidDocumentResponse) String() string

func (*QueryAllDidDocumentResponse) Unmarshal

func (m *QueryAllDidDocumentResponse) Unmarshal(dAtA []byte) error

func (*QueryAllDidDocumentResponse) XXX_DiscardUnknown

func (m *QueryAllDidDocumentResponse) XXX_DiscardUnknown()

func (*QueryAllDidDocumentResponse) XXX_Marshal

func (m *QueryAllDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllDidDocumentResponse) XXX_Merge

func (m *QueryAllDidDocumentResponse) XXX_Merge(src proto.Message)

func (*QueryAllDidDocumentResponse) XXX_Size

func (m *QueryAllDidDocumentResponse) XXX_Size() int

func (*QueryAllDidDocumentResponse) XXX_Unmarshal

func (m *QueryAllDidDocumentResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of DidDocument items.
	DidDocument(ctx context.Context, in *QueryGetDidDocumentRequest, opts ...grpc.CallOption) (*QueryGetDidDocumentResponse, error)
	DidDocumentAll(ctx context.Context, in *QueryAllDidDocumentRequest, opts ...grpc.CallOption) (*QueryAllDidDocumentResponse, error)
	DidStatus(ctx context.Context, in *QueryGetDidStatusRequest, opts ...grpc.CallOption) (*QueryGetDidStatusResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetDidDocumentRequest

type QueryGetDidDocumentRequest struct {
	Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
}

func (*QueryGetDidDocumentRequest) Descriptor

func (*QueryGetDidDocumentRequest) Descriptor() ([]byte, []int)

func (*QueryGetDidDocumentRequest) GetDid

func (m *QueryGetDidDocumentRequest) GetDid() string

func (*QueryGetDidDocumentRequest) Marshal

func (m *QueryGetDidDocumentRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetDidDocumentRequest) MarshalTo

func (m *QueryGetDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetDidDocumentRequest) MarshalToSizedBuffer

func (m *QueryGetDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetDidDocumentRequest) ProtoMessage

func (*QueryGetDidDocumentRequest) ProtoMessage()

func (*QueryGetDidDocumentRequest) Reset

func (m *QueryGetDidDocumentRequest) Reset()

func (*QueryGetDidDocumentRequest) Size

func (m *QueryGetDidDocumentRequest) Size() (n int)

func (*QueryGetDidDocumentRequest) String

func (m *QueryGetDidDocumentRequest) String() string

func (*QueryGetDidDocumentRequest) Unmarshal

func (m *QueryGetDidDocumentRequest) Unmarshal(dAtA []byte) error

func (*QueryGetDidDocumentRequest) XXX_DiscardUnknown

func (m *QueryGetDidDocumentRequest) XXX_DiscardUnknown()

func (*QueryGetDidDocumentRequest) XXX_Marshal

func (m *QueryGetDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetDidDocumentRequest) XXX_Merge

func (m *QueryGetDidDocumentRequest) XXX_Merge(src proto.Message)

func (*QueryGetDidDocumentRequest) XXX_Size

func (m *QueryGetDidDocumentRequest) XXX_Size() int

func (*QueryGetDidDocumentRequest) XXX_Unmarshal

func (m *QueryGetDidDocumentRequest) XXX_Unmarshal(b []byte) error

type QueryGetDidDocumentResponse

type QueryGetDidDocumentResponse struct {
	DidDocument DidDocument `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument"`
}

func (*QueryGetDidDocumentResponse) Descriptor

func (*QueryGetDidDocumentResponse) Descriptor() ([]byte, []int)

func (*QueryGetDidDocumentResponse) GetDidDocument

func (m *QueryGetDidDocumentResponse) GetDidDocument() DidDocument

func (*QueryGetDidDocumentResponse) Marshal

func (m *QueryGetDidDocumentResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetDidDocumentResponse) MarshalTo

func (m *QueryGetDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetDidDocumentResponse) MarshalToSizedBuffer

func (m *QueryGetDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetDidDocumentResponse) ProtoMessage

func (*QueryGetDidDocumentResponse) ProtoMessage()

func (*QueryGetDidDocumentResponse) Reset

func (m *QueryGetDidDocumentResponse) Reset()

func (*QueryGetDidDocumentResponse) Size

func (m *QueryGetDidDocumentResponse) Size() (n int)

func (*QueryGetDidDocumentResponse) String

func (m *QueryGetDidDocumentResponse) String() string

func (*QueryGetDidDocumentResponse) Unmarshal

func (m *QueryGetDidDocumentResponse) Unmarshal(dAtA []byte) error

func (*QueryGetDidDocumentResponse) XXX_DiscardUnknown

func (m *QueryGetDidDocumentResponse) XXX_DiscardUnknown()

func (*QueryGetDidDocumentResponse) XXX_Marshal

func (m *QueryGetDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetDidDocumentResponse) XXX_Merge

func (m *QueryGetDidDocumentResponse) XXX_Merge(src proto.Message)

func (*QueryGetDidDocumentResponse) XXX_Size

func (m *QueryGetDidDocumentResponse) XXX_Size() int

func (*QueryGetDidDocumentResponse) XXX_Unmarshal

func (m *QueryGetDidDocumentResponse) XXX_Unmarshal(b []byte) error

type QueryGetDidStatusRequest

type QueryGetDidStatusRequest struct {
	Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
}

func (*QueryGetDidStatusRequest) Descriptor

func (*QueryGetDidStatusRequest) Descriptor() ([]byte, []int)

func (*QueryGetDidStatusRequest) GetDid

func (m *QueryGetDidStatusRequest) GetDid() string

func (*QueryGetDidStatusRequest) Marshal

func (m *QueryGetDidStatusRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetDidStatusRequest) MarshalTo

func (m *QueryGetDidStatusRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetDidStatusRequest) MarshalToSizedBuffer

func (m *QueryGetDidStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetDidStatusRequest) ProtoMessage

func (*QueryGetDidStatusRequest) ProtoMessage()

func (*QueryGetDidStatusRequest) Reset

func (m *QueryGetDidStatusRequest) Reset()

func (*QueryGetDidStatusRequest) Size

func (m *QueryGetDidStatusRequest) Size() (n int)

func (*QueryGetDidStatusRequest) String

func (m *QueryGetDidStatusRequest) String() string

func (*QueryGetDidStatusRequest) Unmarshal

func (m *QueryGetDidStatusRequest) Unmarshal(dAtA []byte) error

func (*QueryGetDidStatusRequest) XXX_DiscardUnknown

func (m *QueryGetDidStatusRequest) XXX_DiscardUnknown()

func (*QueryGetDidStatusRequest) XXX_Marshal

func (m *QueryGetDidStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetDidStatusRequest) XXX_Merge

func (m *QueryGetDidStatusRequest) XXX_Merge(src proto.Message)

func (*QueryGetDidStatusRequest) XXX_Size

func (m *QueryGetDidStatusRequest) XXX_Size() int

func (*QueryGetDidStatusRequest) XXX_Unmarshal

func (m *QueryGetDidStatusRequest) XXX_Unmarshal(b []byte) error

type QueryGetDidStatusResponse

type QueryGetDidStatusResponse struct {
	DidStatus      DidStatus         `protobuf:"varint,1,opt,name=didStatus,proto3,enum=empe.diddoc.DidStatus" json:"didStatus,omitempty"`
	DocumentStatus DidDocumentStatus `protobuf:"varint,2,opt,name=documentStatus,proto3,enum=empe.diddoc.DidDocumentStatus" json:"documentStatus,omitempty"`
}

func (*QueryGetDidStatusResponse) Descriptor

func (*QueryGetDidStatusResponse) Descriptor() ([]byte, []int)

func (*QueryGetDidStatusResponse) GetDidStatus

func (m *QueryGetDidStatusResponse) GetDidStatus() DidStatus

func (*QueryGetDidStatusResponse) GetDocumentStatus

func (m *QueryGetDidStatusResponse) GetDocumentStatus() DidDocumentStatus

func (*QueryGetDidStatusResponse) Marshal

func (m *QueryGetDidStatusResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetDidStatusResponse) MarshalTo

func (m *QueryGetDidStatusResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetDidStatusResponse) MarshalToSizedBuffer

func (m *QueryGetDidStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetDidStatusResponse) ProtoMessage

func (*QueryGetDidStatusResponse) ProtoMessage()

func (*QueryGetDidStatusResponse) Reset

func (m *QueryGetDidStatusResponse) Reset()

func (*QueryGetDidStatusResponse) Size

func (m *QueryGetDidStatusResponse) Size() (n int)

func (*QueryGetDidStatusResponse) String

func (m *QueryGetDidStatusResponse) String() string

func (*QueryGetDidStatusResponse) Unmarshal

func (m *QueryGetDidStatusResponse) Unmarshal(dAtA []byte) error

func (*QueryGetDidStatusResponse) XXX_DiscardUnknown

func (m *QueryGetDidStatusResponse) XXX_DiscardUnknown()

func (*QueryGetDidStatusResponse) XXX_Marshal

func (m *QueryGetDidStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetDidStatusResponse) XXX_Merge

func (m *QueryGetDidStatusResponse) XXX_Merge(src proto.Message)

func (*QueryGetDidStatusResponse) XXX_Size

func (m *QueryGetDidStatusResponse) XXX_Size() int

func (*QueryGetDidStatusResponse) XXX_Unmarshal

func (m *QueryGetDidStatusResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of DidDocument items.
	DidDocument(context.Context, *QueryGetDidDocumentRequest) (*QueryGetDidDocumentResponse, error)
	DidDocumentAll(context.Context, *QueryAllDidDocumentRequest) (*QueryAllDidDocumentResponse, error)
	DidStatus(context.Context, *QueryGetDidStatusRequest) (*QueryGetDidStatusResponse, error)
}

QueryServer is the server API for Query service.

type ServiceUpdate

type ServiceUpdate struct {
	Operation UpdateOperation     `protobuf:"varint,1,opt,name=operation,proto3,enum=empe.diddoc.UpdateOperation" json:"operation,omitempty"`
	ServiceId string              `protobuf:"bytes,2,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
	Service   *DidDocumentService `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
}

Message for updating services.

func (*ServiceUpdate) Descriptor

func (*ServiceUpdate) Descriptor() ([]byte, []int)

func (*ServiceUpdate) GetOperation

func (m *ServiceUpdate) GetOperation() UpdateOperation

func (*ServiceUpdate) GetService

func (m *ServiceUpdate) GetService() *DidDocumentService

func (*ServiceUpdate) GetServiceId

func (m *ServiceUpdate) GetServiceId() string

func (*ServiceUpdate) Marshal

func (m *ServiceUpdate) Marshal() (dAtA []byte, err error)

func (*ServiceUpdate) MarshalTo

func (m *ServiceUpdate) MarshalTo(dAtA []byte) (int, error)

func (*ServiceUpdate) MarshalToSizedBuffer

func (m *ServiceUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServiceUpdate) ProtoMessage

func (*ServiceUpdate) ProtoMessage()

func (*ServiceUpdate) Reset

func (m *ServiceUpdate) Reset()

func (*ServiceUpdate) Size

func (m *ServiceUpdate) Size() (n int)

func (*ServiceUpdate) String

func (m *ServiceUpdate) String() string

func (*ServiceUpdate) Unmarshal

func (m *ServiceUpdate) Unmarshal(dAtA []byte) error

func (*ServiceUpdate) XXX_DiscardUnknown

func (m *ServiceUpdate) XXX_DiscardUnknown()

func (*ServiceUpdate) XXX_Marshal

func (m *ServiceUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceUpdate) XXX_Merge

func (m *ServiceUpdate) XXX_Merge(src proto.Message)

func (*ServiceUpdate) XXX_Size

func (m *ServiceUpdate) XXX_Size() int

func (*ServiceUpdate) XXX_Unmarshal

func (m *ServiceUpdate) XXX_Unmarshal(b []byte) error

type Signature

type Signature struct {
	MethodId string `protobuf:"bytes,1,opt,name=methodId,proto3" json:"methodId,omitempty"`
	SigBytes string `protobuf:"bytes,2,opt,name=sigBytes,proto3" json:"sigBytes,omitempty"`
}

func (*Signature) Descriptor

func (*Signature) Descriptor() ([]byte, []int)

func (*Signature) GetMethodId

func (m *Signature) GetMethodId() string

func (*Signature) GetSigBytes

func (m *Signature) GetSigBytes() string

func (*Signature) Marshal

func (m *Signature) Marshal() (dAtA []byte, err error)

func (*Signature) MarshalTo

func (m *Signature) MarshalTo(dAtA []byte) (int, error)

func (*Signature) MarshalToSizedBuffer

func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) Size

func (m *Signature) Size() (n int)

func (*Signature) String

func (m *Signature) String() string

func (*Signature) Unmarshal

func (m *Signature) Unmarshal(dAtA []byte) error

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signature) XXX_Merge

func (m *Signature) XXX_Merge(src proto.Message)

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

func (m *Signature) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateDidDocument

func (*UnimplementedMsgServer) DeactivateDidDocument

func (*UnimplementedMsgServer) UpdateDidDocument

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) DidDocument

func (*UnimplementedQueryServer) DidDocumentAll

func (*UnimplementedQueryServer) DidStatus

func (*UnimplementedQueryServer) Params

type UpdateDidDocumentRequest

type UpdateDidDocumentRequest struct {
	Id                          string                            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContextUpdates              []*FieldUpdate                    `protobuf:"bytes,2,rep,name=contextUpdates,proto3" json:"contextUpdates,omitempty"`
	ControllerUpdates           []*FieldUpdate                    `protobuf:"bytes,3,rep,name=controllerUpdates,proto3" json:"controllerUpdates,omitempty"`
	VerificationMethodUpdates   []*VerificationMethodUpdate       `protobuf:"bytes,4,rep,name=verificationMethodUpdates,proto3" json:"verificationMethodUpdates,omitempty"`
	AuthenticationUpdates       []*VerificationRelationshipUpdate `protobuf:"bytes,5,rep,name=authenticationUpdates,proto3" json:"authenticationUpdates,omitempty"`
	AssertionMethodUpdates      []*VerificationRelationshipUpdate `protobuf:"bytes,6,rep,name=assertionMethodUpdates,proto3" json:"assertionMethodUpdates,omitempty"`
	KeyAgreementUpdates         []*VerificationRelationshipUpdate `protobuf:"bytes,7,rep,name=keyAgreementUpdates,proto3" json:"keyAgreementUpdates,omitempty"`
	CapabilityInvocationUpdates []*VerificationRelationshipUpdate `protobuf:"bytes,8,rep,name=capabilityInvocationUpdates,proto3" json:"capabilityInvocationUpdates,omitempty"`
	CapabilityDelegationUpdates []*VerificationRelationshipUpdate `protobuf:"bytes,9,rep,name=capabilityDelegationUpdates,proto3" json:"capabilityDelegationUpdates,omitempty"`
	ServiceUpdates              []*ServiceUpdate                  `protobuf:"bytes,10,rep,name=serviceUpdates,proto3" json:"serviceUpdates,omitempty"`
	AlsoKnownAsUpdates          []*FieldUpdate                    `protobuf:"bytes,11,rep,name=alsoKnownAsUpdates,proto3" json:"alsoKnownAsUpdates,omitempty"`
}

Update request for the entire DID Document.

func (*UpdateDidDocumentRequest) Descriptor

func (*UpdateDidDocumentRequest) Descriptor() ([]byte, []int)

func (*UpdateDidDocumentRequest) GetAlsoKnownAsUpdates

func (m *UpdateDidDocumentRequest) GetAlsoKnownAsUpdates() []*FieldUpdate

func (*UpdateDidDocumentRequest) GetAssertionMethodUpdates

func (m *UpdateDidDocumentRequest) GetAssertionMethodUpdates() []*VerificationRelationshipUpdate

func (*UpdateDidDocumentRequest) GetAuthenticationUpdates

func (m *UpdateDidDocumentRequest) GetAuthenticationUpdates() []*VerificationRelationshipUpdate

func (*UpdateDidDocumentRequest) GetCapabilityDelegationUpdates

func (m *UpdateDidDocumentRequest) GetCapabilityDelegationUpdates() []*VerificationRelationshipUpdate

func (*UpdateDidDocumentRequest) GetCapabilityInvocationUpdates

func (m *UpdateDidDocumentRequest) GetCapabilityInvocationUpdates() []*VerificationRelationshipUpdate

func (*UpdateDidDocumentRequest) GetContextUpdates

func (m *UpdateDidDocumentRequest) GetContextUpdates() []*FieldUpdate

func (*UpdateDidDocumentRequest) GetControllerUpdates

func (m *UpdateDidDocumentRequest) GetControllerUpdates() []*FieldUpdate

func (*UpdateDidDocumentRequest) GetId

func (m *UpdateDidDocumentRequest) GetId() string

func (*UpdateDidDocumentRequest) GetKeyAgreementUpdates

func (m *UpdateDidDocumentRequest) GetKeyAgreementUpdates() []*VerificationRelationshipUpdate

func (*UpdateDidDocumentRequest) GetServiceUpdates

func (m *UpdateDidDocumentRequest) GetServiceUpdates() []*ServiceUpdate

func (*UpdateDidDocumentRequest) GetVerificationMethodUpdates

func (m *UpdateDidDocumentRequest) GetVerificationMethodUpdates() []*VerificationMethodUpdate

func (*UpdateDidDocumentRequest) Marshal

func (m *UpdateDidDocumentRequest) Marshal() (dAtA []byte, err error)

func (*UpdateDidDocumentRequest) MarshalTo

func (m *UpdateDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateDidDocumentRequest) MarshalToSizedBuffer

func (m *UpdateDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateDidDocumentRequest) ProtoMessage

func (*UpdateDidDocumentRequest) ProtoMessage()

func (*UpdateDidDocumentRequest) Reset

func (m *UpdateDidDocumentRequest) Reset()

func (*UpdateDidDocumentRequest) Size

func (m *UpdateDidDocumentRequest) Size() (n int)

func (*UpdateDidDocumentRequest) String

func (m *UpdateDidDocumentRequest) String() string

func (*UpdateDidDocumentRequest) Unmarshal

func (m *UpdateDidDocumentRequest) Unmarshal(dAtA []byte) error

func (*UpdateDidDocumentRequest) XXX_DiscardUnknown

func (m *UpdateDidDocumentRequest) XXX_DiscardUnknown()

func (*UpdateDidDocumentRequest) XXX_Marshal

func (m *UpdateDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDidDocumentRequest) XXX_Merge

func (m *UpdateDidDocumentRequest) XXX_Merge(src proto.Message)

func (*UpdateDidDocumentRequest) XXX_Size

func (m *UpdateDidDocumentRequest) XXX_Size() int

func (*UpdateDidDocumentRequest) XXX_Unmarshal

func (m *UpdateDidDocumentRequest) XXX_Unmarshal(b []byte) error

type UpdateOperation

type UpdateOperation int32

Shared Operation enumeration for update actions.

const (
	UpdateOperation_NO_OP  UpdateOperation = 0
	UpdateOperation_ADD    UpdateOperation = 1
	UpdateOperation_REMOVE UpdateOperation = 2
)

func (UpdateOperation) EnumDescriptor

func (UpdateOperation) EnumDescriptor() ([]byte, []int)

func (UpdateOperation) String

func (x UpdateOperation) String() string

type VerificationMethodUpdate

type VerificationMethodUpdate struct {
	Operation UpdateOperation        `protobuf:"varint,1,opt,name=operation,proto3,enum=empe.diddoc.UpdateOperation" json:"operation,omitempty"`
	MethodId  string                 `protobuf:"bytes,2,opt,name=methodId,proto3" json:"methodId,omitempty"`
	Method    *DidVerificationMethod `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
}

Message for updating verification methods.

func (*VerificationMethodUpdate) Descriptor

func (*VerificationMethodUpdate) Descriptor() ([]byte, []int)

func (*VerificationMethodUpdate) GetMethod

func (*VerificationMethodUpdate) GetMethodId

func (m *VerificationMethodUpdate) GetMethodId() string

func (*VerificationMethodUpdate) GetOperation

func (m *VerificationMethodUpdate) GetOperation() UpdateOperation

func (*VerificationMethodUpdate) Marshal

func (m *VerificationMethodUpdate) Marshal() (dAtA []byte, err error)

func (*VerificationMethodUpdate) MarshalTo

func (m *VerificationMethodUpdate) MarshalTo(dAtA []byte) (int, error)

func (*VerificationMethodUpdate) MarshalToSizedBuffer

func (m *VerificationMethodUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerificationMethodUpdate) ProtoMessage

func (*VerificationMethodUpdate) ProtoMessage()

func (*VerificationMethodUpdate) Reset

func (m *VerificationMethodUpdate) Reset()

func (*VerificationMethodUpdate) Size

func (m *VerificationMethodUpdate) Size() (n int)

func (*VerificationMethodUpdate) String

func (m *VerificationMethodUpdate) String() string

func (*VerificationMethodUpdate) Unmarshal

func (m *VerificationMethodUpdate) Unmarshal(dAtA []byte) error

func (*VerificationMethodUpdate) XXX_DiscardUnknown

func (m *VerificationMethodUpdate) XXX_DiscardUnknown()

func (*VerificationMethodUpdate) XXX_Marshal

func (m *VerificationMethodUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerificationMethodUpdate) XXX_Merge

func (m *VerificationMethodUpdate) XXX_Merge(src proto.Message)

func (*VerificationMethodUpdate) XXX_Size

func (m *VerificationMethodUpdate) XXX_Size() int

func (*VerificationMethodUpdate) XXX_Unmarshal

func (m *VerificationMethodUpdate) XXX_Unmarshal(b []byte) error

type VerificationRelationshipUpdate

type VerificationRelationshipUpdate struct {
	Operation      UpdateOperation              `protobuf:"varint,1,opt,name=operation,proto3,enum=empe.diddoc.UpdateOperation" json:"operation,omitempty"`
	RelationshipId string                       `protobuf:"bytes,2,opt,name=relationshipId,proto3" json:"relationshipId,omitempty"`
	Relationship   *DidVerificationRelationship `protobuf:"bytes,3,opt,name=relationship,proto3" json:"relationship,omitempty"`
}

Message for updating verification relationships (authentication, assertionMethod, etc.).

func (*VerificationRelationshipUpdate) Descriptor

func (*VerificationRelationshipUpdate) Descriptor() ([]byte, []int)

func (*VerificationRelationshipUpdate) GetOperation

func (*VerificationRelationshipUpdate) GetRelationship

func (*VerificationRelationshipUpdate) GetRelationshipId

func (m *VerificationRelationshipUpdate) GetRelationshipId() string

func (*VerificationRelationshipUpdate) Marshal

func (m *VerificationRelationshipUpdate) Marshal() (dAtA []byte, err error)

func (*VerificationRelationshipUpdate) MarshalTo

func (m *VerificationRelationshipUpdate) MarshalTo(dAtA []byte) (int, error)

func (*VerificationRelationshipUpdate) MarshalToSizedBuffer

func (m *VerificationRelationshipUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VerificationRelationshipUpdate) ProtoMessage

func (*VerificationRelationshipUpdate) ProtoMessage()

func (*VerificationRelationshipUpdate) Reset

func (m *VerificationRelationshipUpdate) Reset()

func (*VerificationRelationshipUpdate) Size

func (m *VerificationRelationshipUpdate) Size() (n int)

func (*VerificationRelationshipUpdate) String

func (*VerificationRelationshipUpdate) Unmarshal

func (m *VerificationRelationshipUpdate) Unmarshal(dAtA []byte) error

func (*VerificationRelationshipUpdate) XXX_DiscardUnknown

func (m *VerificationRelationshipUpdate) XXX_DiscardUnknown()

func (*VerificationRelationshipUpdate) XXX_Marshal

func (m *VerificationRelationshipUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VerificationRelationshipUpdate) XXX_Merge

func (m *VerificationRelationshipUpdate) XXX_Merge(src proto.Message)

func (*VerificationRelationshipUpdate) XXX_Size

func (m *VerificationRelationshipUpdate) XXX_Size() int

func (*VerificationRelationshipUpdate) XXX_Unmarshal

func (m *VerificationRelationshipUpdate) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL