Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetDidDocVersionKey(did string, version string) []byte
- func GetDidDocVersionsPrefix(did string) []byte
- func GetLatestDidDocVersionKey(did string) []byte
- func GetLatestDidDocVersionPrefix() []byte
- func GetServiceIds(vms []*Service) []string
- func GetSignInfoIds(infos []*SignInfo) []string
- func GetVerificationMethodIds(vms []*VerificationMethod) []string
- func IsUniqueSignInfoList(infos []*SignInfo) bool
- func MsgCreateDidPayloadFromDid(did *didtypesv1.Did) didtypesv1.MsgCreateDidPayload
- func NormalizeSignInfoList(signatures []*SignInfo)
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func VerificationMethodListToMapByFragment(vms []*VerificationMethod) map[string]VerificationMethod
- func VerifySignature(vm VerificationMethod, message []byte, signature []byte) error
- type CustomErrorRule
- func HasPrefix(prefix string) *CustomErrorRule
- func IsDID(allowedNamespaces []string) *CustomErrorRule
- func IsDIDUrl(allowedNamespaces []string, pathRule, queryRule, fragmentRule ValidationType) *CustomErrorRule
- func IsID() *CustomErrorRule
- func IsJWK() *CustomErrorRule
- func IsMultibase() *CustomErrorRule
- func IsMultibaseEncodedEd25519PubKey() *CustomErrorRule
- func IsURI() *CustomErrorRule
- func IsUUID() *CustomErrorRule
- func IsUniqueServiceListByIdRule() *CustomErrorRule
- func IsUniqueSignInfoListByIdRule() *CustomErrorRule
- func IsUniqueSignInfoListRule() *CustomErrorRule
- func IsUniqueStrList() *CustomErrorRule
- func IsUniqueVerificationMethodListByIdRule() *CustomErrorRule
- func NewCustomErrorRule(fn func(value interface{}) error) *CustomErrorRule
- func ValidEd25519VerificationKey2020Rule() *CustomErrorRule
- func ValidJsonWebKey2020Rule() *CustomErrorRule
- func ValidMsgCreateDidPayloadRule(allowedNamespaces []string) *CustomErrorRule
- func ValidMsgDeactivateDidPayloadRule(allowedNamespaces []string) *CustomErrorRule
- func ValidMsgUpdateDidPayloadRule(allowedNamespaces []string) *CustomErrorRule
- func ValidServiceRule(baseDid string, allowedNamespaces []string) *CustomErrorRule
- func ValidSignInfoRule(allowedNamespaces []string) *CustomErrorRule
- func ValidVerificationMethodRule(baseDid string, allowedNamespaces []string) *CustomErrorRule
- type DidDoc
- func (didDoc *DidDoc) AllControllerDids() []string
- func (*DidDoc) Descriptor() ([]byte, []int)
- func (m *DidDoc) GetAlsoKnownAs() []string
- func (m *DidDoc) GetAssertionMethod() []string
- func (m *DidDoc) GetAuthentication() []string
- func (m *DidDoc) GetCapabilityDelegation() []string
- func (m *DidDoc) GetCapabilityInvocation() []string
- func (m *DidDoc) GetContext() []string
- func (m *DidDoc) GetController() []string
- func (didDoc *DidDoc) GetControllersOrSubject() []string
- func (m *DidDoc) GetId() string
- func (m *DidDoc) GetKeyAgreement() []string
- func (m *DidDoc) GetService() []*Service
- func (m *DidDoc) GetVerificationMethod() []*VerificationMethod
- func (didDoc *DidDoc) GetVerificationMethodControllers() []string
- func (m *DidDoc) Marshal() (dAtA []byte, err error)
- func (m *DidDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDoc) ProtoMessage()
- func (didDoc *DidDoc) ReplaceDids(old, new string)
- func (m *DidDoc) Reset()
- func (m *DidDoc) Size() (n int)
- func (m *DidDoc) String() string
- func (m *DidDoc) Unmarshal(dAtA []byte) error
- func (didDoc DidDoc) Validate(allowedNamespaces []string) error
- func (m *DidDoc) XXX_DiscardUnknown()
- func (m *DidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDoc) XXX_Merge(src proto.Message)
- func (m *DidDoc) XXX_Size() int
- func (m *DidDoc) XXX_Unmarshal(b []byte) error
- type DidDocVersionSet
- func (*DidDocVersionSet) Descriptor() ([]byte, []int)
- func (m *DidDocVersionSet) GetDidDocs() []*DidDocWithMetadata
- func (m *DidDocVersionSet) GetLatestVersion() string
- func (m *DidDocVersionSet) Marshal() (dAtA []byte, err error)
- func (m *DidDocVersionSet) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocVersionSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocVersionSet) ProtoMessage()
- func (m *DidDocVersionSet) Reset()
- func (m *DidDocVersionSet) Size() (n int)
- func (m *DidDocVersionSet) String() string
- func (m *DidDocVersionSet) Unmarshal(dAtA []byte) error
- func (m *DidDocVersionSet) XXX_DiscardUnknown()
- func (m *DidDocVersionSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocVersionSet) XXX_Merge(src proto.Message)
- func (m *DidDocVersionSet) XXX_Size() int
- func (m *DidDocVersionSet) XXX_Unmarshal(b []byte) error
- type DidDocWithMetadata
- func (*DidDocWithMetadata) Descriptor() ([]byte, []int)
- func (m *DidDocWithMetadata) GetDidDoc() *DidDoc
- func (m *DidDocWithMetadata) GetMetadata() *Metadata
- func (m *DidDocWithMetadata) Marshal() (dAtA []byte, err error)
- func (m *DidDocWithMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocWithMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocWithMetadata) ProtoMessage()
- func (d *DidDocWithMetadata) ReplaceDids(old, new string)
- func (m *DidDocWithMetadata) Reset()
- func (m *DidDocWithMetadata) Size() (n int)
- func (m *DidDocWithMetadata) String() string
- func (m *DidDocWithMetadata) Unmarshal(dAtA []byte) error
- func (m *DidDocWithMetadata) XXX_DiscardUnknown()
- func (m *DidDocWithMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocWithMetadata) XXX_Merge(src proto.Message)
- func (m *DidDocWithMetadata) XXX_Size() int
- func (m *DidDocWithMetadata) XXX_Unmarshal(b []byte) error
- type Ed25519VerificationKey2020
- type FeeParams
- func (*FeeParams) Descriptor() ([]byte, []int)
- func (this *FeeParams) Equal(that interface{}) bool
- func (m *FeeParams) GetCreateDid() types.Coin
- func (m *FeeParams) GetDeactivateDid() types.Coin
- func (m *FeeParams) GetUpdateDid() types.Coin
- func (m *FeeParams) Marshal() (dAtA []byte, err error)
- func (m *FeeParams) MarshalTo(dAtA []byte) (int, error)
- func (m *FeeParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FeeParams) ProtoMessage()
- func (m *FeeParams) Reset()
- func (m *FeeParams) Size() (n int)
- func (m *FeeParams) String() string
- func (m *FeeParams) Unmarshal(dAtA []byte) error
- func (tfp *FeeParams) ValidateBasic() error
- func (m *FeeParams) XXX_DiscardUnknown()
- func (m *FeeParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FeeParams) XXX_Merge(src proto.Message)
- func (m *FeeParams) XXX_Size() int
- func (m *FeeParams) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetDidNamespace() string
- func (m *GenesisState) GetFeeParams() *FeeParams
- func (m *GenesisState) GetVersionSets() []*DidDocVersionSet
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (gs GenesisState) ValidateBasic() error
- func (gs GenesisState) ValidateNoDuplicates() error
- func (gs GenesisState) ValidateVersionSets() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type IdentityMsg
- type JsonWebKey2020
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetCreated() string
- func (m *Metadata) GetDeactivated() bool
- func (m *Metadata) GetNextVersionId() string
- func (m *Metadata) GetPreviousVersionId() string
- func (m *Metadata) GetUpdated() string
- func (m *Metadata) GetVersionId() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) Update(ctx sdk.Context, version string)
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateDidDoc
- func (*MsgCreateDidDoc) Descriptor() ([]byte, []int)
- func (m *MsgCreateDidDoc) GetPayload() *MsgCreateDidDocPayload
- func (msg *MsgCreateDidDoc) GetSignBytes() []byte
- func (m *MsgCreateDidDoc) GetSignatures() []*SignInfo
- func (msg *MsgCreateDidDoc) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDidDoc) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDidDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgCreateDidDoc) Normalize()
- func (*MsgCreateDidDoc) ProtoMessage()
- func (m *MsgCreateDidDoc) Reset()
- func (msg *MsgCreateDidDoc) Route() string
- func (m *MsgCreateDidDoc) Size() (n int)
- func (m *MsgCreateDidDoc) String() string
- func (msg *MsgCreateDidDoc) Type() string
- func (m *MsgCreateDidDoc) Unmarshal(dAtA []byte) error
- func (msg MsgCreateDidDoc) Validate(allowedNamespaces []string) error
- func (msg *MsgCreateDidDoc) ValidateBasic() error
- func (m *MsgCreateDidDoc) XXX_DiscardUnknown()
- func (m *MsgCreateDidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDidDoc) XXX_Merge(src proto.Message)
- func (m *MsgCreateDidDoc) XXX_Size() int
- func (m *MsgCreateDidDoc) XXX_Unmarshal(b []byte) error
- type MsgCreateDidDocPayload
- func (*MsgCreateDidDocPayload) Descriptor() ([]byte, []int)
- func (m *MsgCreateDidDocPayload) GetAlsoKnownAs() []string
- func (m *MsgCreateDidDocPayload) GetAssertionMethod() []string
- func (m *MsgCreateDidDocPayload) GetAuthentication() []string
- func (m *MsgCreateDidDocPayload) GetCapabilityDelegation() []string
- func (m *MsgCreateDidDocPayload) GetCapabilityInvocation() []string
- func (m *MsgCreateDidDocPayload) GetContext() []string
- func (m *MsgCreateDidDocPayload) GetController() []string
- func (m *MsgCreateDidDocPayload) GetId() string
- func (m *MsgCreateDidDocPayload) GetKeyAgreement() []string
- func (m *MsgCreateDidDocPayload) GetService() []*Service
- func (msg *MsgCreateDidDocPayload) GetSignBytes() []byte
- func (m *MsgCreateDidDocPayload) GetVerificationMethod() []*VerificationMethod
- func (m *MsgCreateDidDocPayload) GetVersionId() string
- func (m *MsgCreateDidDocPayload) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDidDocPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDidDocPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgCreateDidDocPayload) Normalize()
- func (*MsgCreateDidDocPayload) ProtoMessage()
- func (m *MsgCreateDidDocPayload) Reset()
- func (m *MsgCreateDidDocPayload) Size() (n int)
- func (m *MsgCreateDidDocPayload) String() string
- func (msg *MsgCreateDidDocPayload) ToDidDoc() DidDoc
- func (m *MsgCreateDidDocPayload) Unmarshal(dAtA []byte) error
- func (msg MsgCreateDidDocPayload) Validate(allowedNamespaces []string) error
- func (m *MsgCreateDidDocPayload) XXX_DiscardUnknown()
- func (m *MsgCreateDidDocPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDidDocPayload) XXX_Merge(src proto.Message)
- func (m *MsgCreateDidDocPayload) XXX_Size() int
- func (m *MsgCreateDidDocPayload) XXX_Unmarshal(b []byte) error
- type MsgCreateDidDocResponse
- func (*MsgCreateDidDocResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDidDocResponse) GetValue() *DidDocWithMetadata
- func (m *MsgCreateDidDocResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDidDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDidDocResponse) ProtoMessage()
- func (m *MsgCreateDidDocResponse) Reset()
- func (m *MsgCreateDidDocResponse) Size() (n int)
- func (m *MsgCreateDidDocResponse) String() string
- func (m *MsgCreateDidDocResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDidDocResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDidDocResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDidDocResponse) XXX_Size() int
- func (m *MsgCreateDidDocResponse) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDidDoc
- func (*MsgDeactivateDidDoc) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDidDoc) GetPayload() *MsgDeactivateDidDocPayload
- func (msg *MsgDeactivateDidDoc) GetSignBytes() []byte
- func (m *MsgDeactivateDidDoc) GetSignatures() []*SignInfo
- func (msg *MsgDeactivateDidDoc) GetSigners() []sdk.AccAddress
- func (m *MsgDeactivateDidDoc) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDidDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgDeactivateDidDoc) Normalize()
- func (*MsgDeactivateDidDoc) ProtoMessage()
- func (m *MsgDeactivateDidDoc) Reset()
- func (msg *MsgDeactivateDidDoc) Route() string
- func (m *MsgDeactivateDidDoc) Size() (n int)
- func (m *MsgDeactivateDidDoc) String() string
- func (msg *MsgDeactivateDidDoc) Type() string
- func (m *MsgDeactivateDidDoc) Unmarshal(dAtA []byte) error
- func (msg MsgDeactivateDidDoc) Validate(allowedNamespaces []string) error
- func (msg *MsgDeactivateDidDoc) ValidateBasic() error
- func (m *MsgDeactivateDidDoc) XXX_DiscardUnknown()
- func (m *MsgDeactivateDidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDidDoc) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDidDoc) XXX_Size() int
- func (m *MsgDeactivateDidDoc) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDidDocPayload
- func (*MsgDeactivateDidDocPayload) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDidDocPayload) GetId() string
- func (msg *MsgDeactivateDidDocPayload) GetSignBytes() []byte
- func (m *MsgDeactivateDidDocPayload) GetVersionId() string
- func (m *MsgDeactivateDidDocPayload) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDidDocPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDidDocPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgDeactivateDidDocPayload) Normalize()
- func (*MsgDeactivateDidDocPayload) ProtoMessage()
- func (m *MsgDeactivateDidDocPayload) Reset()
- func (m *MsgDeactivateDidDocPayload) Size() (n int)
- func (m *MsgDeactivateDidDocPayload) String() string
- func (m *MsgDeactivateDidDocPayload) Unmarshal(dAtA []byte) error
- func (msg MsgDeactivateDidDocPayload) Validate(allowedNamespaces []string) error
- func (m *MsgDeactivateDidDocPayload) XXX_DiscardUnknown()
- func (m *MsgDeactivateDidDocPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDidDocPayload) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDidDocPayload) XXX_Size() int
- func (m *MsgDeactivateDidDocPayload) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDidDocResponse
- func (*MsgDeactivateDidDocResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDidDocResponse) GetValue() *DidDocWithMetadata
- func (m *MsgDeactivateDidDocResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDidDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDidDocResponse) ProtoMessage()
- func (m *MsgDeactivateDidDocResponse) Reset()
- func (m *MsgDeactivateDidDocResponse) Size() (n int)
- func (m *MsgDeactivateDidDocResponse) String() string
- func (m *MsgDeactivateDidDocResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeactivateDidDocResponse) XXX_DiscardUnknown()
- func (m *MsgDeactivateDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDidDocResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDidDocResponse) XXX_Size() int
- func (m *MsgDeactivateDidDocResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateDidDoc
- func (*MsgUpdateDidDoc) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDidDoc) GetPayload() *MsgUpdateDidDocPayload
- func (msg *MsgUpdateDidDoc) GetSignBytes() []byte
- func (m *MsgUpdateDidDoc) GetSignatures() []*SignInfo
- func (msg *MsgUpdateDidDoc) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDidDoc) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDidDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgUpdateDidDoc) Normalize()
- func (*MsgUpdateDidDoc) ProtoMessage()
- func (m *MsgUpdateDidDoc) Reset()
- func (msg *MsgUpdateDidDoc) Route() string
- func (m *MsgUpdateDidDoc) Size() (n int)
- func (m *MsgUpdateDidDoc) String() string
- func (msg *MsgUpdateDidDoc) Type() string
- func (m *MsgUpdateDidDoc) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateDidDoc) Validate(allowedNamespaces []string) error
- func (msg *MsgUpdateDidDoc) ValidateBasic() error
- func (m *MsgUpdateDidDoc) XXX_DiscardUnknown()
- func (m *MsgUpdateDidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDidDoc) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDidDoc) XXX_Size() int
- func (m *MsgUpdateDidDoc) XXX_Unmarshal(b []byte) error
- type MsgUpdateDidDocPayload
- func (*MsgUpdateDidDocPayload) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDidDocPayload) GetAlsoKnownAs() []string
- func (m *MsgUpdateDidDocPayload) GetAssertionMethod() []string
- func (m *MsgUpdateDidDocPayload) GetAuthentication() []string
- func (m *MsgUpdateDidDocPayload) GetCapabilityDelegation() []string
- func (m *MsgUpdateDidDocPayload) GetCapabilityInvocation() []string
- func (m *MsgUpdateDidDocPayload) GetContext() []string
- func (m *MsgUpdateDidDocPayload) GetController() []string
- func (m *MsgUpdateDidDocPayload) GetId() string
- func (m *MsgUpdateDidDocPayload) GetKeyAgreement() []string
- func (m *MsgUpdateDidDocPayload) GetService() []*Service
- func (msg *MsgUpdateDidDocPayload) GetSignBytes() []byte
- func (m *MsgUpdateDidDocPayload) GetVerificationMethod() []*VerificationMethod
- func (m *MsgUpdateDidDocPayload) GetVersionId() string
- func (m *MsgUpdateDidDocPayload) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDidDocPayload) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDidDocPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (msg *MsgUpdateDidDocPayload) Normalize()
- func (*MsgUpdateDidDocPayload) ProtoMessage()
- func (m *MsgUpdateDidDocPayload) Reset()
- func (m *MsgUpdateDidDocPayload) Size() (n int)
- func (m *MsgUpdateDidDocPayload) String() string
- func (msg *MsgUpdateDidDocPayload) ToDidDoc() DidDoc
- func (m *MsgUpdateDidDocPayload) Unmarshal(dAtA []byte) error
- func (msg MsgUpdateDidDocPayload) Validate(allowedNamespaces []string) error
- func (m *MsgUpdateDidDocPayload) XXX_DiscardUnknown()
- func (m *MsgUpdateDidDocPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDidDocPayload) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDidDocPayload) XXX_Size() int
- func (m *MsgUpdateDidDocPayload) XXX_Unmarshal(b []byte) error
- type MsgUpdateDidDocResponse
- func (*MsgUpdateDidDocResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDidDocResponse) GetValue() *DidDocWithMetadata
- func (m *MsgUpdateDidDocResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDidDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDidDocResponse) ProtoMessage()
- func (m *MsgUpdateDidDocResponse) Reset()
- func (m *MsgUpdateDidDocResponse) Size() (n int)
- func (m *MsgUpdateDidDocResponse) String() string
- func (m *MsgUpdateDidDocResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDidDocResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDidDocResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDidDocResponse) XXX_Size() int
- func (m *MsgUpdateDidDocResponse) XXX_Unmarshal(b []byte) error
- type ParamSubspace
- type QueryClient
- type QueryGetAllDidDocVersionsMetadataRequest
- func (*QueryGetAllDidDocVersionsMetadataRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAllDidDocVersionsMetadataRequest) GetId() string
- func (m *QueryGetAllDidDocVersionsMetadataRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAllDidDocVersionsMetadataRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAllDidDocVersionsMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (query *QueryGetAllDidDocVersionsMetadataRequest) Normalize()
- func (*QueryGetAllDidDocVersionsMetadataRequest) ProtoMessage()
- func (m *QueryGetAllDidDocVersionsMetadataRequest) Reset()
- func (m *QueryGetAllDidDocVersionsMetadataRequest) Size() (n int)
- func (m *QueryGetAllDidDocVersionsMetadataRequest) String() string
- func (m *QueryGetAllDidDocVersionsMetadataRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_DiscardUnknown()
- func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Size() int
- func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAllDidDocVersionsMetadataResponse
- func (*QueryGetAllDidDocVersionsMetadataResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAllDidDocVersionsMetadataResponse) GetVersions() []*Metadata
- func (m *QueryGetAllDidDocVersionsMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAllDidDocVersionsMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAllDidDocVersionsMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAllDidDocVersionsMetadataResponse) ProtoMessage()
- func (m *QueryGetAllDidDocVersionsMetadataResponse) Reset()
- func (m *QueryGetAllDidDocVersionsMetadataResponse) Size() (n int)
- func (m *QueryGetAllDidDocVersionsMetadataResponse) String() string
- func (m *QueryGetAllDidDocVersionsMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_DiscardUnknown()
- func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Size() int
- func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocRequest
- func (*QueryGetDidDocRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocRequest) GetId() string
- func (m *QueryGetDidDocRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDidDocRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDidDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (query *QueryGetDidDocRequest) Normalize()
- func (*QueryGetDidDocRequest) ProtoMessage()
- func (m *QueryGetDidDocRequest) Reset()
- func (m *QueryGetDidDocRequest) Size() (n int)
- func (m *QueryGetDidDocRequest) String() string
- func (m *QueryGetDidDocRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetDidDocRequest) XXX_DiscardUnknown()
- func (m *QueryGetDidDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDidDocRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetDidDocRequest) XXX_Size() int
- func (m *QueryGetDidDocRequest) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocResponse
- func (*QueryGetDidDocResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocResponse) GetValue() *DidDocWithMetadata
- func (m *QueryGetDidDocResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDidDocResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDidDocResponse) ProtoMessage()
- func (m *QueryGetDidDocResponse) Reset()
- func (m *QueryGetDidDocResponse) Size() (n int)
- func (m *QueryGetDidDocResponse) String() string
- func (m *QueryGetDidDocResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetDidDocResponse) XXX_DiscardUnknown()
- func (m *QueryGetDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDidDocResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetDidDocResponse) XXX_Size() int
- func (m *QueryGetDidDocResponse) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocVersionRequest
- func (*QueryGetDidDocVersionRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocVersionRequest) GetId() string
- func (m *QueryGetDidDocVersionRequest) GetVersion() string
- func (m *QueryGetDidDocVersionRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDidDocVersionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDidDocVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (query *QueryGetDidDocVersionRequest) Normalize()
- func (*QueryGetDidDocVersionRequest) ProtoMessage()
- func (m *QueryGetDidDocVersionRequest) Reset()
- func (m *QueryGetDidDocVersionRequest) Size() (n int)
- func (m *QueryGetDidDocVersionRequest) String() string
- func (m *QueryGetDidDocVersionRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetDidDocVersionRequest) XXX_DiscardUnknown()
- func (m *QueryGetDidDocVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDidDocVersionRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetDidDocVersionRequest) XXX_Size() int
- func (m *QueryGetDidDocVersionRequest) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocVersionResponse
- func (*QueryGetDidDocVersionResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocVersionResponse) GetValue() *DidDocWithMetadata
- func (m *QueryGetDidDocVersionResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDidDocVersionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDidDocVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDidDocVersionResponse) ProtoMessage()
- func (m *QueryGetDidDocVersionResponse) Reset()
- func (m *QueryGetDidDocVersionResponse) Size() (n int)
- func (m *QueryGetDidDocVersionResponse) String() string
- func (m *QueryGetDidDocVersionResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetDidDocVersionResponse) XXX_DiscardUnknown()
- func (m *QueryGetDidDocVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDidDocVersionResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetDidDocVersionResponse) XXX_Size() int
- func (m *QueryGetDidDocVersionResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetId() string
- func (m *Service) GetServiceEndpoint() []string
- func (m *Service) GetType() string
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (s *Service) ReplaceDids(old, new string)
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (s Service) Validate(baseDid string, allowedNamespaces []string) error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type SignInfo
- func (*SignInfo) Descriptor() ([]byte, []int)
- func (m *SignInfo) GetSignature() []byte
- func (m *SignInfo) GetVerificationMethodId() string
- func (m *SignInfo) Marshal() (dAtA []byte, err error)
- func (m *SignInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (si *SignInfo) Normalize()
- func (*SignInfo) ProtoMessage()
- func (m *SignInfo) Reset()
- func (m *SignInfo) Size() (n int)
- func (m *SignInfo) String() string
- func (m *SignInfo) Unmarshal(dAtA []byte) error
- func (si SignInfo) Validate(allowedNamespaces []string) error
- func (m *SignInfo) XXX_DiscardUnknown()
- func (m *SignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInfo) XXX_Merge(src proto.Message)
- func (m *SignInfo) XXX_Size() int
- func (m *SignInfo) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateDidDoc(ctx context.Context, req *MsgCreateDidDoc) (*MsgCreateDidDocResponse, error)
- func (*UnimplementedMsgServer) DeactivateDidDoc(ctx context.Context, req *MsgDeactivateDidDoc) (*MsgDeactivateDidDocResponse, error)
- func (*UnimplementedMsgServer) UpdateDidDoc(ctx context.Context, req *MsgUpdateDidDoc) (*MsgUpdateDidDocResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) AllDidDocVersionsMetadata(ctx context.Context, req *QueryGetAllDidDocVersionsMetadataRequest) (*QueryGetAllDidDocVersionsMetadataResponse, error)
- func (*UnimplementedQueryServer) DidDoc(ctx context.Context, req *QueryGetDidDocRequest) (*QueryGetDidDocResponse, error)
- func (*UnimplementedQueryServer) DidDocVersion(ctx context.Context, req *QueryGetDidDocVersionRequest) (*QueryGetDidDocVersionResponse, error)
- type ValidationType
- type VerificationMaterial
- type VerificationMethod
- func (*VerificationMethod) Descriptor() ([]byte, []int)
- func (m *VerificationMethod) GetController() string
- func (m *VerificationMethod) GetId() string
- func (m *VerificationMethod) GetType() string
- func (m *VerificationMethod) GetVerificationMaterial() string
- func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
- func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationMethod) ProtoMessage()
- func (vm *VerificationMethod) ReplaceDids(old, new string)
- func (m *VerificationMethod) Reset()
- func (m *VerificationMethod) Size() (n int)
- func (m *VerificationMethod) String() string
- func (m *VerificationMethod) Unmarshal(dAtA []byte) error
- func (vm VerificationMethod) Validate(baseDid string, allowedNamespaces []string) error
- func (m *VerificationMethod) XXX_DiscardUnknown()
- func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationMethod) XXX_Merge(src proto.Message)
- func (m *VerificationMethod) XXX_Size() int
- func (m *VerificationMethod) XXX_Unmarshal(b []byte) error
Constants ¶
const ( BaseMinimalDenom = "ncheq" BaseFactor = 1e9 )
const ( DefaultDidNamespace = "testnet" DefaultCreateDidTxFee = 50e9 // 50 CHEQ or 50000000000 ncheq DefaultUpdateDidTxFee = 25e9 // 25 CHEQ or 25000000000 ncheq DefaultDeactivateDidTxFee = 10e9 // 10 CHEQ or 10000000000 ncheq DefaultBurnFactor = "0.500000000000000000" // 0.5 or 50% )
const ( // ModuleName defines the module name ModuleName = "cheqd" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName DidMethod = ModuleName )
const ( LatestDidDocVersionKey = "did-latest:" DidDocVersionKey = "did-version:" DidDocCountKey = "did-count:" DidNamespaceKey = "did-namespace:" )
const ( QueryGetDidDoc = "get-diddoc" QueryGetAllDidDocVersions = "get-all-diddoc-versions" QueryGetDidDocVersion = "get-diddoc-version" )
Variables ¶
var ( ErrInvalidLengthDiddoc = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDiddoc = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDiddoc = fmt.Errorf("proto: unexpected end of group") )
var ( ErrBadRequest = sdkerrors.Register(ModuleName, 1000, "bad request") ErrInvalidSignature = sdkerrors.Register(ModuleName, 1100, "invalid signature detected") ErrSignatureNotFound = sdkerrors.Register(ModuleName, 1101, "signature is required but not found") ErrDidDocExists = sdkerrors.Register(ModuleName, 1200, "DID Doc exists") ErrDidDocNotFound = sdkerrors.Register(ModuleName, 1201, "DID Doc not found") ErrVerificationMethodNotFound = sdkerrors.Register(ModuleName, 1202, "verification method not found") ErrUnexpectedDidVersion = sdkerrors.Register(ModuleName, 1203, "unexpected DID version") ErrBasicValidation = sdkerrors.Register(ModuleName, 1205, "basic validation failed") ErrNamespaceValidation = sdkerrors.Register(ModuleName, 1206, "DID namespace validation failed") ErrDIDDocDeactivated = sdkerrors.Register(ModuleName, 1207, "DID Doc already deactivated") ErrUnpackStateValue = sdkerrors.Register(ModuleName, 1300, "invalid did state value") ErrInternal = sdkerrors.Register(ModuleName, 1500, "internal error") )
x/cheqd module sentinel errors
var ( ErrInvalidLengthFee = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFee = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFee = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var (
ParamStoreKeyFeeParams = []byte("feeparams")
)
Parameter store key
var SupportedMethodTypes = []string{ JsonWebKey2020{}.Type(), Ed25519VerificationKey2020{}.Type(), }
Functions ¶
func GetDidDocVersionKey ¶
func GetDidDocVersionsPrefix ¶
func GetLatestDidDocVersionPrefix ¶
func GetLatestDidDocVersionPrefix() []byte
func GetServiceIds ¶
func GetSignInfoIds ¶
func GetVerificationMethodIds ¶
func GetVerificationMethodIds(vms []*VerificationMethod) []string
func IsUniqueSignInfoList ¶
func MsgCreateDidPayloadFromDid ¶
func MsgCreateDidPayloadFromDid(did *didtypesv1.Did) didtypesv1.MsgCreateDidPayload
func NormalizeSignInfoList ¶
func NormalizeSignInfoList(signatures []*SignInfo)
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
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)
func VerificationMethodListToMapByFragment ¶
func VerificationMethodListToMapByFragment(vms []*VerificationMethod) map[string]VerificationMethod
func VerifySignature ¶
func VerifySignature(vm VerificationMethod, message []byte, signature []byte) error
Types ¶
type CustomErrorRule ¶
type CustomErrorRule struct {
// contains filtered or unexported fields
}
func HasPrefix ¶
func HasPrefix(prefix string) *CustomErrorRule
func IsDID ¶
func IsDID(allowedNamespaces []string) *CustomErrorRule
func IsDIDUrl ¶
func IsDIDUrl(allowedNamespaces []string, pathRule, queryRule, fragmentRule ValidationType) *CustomErrorRule
func IsID ¶
func IsID() *CustomErrorRule
func IsJWK ¶
func IsJWK() *CustomErrorRule
func IsMultibase ¶
func IsMultibase() *CustomErrorRule
func IsMultibaseEncodedEd25519PubKey ¶
func IsMultibaseEncodedEd25519PubKey() *CustomErrorRule
func IsURI ¶
func IsURI() *CustomErrorRule
func IsUUID ¶
func IsUUID() *CustomErrorRule
func IsUniqueServiceListByIdRule ¶
func IsUniqueServiceListByIdRule() *CustomErrorRule
func IsUniqueSignInfoListByIdRule ¶
func IsUniqueSignInfoListByIdRule() *CustomErrorRule
func IsUniqueSignInfoListRule ¶
func IsUniqueSignInfoListRule() *CustomErrorRule
func IsUniqueStrList ¶
func IsUniqueStrList() *CustomErrorRule
func IsUniqueVerificationMethodListByIdRule ¶
func IsUniqueVerificationMethodListByIdRule() *CustomErrorRule
func NewCustomErrorRule ¶
func NewCustomErrorRule(fn func(value interface{}) error) *CustomErrorRule
func ValidEd25519VerificationKey2020Rule ¶
func ValidEd25519VerificationKey2020Rule() *CustomErrorRule
func ValidJsonWebKey2020Rule ¶
func ValidJsonWebKey2020Rule() *CustomErrorRule
func ValidMsgCreateDidPayloadRule ¶
func ValidMsgCreateDidPayloadRule(allowedNamespaces []string) *CustomErrorRule
func ValidMsgDeactivateDidPayloadRule ¶
func ValidMsgDeactivateDidPayloadRule(allowedNamespaces []string) *CustomErrorRule
func ValidMsgUpdateDidPayloadRule ¶
func ValidMsgUpdateDidPayloadRule(allowedNamespaces []string) *CustomErrorRule
func ValidServiceRule ¶
func ValidServiceRule(baseDid string, allowedNamespaces []string) *CustomErrorRule
func ValidSignInfoRule ¶
func ValidSignInfoRule(allowedNamespaces []string) *CustomErrorRule
func ValidVerificationMethodRule ¶
func ValidVerificationMethodRule(baseDid string, allowedNamespaces []string) *CustomErrorRule
func (CustomErrorRule) Validate ¶
func (c CustomErrorRule) Validate(value interface{}) error
type DidDoc ¶
type DidDoc struct { Context []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"` VerificationMethod []*VerificationMethod `protobuf:"bytes,4,rep,name=verification_method,json=verificationMethod,proto3" json:"verification_method,omitempty"` Authentication []string `protobuf:"bytes,5,rep,name=authentication,proto3" json:"authentication,omitempty"` AssertionMethod []string `protobuf:"bytes,6,rep,name=assertion_method,json=assertionMethod,proto3" json:"assertion_method,omitempty"` CapabilityInvocation []string `protobuf:"bytes,7,rep,name=capability_invocation,json=capabilityInvocation,proto3" json:"capability_invocation,omitempty"` CapabilityDelegation []string `protobuf:"bytes,8,rep,name=capability_delegation,json=capabilityDelegation,proto3" json:"capability_delegation,omitempty"` KeyAgreement []string `protobuf:"bytes,9,rep,name=key_agreement,json=keyAgreement,proto3" json:"key_agreement,omitempty"` Service []*Service `protobuf:"bytes,10,rep,name=service,proto3" json:"service,omitempty"` AlsoKnownAs []string `protobuf:"bytes,11,rep,name=also_known_as,json=alsoKnownAs,proto3" json:"also_known_as,omitempty"` }
func (*DidDoc) AllControllerDids ¶
AllControllerDids returns controller DIDs used in both did.controllers and did.verification_method.controller
func (*DidDoc) Descriptor ¶
func (*DidDoc) GetAlsoKnownAs ¶
func (*DidDoc) GetAssertionMethod ¶
func (*DidDoc) GetAuthentication ¶
func (*DidDoc) GetCapabilityDelegation ¶
func (*DidDoc) GetCapabilityInvocation ¶
func (*DidDoc) GetContext ¶
func (*DidDoc) GetController ¶
func (*DidDoc) GetControllersOrSubject ¶
func (*DidDoc) GetKeyAgreement ¶
func (*DidDoc) GetService ¶
func (*DidDoc) GetVerificationMethod ¶
func (m *DidDoc) GetVerificationMethod() []*VerificationMethod
func (*DidDoc) GetVerificationMethodControllers ¶
func (*DidDoc) MarshalToSizedBuffer ¶
func (*DidDoc) ProtoMessage ¶
func (*DidDoc) ProtoMessage()
func (*DidDoc) ReplaceDids ¶
ReplaceDids replaces ids in all controller and id fields
func (*DidDoc) XXX_DiscardUnknown ¶
func (m *DidDoc) XXX_DiscardUnknown()
func (*DidDoc) XXX_Marshal ¶
func (*DidDoc) XXX_Unmarshal ¶
type DidDocVersionSet ¶
type DidDocVersionSet struct { LatestVersion string `protobuf:"bytes,1,opt,name=latest_version,json=latestVersion,proto3" json:"latest_version,omitempty"` DidDocs []*DidDocWithMetadata `protobuf:"bytes,2,rep,name=did_docs,json=didDocs,proto3" json:"did_docs,omitempty"` }
func (*DidDocVersionSet) Descriptor ¶
func (*DidDocVersionSet) Descriptor() ([]byte, []int)
func (*DidDocVersionSet) GetDidDocs ¶
func (m *DidDocVersionSet) GetDidDocs() []*DidDocWithMetadata
func (*DidDocVersionSet) GetLatestVersion ¶
func (m *DidDocVersionSet) GetLatestVersion() string
func (*DidDocVersionSet) Marshal ¶
func (m *DidDocVersionSet) Marshal() (dAtA []byte, err error)
func (*DidDocVersionSet) MarshalToSizedBuffer ¶
func (m *DidDocVersionSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocVersionSet) ProtoMessage ¶
func (*DidDocVersionSet) ProtoMessage()
func (*DidDocVersionSet) Reset ¶
func (m *DidDocVersionSet) Reset()
func (*DidDocVersionSet) Size ¶
func (m *DidDocVersionSet) Size() (n int)
func (*DidDocVersionSet) String ¶
func (m *DidDocVersionSet) String() string
func (*DidDocVersionSet) Unmarshal ¶
func (m *DidDocVersionSet) Unmarshal(dAtA []byte) error
func (*DidDocVersionSet) XXX_DiscardUnknown ¶
func (m *DidDocVersionSet) XXX_DiscardUnknown()
func (*DidDocVersionSet) XXX_Marshal ¶
func (m *DidDocVersionSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocVersionSet) XXX_Merge ¶
func (m *DidDocVersionSet) XXX_Merge(src proto.Message)
func (*DidDocVersionSet) XXX_Size ¶
func (m *DidDocVersionSet) XXX_Size() int
func (*DidDocVersionSet) XXX_Unmarshal ¶
func (m *DidDocVersionSet) XXX_Unmarshal(b []byte) error
type DidDocWithMetadata ¶
type DidDocWithMetadata struct { DidDoc *DidDoc `protobuf:"bytes,1,opt,name=did_doc,json=didDoc,proto3" json:"did_doc,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` }
func NewDidDocWithMetadata ¶
func NewDidDocWithMetadata(didDoc *DidDoc, metadata *Metadata) DidDocWithMetadata
func (*DidDocWithMetadata) Descriptor ¶
func (*DidDocWithMetadata) Descriptor() ([]byte, []int)
func (*DidDocWithMetadata) GetDidDoc ¶
func (m *DidDocWithMetadata) GetDidDoc() *DidDoc
func (*DidDocWithMetadata) GetMetadata ¶
func (m *DidDocWithMetadata) GetMetadata() *Metadata
func (*DidDocWithMetadata) Marshal ¶
func (m *DidDocWithMetadata) Marshal() (dAtA []byte, err error)
func (*DidDocWithMetadata) MarshalTo ¶
func (m *DidDocWithMetadata) MarshalTo(dAtA []byte) (int, error)
func (*DidDocWithMetadata) MarshalToSizedBuffer ¶
func (m *DidDocWithMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocWithMetadata) ProtoMessage ¶
func (*DidDocWithMetadata) ProtoMessage()
func (*DidDocWithMetadata) ReplaceDids ¶
func (d *DidDocWithMetadata) ReplaceDids(old, new string)
func (*DidDocWithMetadata) Reset ¶
func (m *DidDocWithMetadata) Reset()
func (*DidDocWithMetadata) Size ¶
func (m *DidDocWithMetadata) Size() (n int)
func (*DidDocWithMetadata) String ¶
func (m *DidDocWithMetadata) String() string
func (*DidDocWithMetadata) Unmarshal ¶
func (m *DidDocWithMetadata) Unmarshal(dAtA []byte) error
func (*DidDocWithMetadata) XXX_DiscardUnknown ¶
func (m *DidDocWithMetadata) XXX_DiscardUnknown()
func (*DidDocWithMetadata) XXX_Marshal ¶
func (m *DidDocWithMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocWithMetadata) XXX_Merge ¶
func (m *DidDocWithMetadata) XXX_Merge(src proto.Message)
func (*DidDocWithMetadata) XXX_Size ¶
func (m *DidDocWithMetadata) XXX_Size() int
func (*DidDocWithMetadata) XXX_Unmarshal ¶
func (m *DidDocWithMetadata) XXX_Unmarshal(b []byte) error
type Ed25519VerificationKey2020 ¶
type Ed25519VerificationKey2020 struct {
PublicKeyMultibase string `json:"publicKeyMultibase"`
}
func (Ed25519VerificationKey2020) Type ¶
func (vm Ed25519VerificationKey2020) Type() string
func (Ed25519VerificationKey2020) Validate ¶
func (vm Ed25519VerificationKey2020) Validate() error
type FeeParams ¶
type FeeParams struct { // Tx types define the fixed fee each for the `did` module. CreateDid types.Coin `protobuf:"bytes,1,opt,name=create_did,json=createDid,proto3" json:"create_did"` UpdateDid types.Coin `protobuf:"bytes,2,opt,name=update_did,json=updateDid,proto3" json:"update_did"` DeactivateDid types.Coin `protobuf:"bytes,3,opt,name=deactivate_did,json=deactivateDid,proto3" json:"deactivate_did"` BurnFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 131-byte string literal not displayed */ }
FeeParams defines the parameters for the `did` module fixed fee.
func DefaultFeeParams ¶
func DefaultFeeParams() *FeeParams
DefaultFeeParams returns default cheqd module tx fee parameters
func (*FeeParams) Descriptor ¶
func (*FeeParams) GetCreateDid ¶
func (*FeeParams) GetDeactivateDid ¶
func (*FeeParams) GetUpdateDid ¶
func (*FeeParams) MarshalToSizedBuffer ¶
func (*FeeParams) ProtoMessage ¶
func (*FeeParams) ProtoMessage()
func (*FeeParams) ValidateBasic ¶
ValidateBasic performs basic validation of cheqd module tx fee parameters
func (*FeeParams) XXX_DiscardUnknown ¶
func (m *FeeParams) XXX_DiscardUnknown()
func (*FeeParams) XXX_Marshal ¶
func (*FeeParams) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { DidNamespace string `protobuf:"bytes,1,opt,name=did_namespace,json=didNamespace,proto3" json:"did_namespace,omitempty"` VersionSets []*DidDocVersionSet `protobuf:"bytes,2,rep,name=version_sets,json=versionSets,proto3" json:"version_sets,omitempty"` FeeParams *FeeParams `protobuf:"bytes,3,opt,name=fee_params,json=feeParams,proto3" json:"fee_params,omitempty"` }
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default `did` genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetDidNamespace ¶
func (m *GenesisState) GetDidNamespace() string
func (*GenesisState) GetFeeParams ¶
func (m *GenesisState) GetFeeParams() *FeeParams
func (*GenesisState) GetVersionSets ¶
func (m *GenesisState) GetVersionSets() []*DidDocVersionSet
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err 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) ValidateBasic ¶
func (gs GenesisState) ValidateBasic() error
func (GenesisState) ValidateNoDuplicates ¶
func (gs GenesisState) ValidateNoDuplicates() error
func (GenesisState) ValidateVersionSets ¶
func (gs GenesisState) ValidateVersionSets() error
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 IdentityMsg ¶
type IdentityMsg interface {
GetSignBytes() []byte
}
type JsonWebKey2020 ¶
type JsonWebKey2020 struct {
PublicKeyJwk json.RawMessage `json:"publicKeyJwk"`
}
func (JsonWebKey2020) Type ¶
func (vm JsonWebKey2020) Type() string
func (JsonWebKey2020) Validate ¶
func (vm JsonWebKey2020) Validate() error
type Metadata ¶
type Metadata struct { Created string `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"` Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` VersionId string `protobuf:"bytes,4,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` NextVersionId string `protobuf:"bytes,5,opt,name=next_version_id,json=nextVersionId,proto3" json:"next_version_id,omitempty"` PreviousVersionId string `protobuf:"bytes,6,opt,name=previous_version_id,json=previousVersionId,proto3" json:"previous_version_id,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) GetCreated ¶
func (*Metadata) GetDeactivated ¶
func (*Metadata) GetNextVersionId ¶
func (*Metadata) GetPreviousVersionId ¶
func (*Metadata) GetUpdated ¶
func (*Metadata) GetVersionId ¶
func (*Metadata) MarshalToSizedBuffer ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface { CreateDidDoc(ctx context.Context, in *MsgCreateDidDoc, opts ...grpc.CallOption) (*MsgCreateDidDocResponse, error) UpdateDidDoc(ctx context.Context, in *MsgUpdateDidDoc, opts ...grpc.CallOption) (*MsgUpdateDidDocResponse, error) DeactivateDidDoc(ctx context.Context, in *MsgDeactivateDidDoc, opts ...grpc.CallOption) (*MsgDeactivateDidDocResponse, 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 MsgCreateDidDoc ¶
type MsgCreateDidDoc struct { Payload *MsgCreateDidDocPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Signatures []*SignInfo `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func NewMsgCreateDid ¶
func NewMsgCreateDid(payload *MsgCreateDidDocPayload, signatures []*SignInfo) *MsgCreateDidDoc
func (*MsgCreateDidDoc) Descriptor ¶
func (*MsgCreateDidDoc) Descriptor() ([]byte, []int)
func (*MsgCreateDidDoc) GetPayload ¶
func (m *MsgCreateDidDoc) GetPayload() *MsgCreateDidDocPayload
func (*MsgCreateDidDoc) GetSignBytes ¶
func (msg *MsgCreateDidDoc) GetSignBytes() []byte
func (*MsgCreateDidDoc) GetSignatures ¶
func (m *MsgCreateDidDoc) GetSignatures() []*SignInfo
func (*MsgCreateDidDoc) GetSigners ¶
func (msg *MsgCreateDidDoc) GetSigners() []sdk.AccAddress
func (*MsgCreateDidDoc) Marshal ¶
func (m *MsgCreateDidDoc) Marshal() (dAtA []byte, err error)
func (*MsgCreateDidDoc) MarshalToSizedBuffer ¶
func (m *MsgCreateDidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDidDoc) Normalize ¶
func (msg *MsgCreateDidDoc) Normalize()
func (*MsgCreateDidDoc) ProtoMessage ¶
func (*MsgCreateDidDoc) ProtoMessage()
func (*MsgCreateDidDoc) Reset ¶
func (m *MsgCreateDidDoc) Reset()
func (*MsgCreateDidDoc) Route ¶
func (msg *MsgCreateDidDoc) Route() string
func (*MsgCreateDidDoc) Size ¶
func (m *MsgCreateDidDoc) Size() (n int)
func (*MsgCreateDidDoc) String ¶
func (m *MsgCreateDidDoc) String() string
func (*MsgCreateDidDoc) Type ¶
func (msg *MsgCreateDidDoc) Type() string
func (*MsgCreateDidDoc) Unmarshal ¶
func (m *MsgCreateDidDoc) Unmarshal(dAtA []byte) error
func (MsgCreateDidDoc) Validate ¶
func (msg MsgCreateDidDoc) Validate(allowedNamespaces []string) error
func (*MsgCreateDidDoc) ValidateBasic ¶
func (msg *MsgCreateDidDoc) ValidateBasic() error
func (*MsgCreateDidDoc) XXX_DiscardUnknown ¶
func (m *MsgCreateDidDoc) XXX_DiscardUnknown()
func (*MsgCreateDidDoc) XXX_Marshal ¶
func (m *MsgCreateDidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDidDoc) XXX_Merge ¶
func (m *MsgCreateDidDoc) XXX_Merge(src proto.Message)
func (*MsgCreateDidDoc) XXX_Size ¶
func (m *MsgCreateDidDoc) XXX_Size() int
func (*MsgCreateDidDoc) XXX_Unmarshal ¶
func (m *MsgCreateDidDoc) XXX_Unmarshal(b []byte) error
type MsgCreateDidDocPayload ¶
type MsgCreateDidDocPayload struct { Context []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"` VerificationMethod []*VerificationMethod `protobuf:"bytes,4,rep,name=verification_method,json=verificationMethod,proto3" json:"verification_method,omitempty"` Authentication []string `protobuf:"bytes,5,rep,name=authentication,proto3" json:"authentication,omitempty"` AssertionMethod []string `protobuf:"bytes,6,rep,name=assertion_method,json=assertionMethod,proto3" json:"assertion_method,omitempty"` CapabilityInvocation []string `protobuf:"bytes,7,rep,name=capability_invocation,json=capabilityInvocation,proto3" json:"capability_invocation,omitempty"` CapabilityDelegation []string `protobuf:"bytes,8,rep,name=capability_delegation,json=capabilityDelegation,proto3" json:"capability_delegation,omitempty"` KeyAgreement []string `protobuf:"bytes,9,rep,name=key_agreement,json=keyAgreement,proto3" json:"key_agreement,omitempty"` AlsoKnownAs []string `protobuf:"bytes,10,rep,name=also_known_as,json=alsoKnownAs,proto3" json:"also_known_as,omitempty"` Service []*Service `protobuf:"bytes,11,rep,name=service,proto3" json:"service,omitempty"` VersionId string `protobuf:"bytes,12,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` }
func (*MsgCreateDidDocPayload) Descriptor ¶
func (*MsgCreateDidDocPayload) Descriptor() ([]byte, []int)
func (*MsgCreateDidDocPayload) GetAlsoKnownAs ¶
func (m *MsgCreateDidDocPayload) GetAlsoKnownAs() []string
func (*MsgCreateDidDocPayload) GetAssertionMethod ¶
func (m *MsgCreateDidDocPayload) GetAssertionMethod() []string
func (*MsgCreateDidDocPayload) GetAuthentication ¶
func (m *MsgCreateDidDocPayload) GetAuthentication() []string
func (*MsgCreateDidDocPayload) GetCapabilityDelegation ¶
func (m *MsgCreateDidDocPayload) GetCapabilityDelegation() []string
func (*MsgCreateDidDocPayload) GetCapabilityInvocation ¶
func (m *MsgCreateDidDocPayload) GetCapabilityInvocation() []string
func (*MsgCreateDidDocPayload) GetContext ¶
func (m *MsgCreateDidDocPayload) GetContext() []string
func (*MsgCreateDidDocPayload) GetController ¶
func (m *MsgCreateDidDocPayload) GetController() []string
func (*MsgCreateDidDocPayload) GetId ¶
func (m *MsgCreateDidDocPayload) GetId() string
func (*MsgCreateDidDocPayload) GetKeyAgreement ¶
func (m *MsgCreateDidDocPayload) GetKeyAgreement() []string
func (*MsgCreateDidDocPayload) GetService ¶
func (m *MsgCreateDidDocPayload) GetService() []*Service
func (*MsgCreateDidDocPayload) GetSignBytes ¶
func (msg *MsgCreateDidDocPayload) GetSignBytes() []byte
func (*MsgCreateDidDocPayload) GetVerificationMethod ¶
func (m *MsgCreateDidDocPayload) GetVerificationMethod() []*VerificationMethod
func (*MsgCreateDidDocPayload) GetVersionId ¶
func (m *MsgCreateDidDocPayload) GetVersionId() string
func (*MsgCreateDidDocPayload) Marshal ¶
func (m *MsgCreateDidDocPayload) Marshal() (dAtA []byte, err error)
func (*MsgCreateDidDocPayload) MarshalTo ¶
func (m *MsgCreateDidDocPayload) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDidDocPayload) MarshalToSizedBuffer ¶
func (m *MsgCreateDidDocPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDidDocPayload) Normalize ¶
func (msg *MsgCreateDidDocPayload) Normalize()
func (*MsgCreateDidDocPayload) ProtoMessage ¶
func (*MsgCreateDidDocPayload) ProtoMessage()
func (*MsgCreateDidDocPayload) Reset ¶
func (m *MsgCreateDidDocPayload) Reset()
func (*MsgCreateDidDocPayload) Size ¶
func (m *MsgCreateDidDocPayload) Size() (n int)
func (*MsgCreateDidDocPayload) String ¶
func (m *MsgCreateDidDocPayload) String() string
func (*MsgCreateDidDocPayload) ToDidDoc ¶
func (msg *MsgCreateDidDocPayload) ToDidDoc() DidDoc
func (*MsgCreateDidDocPayload) Unmarshal ¶
func (m *MsgCreateDidDocPayload) Unmarshal(dAtA []byte) error
func (MsgCreateDidDocPayload) Validate ¶
func (msg MsgCreateDidDocPayload) Validate(allowedNamespaces []string) error
func (*MsgCreateDidDocPayload) XXX_DiscardUnknown ¶
func (m *MsgCreateDidDocPayload) XXX_DiscardUnknown()
func (*MsgCreateDidDocPayload) XXX_Marshal ¶
func (m *MsgCreateDidDocPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDidDocPayload) XXX_Merge ¶
func (m *MsgCreateDidDocPayload) XXX_Merge(src proto.Message)
func (*MsgCreateDidDocPayload) XXX_Size ¶
func (m *MsgCreateDidDocPayload) XXX_Size() int
func (*MsgCreateDidDocPayload) XXX_Unmarshal ¶
func (m *MsgCreateDidDocPayload) XXX_Unmarshal(b []byte) error
type MsgCreateDidDocResponse ¶
type MsgCreateDidDocResponse struct {
Value *DidDocWithMetadata `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*MsgCreateDidDocResponse) Descriptor ¶
func (*MsgCreateDidDocResponse) Descriptor() ([]byte, []int)
func (*MsgCreateDidDocResponse) GetValue ¶
func (m *MsgCreateDidDocResponse) GetValue() *DidDocWithMetadata
func (*MsgCreateDidDocResponse) Marshal ¶
func (m *MsgCreateDidDocResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateDidDocResponse) MarshalTo ¶
func (m *MsgCreateDidDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDidDocResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDidDocResponse) ProtoMessage ¶
func (*MsgCreateDidDocResponse) ProtoMessage()
func (*MsgCreateDidDocResponse) Reset ¶
func (m *MsgCreateDidDocResponse) Reset()
func (*MsgCreateDidDocResponse) Size ¶
func (m *MsgCreateDidDocResponse) Size() (n int)
func (*MsgCreateDidDocResponse) String ¶
func (m *MsgCreateDidDocResponse) String() string
func (*MsgCreateDidDocResponse) Unmarshal ¶
func (m *MsgCreateDidDocResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateDidDocResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateDidDocResponse) XXX_DiscardUnknown()
func (*MsgCreateDidDocResponse) XXX_Marshal ¶
func (m *MsgCreateDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDidDocResponse) XXX_Merge ¶
func (m *MsgCreateDidDocResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDidDocResponse) XXX_Size ¶
func (m *MsgCreateDidDocResponse) XXX_Size() int
func (*MsgCreateDidDocResponse) XXX_Unmarshal ¶
func (m *MsgCreateDidDocResponse) XXX_Unmarshal(b []byte) error
type MsgDeactivateDidDoc ¶
type MsgDeactivateDidDoc struct { Payload *MsgDeactivateDidDocPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Signatures []*SignInfo `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func NewMsgDeactivateDid ¶
func NewMsgDeactivateDid(payload *MsgDeactivateDidDocPayload, signatures []*SignInfo) *MsgDeactivateDidDoc
func (*MsgDeactivateDidDoc) Descriptor ¶
func (*MsgDeactivateDidDoc) Descriptor() ([]byte, []int)
func (*MsgDeactivateDidDoc) GetPayload ¶
func (m *MsgDeactivateDidDoc) GetPayload() *MsgDeactivateDidDocPayload
func (*MsgDeactivateDidDoc) GetSignBytes ¶
func (msg *MsgDeactivateDidDoc) GetSignBytes() []byte
func (*MsgDeactivateDidDoc) GetSignatures ¶
func (m *MsgDeactivateDidDoc) GetSignatures() []*SignInfo
func (*MsgDeactivateDidDoc) GetSigners ¶
func (msg *MsgDeactivateDidDoc) GetSigners() []sdk.AccAddress
func (*MsgDeactivateDidDoc) Marshal ¶
func (m *MsgDeactivateDidDoc) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDidDoc) MarshalTo ¶
func (m *MsgDeactivateDidDoc) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDidDoc) MarshalToSizedBuffer ¶
func (m *MsgDeactivateDidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDidDoc) Normalize ¶
func (msg *MsgDeactivateDidDoc) Normalize()
func (*MsgDeactivateDidDoc) ProtoMessage ¶
func (*MsgDeactivateDidDoc) ProtoMessage()
func (*MsgDeactivateDidDoc) Reset ¶
func (m *MsgDeactivateDidDoc) Reset()
func (*MsgDeactivateDidDoc) Route ¶
func (msg *MsgDeactivateDidDoc) Route() string
func (*MsgDeactivateDidDoc) Size ¶
func (m *MsgDeactivateDidDoc) Size() (n int)
func (*MsgDeactivateDidDoc) String ¶
func (m *MsgDeactivateDidDoc) String() string
func (*MsgDeactivateDidDoc) Type ¶
func (msg *MsgDeactivateDidDoc) Type() string
func (*MsgDeactivateDidDoc) Unmarshal ¶
func (m *MsgDeactivateDidDoc) Unmarshal(dAtA []byte) error
func (MsgDeactivateDidDoc) Validate ¶
func (msg MsgDeactivateDidDoc) Validate(allowedNamespaces []string) error
func (*MsgDeactivateDidDoc) ValidateBasic ¶
func (msg *MsgDeactivateDidDoc) ValidateBasic() error
func (*MsgDeactivateDidDoc) XXX_DiscardUnknown ¶
func (m *MsgDeactivateDidDoc) XXX_DiscardUnknown()
func (*MsgDeactivateDidDoc) XXX_Marshal ¶
func (m *MsgDeactivateDidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDidDoc) XXX_Merge ¶
func (m *MsgDeactivateDidDoc) XXX_Merge(src proto.Message)
func (*MsgDeactivateDidDoc) XXX_Size ¶
func (m *MsgDeactivateDidDoc) XXX_Size() int
func (*MsgDeactivateDidDoc) XXX_Unmarshal ¶
func (m *MsgDeactivateDidDoc) XXX_Unmarshal(b []byte) error
type MsgDeactivateDidDocPayload ¶
type MsgDeactivateDidDocPayload struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` }
func (*MsgDeactivateDidDocPayload) Descriptor ¶
func (*MsgDeactivateDidDocPayload) Descriptor() ([]byte, []int)
func (*MsgDeactivateDidDocPayload) GetId ¶
func (m *MsgDeactivateDidDocPayload) GetId() string
func (*MsgDeactivateDidDocPayload) GetSignBytes ¶
func (msg *MsgDeactivateDidDocPayload) GetSignBytes() []byte
func (*MsgDeactivateDidDocPayload) GetVersionId ¶
func (m *MsgDeactivateDidDocPayload) GetVersionId() string
func (*MsgDeactivateDidDocPayload) Marshal ¶
func (m *MsgDeactivateDidDocPayload) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDidDocPayload) MarshalTo ¶
func (m *MsgDeactivateDidDocPayload) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDidDocPayload) MarshalToSizedBuffer ¶
func (m *MsgDeactivateDidDocPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDidDocPayload) Normalize ¶
func (msg *MsgDeactivateDidDocPayload) Normalize()
func (*MsgDeactivateDidDocPayload) ProtoMessage ¶
func (*MsgDeactivateDidDocPayload) ProtoMessage()
func (*MsgDeactivateDidDocPayload) Reset ¶
func (m *MsgDeactivateDidDocPayload) Reset()
func (*MsgDeactivateDidDocPayload) Size ¶
func (m *MsgDeactivateDidDocPayload) Size() (n int)
func (*MsgDeactivateDidDocPayload) String ¶
func (m *MsgDeactivateDidDocPayload) String() string
func (*MsgDeactivateDidDocPayload) Unmarshal ¶
func (m *MsgDeactivateDidDocPayload) Unmarshal(dAtA []byte) error
func (MsgDeactivateDidDocPayload) Validate ¶
func (msg MsgDeactivateDidDocPayload) Validate(allowedNamespaces []string) error
func (*MsgDeactivateDidDocPayload) XXX_DiscardUnknown ¶
func (m *MsgDeactivateDidDocPayload) XXX_DiscardUnknown()
func (*MsgDeactivateDidDocPayload) XXX_Marshal ¶
func (m *MsgDeactivateDidDocPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDidDocPayload) XXX_Merge ¶
func (m *MsgDeactivateDidDocPayload) XXX_Merge(src proto.Message)
func (*MsgDeactivateDidDocPayload) XXX_Size ¶
func (m *MsgDeactivateDidDocPayload) XXX_Size() int
func (*MsgDeactivateDidDocPayload) XXX_Unmarshal ¶
func (m *MsgDeactivateDidDocPayload) XXX_Unmarshal(b []byte) error
type MsgDeactivateDidDocResponse ¶
type MsgDeactivateDidDocResponse struct {
Value *DidDocWithMetadata `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*MsgDeactivateDidDocResponse) Descriptor ¶
func (*MsgDeactivateDidDocResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateDidDocResponse) GetValue ¶
func (m *MsgDeactivateDidDocResponse) GetValue() *DidDocWithMetadata
func (*MsgDeactivateDidDocResponse) Marshal ¶
func (m *MsgDeactivateDidDocResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDidDocResponse) MarshalTo ¶
func (m *MsgDeactivateDidDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDidDocResponse) MarshalToSizedBuffer ¶
func (m *MsgDeactivateDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDidDocResponse) ProtoMessage ¶
func (*MsgDeactivateDidDocResponse) ProtoMessage()
func (*MsgDeactivateDidDocResponse) Reset ¶
func (m *MsgDeactivateDidDocResponse) Reset()
func (*MsgDeactivateDidDocResponse) Size ¶
func (m *MsgDeactivateDidDocResponse) Size() (n int)
func (*MsgDeactivateDidDocResponse) String ¶
func (m *MsgDeactivateDidDocResponse) String() string
func (*MsgDeactivateDidDocResponse) Unmarshal ¶
func (m *MsgDeactivateDidDocResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDidDocResponse) XXX_DiscardUnknown ¶
func (m *MsgDeactivateDidDocResponse) XXX_DiscardUnknown()
func (*MsgDeactivateDidDocResponse) XXX_Marshal ¶
func (m *MsgDeactivateDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDidDocResponse) XXX_Merge ¶
func (m *MsgDeactivateDidDocResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateDidDocResponse) XXX_Size ¶
func (m *MsgDeactivateDidDocResponse) XXX_Size() int
func (*MsgDeactivateDidDocResponse) XXX_Unmarshal ¶
func (m *MsgDeactivateDidDocResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateDidDoc(context.Context, *MsgCreateDidDoc) (*MsgCreateDidDocResponse, error) UpdateDidDoc(context.Context, *MsgUpdateDidDoc) (*MsgUpdateDidDocResponse, error) DeactivateDidDoc(context.Context, *MsgDeactivateDidDoc) (*MsgDeactivateDidDocResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateDidDoc ¶
type MsgUpdateDidDoc struct { Payload *MsgUpdateDidDocPayload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Signatures []*SignInfo `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func NewMsgUpdateDid ¶
func NewMsgUpdateDid(payload *MsgUpdateDidDocPayload, signatures []*SignInfo) *MsgUpdateDidDoc
func (*MsgUpdateDidDoc) Descriptor ¶
func (*MsgUpdateDidDoc) Descriptor() ([]byte, []int)
func (*MsgUpdateDidDoc) GetPayload ¶
func (m *MsgUpdateDidDoc) GetPayload() *MsgUpdateDidDocPayload
func (*MsgUpdateDidDoc) GetSignBytes ¶
func (msg *MsgUpdateDidDoc) GetSignBytes() []byte
func (*MsgUpdateDidDoc) GetSignatures ¶
func (m *MsgUpdateDidDoc) GetSignatures() []*SignInfo
func (*MsgUpdateDidDoc) GetSigners ¶
func (msg *MsgUpdateDidDoc) GetSigners() []sdk.AccAddress
func (*MsgUpdateDidDoc) Marshal ¶
func (m *MsgUpdateDidDoc) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDidDoc) MarshalToSizedBuffer ¶
func (m *MsgUpdateDidDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDidDoc) Normalize ¶
func (msg *MsgUpdateDidDoc) Normalize()
func (*MsgUpdateDidDoc) ProtoMessage ¶
func (*MsgUpdateDidDoc) ProtoMessage()
func (*MsgUpdateDidDoc) Reset ¶
func (m *MsgUpdateDidDoc) Reset()
func (*MsgUpdateDidDoc) Route ¶
func (msg *MsgUpdateDidDoc) Route() string
func (*MsgUpdateDidDoc) Size ¶
func (m *MsgUpdateDidDoc) Size() (n int)
func (*MsgUpdateDidDoc) String ¶
func (m *MsgUpdateDidDoc) String() string
func (*MsgUpdateDidDoc) Type ¶
func (msg *MsgUpdateDidDoc) Type() string
func (*MsgUpdateDidDoc) Unmarshal ¶
func (m *MsgUpdateDidDoc) Unmarshal(dAtA []byte) error
func (MsgUpdateDidDoc) Validate ¶
func (msg MsgUpdateDidDoc) Validate(allowedNamespaces []string) error
func (*MsgUpdateDidDoc) ValidateBasic ¶
func (msg *MsgUpdateDidDoc) ValidateBasic() error
func (*MsgUpdateDidDoc) XXX_DiscardUnknown ¶
func (m *MsgUpdateDidDoc) XXX_DiscardUnknown()
func (*MsgUpdateDidDoc) XXX_Marshal ¶
func (m *MsgUpdateDidDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDidDoc) XXX_Merge ¶
func (m *MsgUpdateDidDoc) XXX_Merge(src proto.Message)
func (*MsgUpdateDidDoc) XXX_Size ¶
func (m *MsgUpdateDidDoc) XXX_Size() int
func (*MsgUpdateDidDoc) XXX_Unmarshal ¶
func (m *MsgUpdateDidDoc) XXX_Unmarshal(b []byte) error
type MsgUpdateDidDocPayload ¶
type MsgUpdateDidDocPayload struct { Context []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"` VerificationMethod []*VerificationMethod `protobuf:"bytes,4,rep,name=verification_method,json=verificationMethod,proto3" json:"verification_method,omitempty"` Authentication []string `protobuf:"bytes,5,rep,name=authentication,proto3" json:"authentication,omitempty"` AssertionMethod []string `protobuf:"bytes,6,rep,name=assertion_method,json=assertionMethod,proto3" json:"assertion_method,omitempty"` CapabilityInvocation []string `protobuf:"bytes,7,rep,name=capability_invocation,json=capabilityInvocation,proto3" json:"capability_invocation,omitempty"` CapabilityDelegation []string `protobuf:"bytes,8,rep,name=capability_delegation,json=capabilityDelegation,proto3" json:"capability_delegation,omitempty"` KeyAgreement []string `protobuf:"bytes,9,rep,name=key_agreement,json=keyAgreement,proto3" json:"key_agreement,omitempty"` AlsoKnownAs []string `protobuf:"bytes,10,rep,name=also_known_as,json=alsoKnownAs,proto3" json:"also_known_as,omitempty"` Service []*Service `protobuf:"bytes,11,rep,name=service,proto3" json:"service,omitempty"` VersionId string `protobuf:"bytes,12,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` }
func (*MsgUpdateDidDocPayload) Descriptor ¶
func (*MsgUpdateDidDocPayload) Descriptor() ([]byte, []int)
func (*MsgUpdateDidDocPayload) GetAlsoKnownAs ¶
func (m *MsgUpdateDidDocPayload) GetAlsoKnownAs() []string
func (*MsgUpdateDidDocPayload) GetAssertionMethod ¶
func (m *MsgUpdateDidDocPayload) GetAssertionMethod() []string
func (*MsgUpdateDidDocPayload) GetAuthentication ¶
func (m *MsgUpdateDidDocPayload) GetAuthentication() []string
func (*MsgUpdateDidDocPayload) GetCapabilityDelegation ¶
func (m *MsgUpdateDidDocPayload) GetCapabilityDelegation() []string
func (*MsgUpdateDidDocPayload) GetCapabilityInvocation ¶
func (m *MsgUpdateDidDocPayload) GetCapabilityInvocation() []string
func (*MsgUpdateDidDocPayload) GetContext ¶
func (m *MsgUpdateDidDocPayload) GetContext() []string
func (*MsgUpdateDidDocPayload) GetController ¶
func (m *MsgUpdateDidDocPayload) GetController() []string
func (*MsgUpdateDidDocPayload) GetId ¶
func (m *MsgUpdateDidDocPayload) GetId() string
func (*MsgUpdateDidDocPayload) GetKeyAgreement ¶
func (m *MsgUpdateDidDocPayload) GetKeyAgreement() []string
func (*MsgUpdateDidDocPayload) GetService ¶
func (m *MsgUpdateDidDocPayload) GetService() []*Service
func (*MsgUpdateDidDocPayload) GetSignBytes ¶
func (msg *MsgUpdateDidDocPayload) GetSignBytes() []byte
func (*MsgUpdateDidDocPayload) GetVerificationMethod ¶
func (m *MsgUpdateDidDocPayload) GetVerificationMethod() []*VerificationMethod
func (*MsgUpdateDidDocPayload) GetVersionId ¶
func (m *MsgUpdateDidDocPayload) GetVersionId() string
func (*MsgUpdateDidDocPayload) Marshal ¶
func (m *MsgUpdateDidDocPayload) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDidDocPayload) MarshalTo ¶
func (m *MsgUpdateDidDocPayload) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDidDocPayload) MarshalToSizedBuffer ¶
func (m *MsgUpdateDidDocPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDidDocPayload) Normalize ¶
func (msg *MsgUpdateDidDocPayload) Normalize()
func (*MsgUpdateDidDocPayload) ProtoMessage ¶
func (*MsgUpdateDidDocPayload) ProtoMessage()
func (*MsgUpdateDidDocPayload) Reset ¶
func (m *MsgUpdateDidDocPayload) Reset()
func (*MsgUpdateDidDocPayload) Size ¶
func (m *MsgUpdateDidDocPayload) Size() (n int)
func (*MsgUpdateDidDocPayload) String ¶
func (m *MsgUpdateDidDocPayload) String() string
func (*MsgUpdateDidDocPayload) ToDidDoc ¶
func (msg *MsgUpdateDidDocPayload) ToDidDoc() DidDoc
func (*MsgUpdateDidDocPayload) Unmarshal ¶
func (m *MsgUpdateDidDocPayload) Unmarshal(dAtA []byte) error
func (MsgUpdateDidDocPayload) Validate ¶
func (msg MsgUpdateDidDocPayload) Validate(allowedNamespaces []string) error
func (*MsgUpdateDidDocPayload) XXX_DiscardUnknown ¶
func (m *MsgUpdateDidDocPayload) XXX_DiscardUnknown()
func (*MsgUpdateDidDocPayload) XXX_Marshal ¶
func (m *MsgUpdateDidDocPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDidDocPayload) XXX_Merge ¶
func (m *MsgUpdateDidDocPayload) XXX_Merge(src proto.Message)
func (*MsgUpdateDidDocPayload) XXX_Size ¶
func (m *MsgUpdateDidDocPayload) XXX_Size() int
func (*MsgUpdateDidDocPayload) XXX_Unmarshal ¶
func (m *MsgUpdateDidDocPayload) XXX_Unmarshal(b []byte) error
type MsgUpdateDidDocResponse ¶
type MsgUpdateDidDocResponse struct {
Value *DidDocWithMetadata `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*MsgUpdateDidDocResponse) Descriptor ¶
func (*MsgUpdateDidDocResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDidDocResponse) GetValue ¶
func (m *MsgUpdateDidDocResponse) GetValue() *DidDocWithMetadata
func (*MsgUpdateDidDocResponse) Marshal ¶
func (m *MsgUpdateDidDocResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDidDocResponse) MarshalTo ¶
func (m *MsgUpdateDidDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDidDocResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDidDocResponse) ProtoMessage ¶
func (*MsgUpdateDidDocResponse) ProtoMessage()
func (*MsgUpdateDidDocResponse) Reset ¶
func (m *MsgUpdateDidDocResponse) Reset()
func (*MsgUpdateDidDocResponse) Size ¶
func (m *MsgUpdateDidDocResponse) Size() (n int)
func (*MsgUpdateDidDocResponse) String ¶
func (m *MsgUpdateDidDocResponse) String() string
func (*MsgUpdateDidDocResponse) Unmarshal ¶
func (m *MsgUpdateDidDocResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDidDocResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDidDocResponse) XXX_DiscardUnknown()
func (*MsgUpdateDidDocResponse) XXX_Marshal ¶
func (m *MsgUpdateDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDidDocResponse) XXX_Merge ¶
func (m *MsgUpdateDidDocResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDidDocResponse) XXX_Size ¶
func (m *MsgUpdateDidDocResponse) XXX_Size() int
func (*MsgUpdateDidDocResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDidDocResponse) XXX_Unmarshal(b []byte) error
type ParamSubspace ¶
type ParamSubspace interface { Get(ctx sdk.Context, key []byte, ptr interface{}) Set(ctx sdk.Context, key []byte, param interface{}) }
ParamSubspace defines the expected Subspace interface for parameters (noalias)
type QueryClient ¶
type QueryClient interface { DidDoc(ctx context.Context, in *QueryGetDidDocRequest, opts ...grpc.CallOption) (*QueryGetDidDocResponse, error) DidDocVersion(ctx context.Context, in *QueryGetDidDocVersionRequest, opts ...grpc.CallOption) (*QueryGetDidDocVersionResponse, error) AllDidDocVersionsMetadata(ctx context.Context, in *QueryGetAllDidDocVersionsMetadataRequest, opts ...grpc.CallOption) (*QueryGetAllDidDocVersionsMetadataResponse, 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 QueryGetAllDidDocVersionsMetadataRequest ¶
type QueryGetAllDidDocVersionsMetadataRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryGetAllDidDocVersionsMetadataRequest) Descriptor ¶
func (*QueryGetAllDidDocVersionsMetadataRequest) Descriptor() ([]byte, []int)
func (*QueryGetAllDidDocVersionsMetadataRequest) GetId ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) GetId() string
func (*QueryGetAllDidDocVersionsMetadataRequest) Marshal ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAllDidDocVersionsMetadataRequest) MarshalTo ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAllDidDocVersionsMetadataRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAllDidDocVersionsMetadataRequest) Normalize ¶
func (query *QueryGetAllDidDocVersionsMetadataRequest) Normalize()
func (*QueryGetAllDidDocVersionsMetadataRequest) ProtoMessage ¶
func (*QueryGetAllDidDocVersionsMetadataRequest) ProtoMessage()
func (*QueryGetAllDidDocVersionsMetadataRequest) Reset ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) Reset()
func (*QueryGetAllDidDocVersionsMetadataRequest) Size ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) Size() (n int)
func (*QueryGetAllDidDocVersionsMetadataRequest) String ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) String() string
func (*QueryGetAllDidDocVersionsMetadataRequest) Unmarshal ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAllDidDocVersionsMetadataRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_DiscardUnknown()
func (*QueryGetAllDidDocVersionsMetadataRequest) XXX_Marshal ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAllDidDocVersionsMetadataRequest) XXX_Merge ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Merge(src proto.Message)
func (*QueryGetAllDidDocVersionsMetadataRequest) XXX_Size ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Size() int
func (*QueryGetAllDidDocVersionsMetadataRequest) XXX_Unmarshal ¶
func (m *QueryGetAllDidDocVersionsMetadataRequest) XXX_Unmarshal(b []byte) error
type QueryGetAllDidDocVersionsMetadataResponse ¶
type QueryGetAllDidDocVersionsMetadataResponse struct {
Versions []*Metadata `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
}
func (*QueryGetAllDidDocVersionsMetadataResponse) Descriptor ¶
func (*QueryGetAllDidDocVersionsMetadataResponse) Descriptor() ([]byte, []int)
func (*QueryGetAllDidDocVersionsMetadataResponse) GetVersions ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) GetVersions() []*Metadata
func (*QueryGetAllDidDocVersionsMetadataResponse) Marshal ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAllDidDocVersionsMetadataResponse) MarshalTo ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAllDidDocVersionsMetadataResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAllDidDocVersionsMetadataResponse) ProtoMessage ¶
func (*QueryGetAllDidDocVersionsMetadataResponse) ProtoMessage()
func (*QueryGetAllDidDocVersionsMetadataResponse) Reset ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) Reset()
func (*QueryGetAllDidDocVersionsMetadataResponse) Size ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) Size() (n int)
func (*QueryGetAllDidDocVersionsMetadataResponse) String ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) String() string
func (*QueryGetAllDidDocVersionsMetadataResponse) Unmarshal ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAllDidDocVersionsMetadataResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_DiscardUnknown()
func (*QueryGetAllDidDocVersionsMetadataResponse) XXX_Marshal ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAllDidDocVersionsMetadataResponse) XXX_Merge ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Merge(src proto.Message)
func (*QueryGetAllDidDocVersionsMetadataResponse) XXX_Size ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Size() int
func (*QueryGetAllDidDocVersionsMetadataResponse) XXX_Unmarshal ¶
func (m *QueryGetAllDidDocVersionsMetadataResponse) XXX_Unmarshal(b []byte) error
type QueryGetDidDocRequest ¶
type QueryGetDidDocRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryGetDidDocRequest) Descriptor ¶
func (*QueryGetDidDocRequest) Descriptor() ([]byte, []int)
func (*QueryGetDidDocRequest) GetId ¶
func (m *QueryGetDidDocRequest) GetId() string
func (*QueryGetDidDocRequest) Marshal ¶
func (m *QueryGetDidDocRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetDidDocRequest) MarshalTo ¶
func (m *QueryGetDidDocRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDidDocRequest) MarshalToSizedBuffer ¶
func (m *QueryGetDidDocRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDidDocRequest) Normalize ¶
func (query *QueryGetDidDocRequest) Normalize()
func (*QueryGetDidDocRequest) ProtoMessage ¶
func (*QueryGetDidDocRequest) ProtoMessage()
func (*QueryGetDidDocRequest) Reset ¶
func (m *QueryGetDidDocRequest) Reset()
func (*QueryGetDidDocRequest) Size ¶
func (m *QueryGetDidDocRequest) Size() (n int)
func (*QueryGetDidDocRequest) String ¶
func (m *QueryGetDidDocRequest) String() string
func (*QueryGetDidDocRequest) Unmarshal ¶
func (m *QueryGetDidDocRequest) Unmarshal(dAtA []byte) error
func (*QueryGetDidDocRequest) XXX_DiscardUnknown ¶
func (m *QueryGetDidDocRequest) XXX_DiscardUnknown()
func (*QueryGetDidDocRequest) XXX_Marshal ¶
func (m *QueryGetDidDocRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDidDocRequest) XXX_Merge ¶
func (m *QueryGetDidDocRequest) XXX_Merge(src proto.Message)
func (*QueryGetDidDocRequest) XXX_Size ¶
func (m *QueryGetDidDocRequest) XXX_Size() int
func (*QueryGetDidDocRequest) XXX_Unmarshal ¶
func (m *QueryGetDidDocRequest) XXX_Unmarshal(b []byte) error
type QueryGetDidDocResponse ¶
type QueryGetDidDocResponse struct {
Value *DidDocWithMetadata `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*QueryGetDidDocResponse) Descriptor ¶
func (*QueryGetDidDocResponse) Descriptor() ([]byte, []int)
func (*QueryGetDidDocResponse) GetValue ¶
func (m *QueryGetDidDocResponse) GetValue() *DidDocWithMetadata
func (*QueryGetDidDocResponse) Marshal ¶
func (m *QueryGetDidDocResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetDidDocResponse) MarshalTo ¶
func (m *QueryGetDidDocResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDidDocResponse) MarshalToSizedBuffer ¶
func (m *QueryGetDidDocResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDidDocResponse) ProtoMessage ¶
func (*QueryGetDidDocResponse) ProtoMessage()
func (*QueryGetDidDocResponse) Reset ¶
func (m *QueryGetDidDocResponse) Reset()
func (*QueryGetDidDocResponse) Size ¶
func (m *QueryGetDidDocResponse) Size() (n int)
func (*QueryGetDidDocResponse) String ¶
func (m *QueryGetDidDocResponse) String() string
func (*QueryGetDidDocResponse) Unmarshal ¶
func (m *QueryGetDidDocResponse) Unmarshal(dAtA []byte) error
func (*QueryGetDidDocResponse) XXX_DiscardUnknown ¶
func (m *QueryGetDidDocResponse) XXX_DiscardUnknown()
func (*QueryGetDidDocResponse) XXX_Marshal ¶
func (m *QueryGetDidDocResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDidDocResponse) XXX_Merge ¶
func (m *QueryGetDidDocResponse) XXX_Merge(src proto.Message)
func (*QueryGetDidDocResponse) XXX_Size ¶
func (m *QueryGetDidDocResponse) XXX_Size() int
func (*QueryGetDidDocResponse) XXX_Unmarshal ¶
func (m *QueryGetDidDocResponse) XXX_Unmarshal(b []byte) error
type QueryGetDidDocVersionRequest ¶
type QueryGetDidDocVersionRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` }
func (*QueryGetDidDocVersionRequest) Descriptor ¶
func (*QueryGetDidDocVersionRequest) Descriptor() ([]byte, []int)
func (*QueryGetDidDocVersionRequest) GetId ¶
func (m *QueryGetDidDocVersionRequest) GetId() string
func (*QueryGetDidDocVersionRequest) GetVersion ¶
func (m *QueryGetDidDocVersionRequest) GetVersion() string
func (*QueryGetDidDocVersionRequest) Marshal ¶
func (m *QueryGetDidDocVersionRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetDidDocVersionRequest) MarshalTo ¶
func (m *QueryGetDidDocVersionRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDidDocVersionRequest) MarshalToSizedBuffer ¶
func (m *QueryGetDidDocVersionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDidDocVersionRequest) Normalize ¶
func (query *QueryGetDidDocVersionRequest) Normalize()
func (*QueryGetDidDocVersionRequest) ProtoMessage ¶
func (*QueryGetDidDocVersionRequest) ProtoMessage()
func (*QueryGetDidDocVersionRequest) Reset ¶
func (m *QueryGetDidDocVersionRequest) Reset()
func (*QueryGetDidDocVersionRequest) Size ¶
func (m *QueryGetDidDocVersionRequest) Size() (n int)
func (*QueryGetDidDocVersionRequest) String ¶
func (m *QueryGetDidDocVersionRequest) String() string
func (*QueryGetDidDocVersionRequest) Unmarshal ¶
func (m *QueryGetDidDocVersionRequest) Unmarshal(dAtA []byte) error
func (*QueryGetDidDocVersionRequest) XXX_DiscardUnknown ¶
func (m *QueryGetDidDocVersionRequest) XXX_DiscardUnknown()
func (*QueryGetDidDocVersionRequest) XXX_Marshal ¶
func (m *QueryGetDidDocVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDidDocVersionRequest) XXX_Merge ¶
func (m *QueryGetDidDocVersionRequest) XXX_Merge(src proto.Message)
func (*QueryGetDidDocVersionRequest) XXX_Size ¶
func (m *QueryGetDidDocVersionRequest) XXX_Size() int
func (*QueryGetDidDocVersionRequest) XXX_Unmarshal ¶
func (m *QueryGetDidDocVersionRequest) XXX_Unmarshal(b []byte) error
type QueryGetDidDocVersionResponse ¶
type QueryGetDidDocVersionResponse struct {
Value *DidDocWithMetadata `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*QueryGetDidDocVersionResponse) Descriptor ¶
func (*QueryGetDidDocVersionResponse) Descriptor() ([]byte, []int)
func (*QueryGetDidDocVersionResponse) GetValue ¶
func (m *QueryGetDidDocVersionResponse) GetValue() *DidDocWithMetadata
func (*QueryGetDidDocVersionResponse) Marshal ¶
func (m *QueryGetDidDocVersionResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetDidDocVersionResponse) MarshalTo ¶
func (m *QueryGetDidDocVersionResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDidDocVersionResponse) MarshalToSizedBuffer ¶
func (m *QueryGetDidDocVersionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDidDocVersionResponse) ProtoMessage ¶
func (*QueryGetDidDocVersionResponse) ProtoMessage()
func (*QueryGetDidDocVersionResponse) Reset ¶
func (m *QueryGetDidDocVersionResponse) Reset()
func (*QueryGetDidDocVersionResponse) Size ¶
func (m *QueryGetDidDocVersionResponse) Size() (n int)
func (*QueryGetDidDocVersionResponse) String ¶
func (m *QueryGetDidDocVersionResponse) String() string
func (*QueryGetDidDocVersionResponse) Unmarshal ¶
func (m *QueryGetDidDocVersionResponse) Unmarshal(dAtA []byte) error
func (*QueryGetDidDocVersionResponse) XXX_DiscardUnknown ¶
func (m *QueryGetDidDocVersionResponse) XXX_DiscardUnknown()
func (*QueryGetDidDocVersionResponse) XXX_Marshal ¶
func (m *QueryGetDidDocVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDidDocVersionResponse) XXX_Merge ¶
func (m *QueryGetDidDocVersionResponse) XXX_Merge(src proto.Message)
func (*QueryGetDidDocVersionResponse) XXX_Size ¶
func (m *QueryGetDidDocVersionResponse) XXX_Size() int
func (*QueryGetDidDocVersionResponse) XXX_Unmarshal ¶
func (m *QueryGetDidDocVersionResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { DidDoc(context.Context, *QueryGetDidDocRequest) (*QueryGetDidDocResponse, error) DidDocVersion(context.Context, *QueryGetDidDocVersionRequest) (*QueryGetDidDocVersionResponse, error) AllDidDocVersionsMetadata(context.Context, *QueryGetAllDidDocVersionsMetadataRequest) (*QueryGetAllDidDocVersionsMetadataResponse, error) }
QueryServer is the server API for Query service.
type Service ¶
type Service 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=service_endpoint,json=serviceEndpoint,proto3" json:"service_endpoint,omitempty"` }
func (*Service) Descriptor ¶
func (*Service) GetServiceEndpoint ¶
func (*Service) MarshalToSizedBuffer ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ReplaceDids ¶
ReplaceDids replaces ids in all fields
func (*Service) XXX_DiscardUnknown ¶
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶
func (*Service) XXX_Unmarshal ¶
type SignInfo ¶
type SignInfo struct { VerificationMethodId string `protobuf:"bytes,1,opt,name=verification_method_id,json=verificationMethodId,proto3" json:"verification_method_id,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func FindSignInfoBySigner ¶
FindSignInfoBySigner returns the first sign info that corresponds to the provided signer's did
func FindSignInfosBySigner ¶
FindSignInfosBySigner returns the sign infos that corresponds to the provided signer's did
func NewSignInfo ¶
func (*SignInfo) Descriptor ¶
func (*SignInfo) GetSignature ¶
func (*SignInfo) GetVerificationMethodId ¶
func (*SignInfo) MarshalToSizedBuffer ¶
func (*SignInfo) ProtoMessage ¶
func (*SignInfo) ProtoMessage()
func (*SignInfo) XXX_DiscardUnknown ¶
func (m *SignInfo) XXX_DiscardUnknown()
func (*SignInfo) XXX_Marshal ¶
func (*SignInfo) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateDidDoc ¶
func (*UnimplementedMsgServer) CreateDidDoc(ctx context.Context, req *MsgCreateDidDoc) (*MsgCreateDidDocResponse, error)
func (*UnimplementedMsgServer) DeactivateDidDoc ¶
func (*UnimplementedMsgServer) DeactivateDidDoc(ctx context.Context, req *MsgDeactivateDidDoc) (*MsgDeactivateDidDocResponse, error)
func (*UnimplementedMsgServer) UpdateDidDoc ¶
func (*UnimplementedMsgServer) UpdateDidDoc(ctx context.Context, req *MsgUpdateDidDoc) (*MsgUpdateDidDocResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) AllDidDocVersionsMetadata ¶
func (*UnimplementedQueryServer) AllDidDocVersionsMetadata(ctx context.Context, req *QueryGetAllDidDocVersionsMetadataRequest) (*QueryGetAllDidDocVersionsMetadataResponse, error)
func (*UnimplementedQueryServer) DidDoc ¶
func (*UnimplementedQueryServer) DidDoc(ctx context.Context, req *QueryGetDidDocRequest) (*QueryGetDidDocResponse, error)
func (*UnimplementedQueryServer) DidDocVersion ¶
func (*UnimplementedQueryServer) DidDocVersion(ctx context.Context, req *QueryGetDidDocVersionRequest) (*QueryGetDidDocVersionResponse, error)
type ValidationType ¶
type ValidationType int
const ( Optional ValidationType = iota Required ValidationType = iota Empty ValidationType = iota )
type VerificationMaterial ¶
type VerificationMethod ¶
type VerificationMethod 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"` VerificationMaterial string `protobuf:"bytes,4,opt,name=verification_material,json=verificationMaterial,proto3" json:"verification_material,omitempty"` }
func FindVerificationMethod ¶
func FindVerificationMethod(vms []VerificationMethod, id string) (VerificationMethod, bool)
func NewVerificationMethod ¶
func NewVerificationMethod(id string, type_ string, controller string, verificationMaterial string) *VerificationMethod
func (*VerificationMethod) Descriptor ¶
func (*VerificationMethod) Descriptor() ([]byte, []int)
func (*VerificationMethod) GetController ¶
func (m *VerificationMethod) GetController() string
func (*VerificationMethod) GetId ¶
func (m *VerificationMethod) GetId() string
func (*VerificationMethod) GetType ¶
func (m *VerificationMethod) GetType() string
func (*VerificationMethod) GetVerificationMaterial ¶
func (m *VerificationMethod) GetVerificationMaterial() string
func (*VerificationMethod) Marshal ¶
func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
func (*VerificationMethod) MarshalTo ¶
func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
func (*VerificationMethod) MarshalToSizedBuffer ¶
func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerificationMethod) ProtoMessage ¶
func (*VerificationMethod) ProtoMessage()
func (*VerificationMethod) ReplaceDids ¶
func (vm *VerificationMethod) ReplaceDids(old, new string)
ReplaceDids replaces ids in all fields
func (*VerificationMethod) Reset ¶
func (m *VerificationMethod) Reset()
func (*VerificationMethod) Size ¶
func (m *VerificationMethod) Size() (n int)
func (*VerificationMethod) String ¶
func (m *VerificationMethod) String() string
func (*VerificationMethod) Unmarshal ¶
func (m *VerificationMethod) Unmarshal(dAtA []byte) error
func (VerificationMethod) Validate ¶
func (vm VerificationMethod) Validate(baseDid string, allowedNamespaces []string) error
func (*VerificationMethod) XXX_DiscardUnknown ¶
func (m *VerificationMethod) XXX_DiscardUnknown()
func (*VerificationMethod) XXX_Marshal ¶
func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerificationMethod) XXX_Merge ¶
func (m *VerificationMethod) XXX_Merge(src proto.Message)
func (*VerificationMethod) XXX_Size ¶
func (m *VerificationMethod) XXX_Size() int
func (*VerificationMethod) XXX_Unmarshal ¶
func (m *VerificationMethod) XXX_Unmarshal(b []byte) error
Source Files ¶
- codec.go
- denom.go
- diddoc.pb.go
- diddoc_diddoc.go
- diddoc_diddoc_with_metadata.go
- diddoc_metadata.go
- diddoc_service.go
- diddoc_verification_material.go
- diddoc_verification_method.go
- error.go
- expected_keepers.go
- fee.pb.go
- genesis.go
- genesis.pb.go
- keys.go
- params.go
- query.go
- query.pb.go
- query.pb.gw.go
- query_get_all_diddoc_versions_metadata_request.go
- query_get_diddoc_request.go
- query_get_diddoc_version_request.go
- tx.go
- tx.pb.go
- tx_msg_create_diddoc.go
- tx_msg_create_diddoc_payload.go
- tx_msg_deactivate_did_doc.go
- tx_msg_deactivate_did_doc_payload.go
- tx_msg_update_did_doc.go
- tx_msg_update_did_doc_payload.go
- tx_sign_info.go
- validate.go