types

package
v0.0.0-...-7a9719f Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Authentication       = "authentication"       // https://www.w3.org/TR/did-core/#authentication
	AssertionMethod      = "assertionMethod"      // https://www.w3.org/TR/did-core/#assertion
	KeyAgreement         = "keyAgreement"         // https://www.w3.org/TR/did-core/#key-agreement
	CapabilityInvocation = "capabilityInvocation" // https://www.w3.org/TR/did-core/#capability-invocation
	CapabilityDelegation = "capabilityDelegation" // https://www.w3.org/TR/did-core/#capability-delegation
)

A verification relationship expresses the relationship between the DID subject and a verification method. This enum is used to cfr. https://www.w3.org/TR/did-core/#verification-relationships

View Source
const (
	// ModuleName defines the module name
	ModuleName = "iid"

	// 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

	// DidChainPrefix defines the did prefix for this chain
	DidChainPrefix = "did:earth:"

	// DidKeyPrefix defines the did key prefix
	DidKeyPrefix = "did:cosmos:key:"

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_capability_did"
)
View Source
const (
	TypeMsgAddContext = "add-did-context"
)

msg types

View Source
const (
	TypeMsgAddController = "add-controller"
)

msg types

View Source
const (
	TypeMsgAddDidMeta = "add-did-meta"
)

msg types

View Source
const (
	TypeMsgAddRight = "add-right"
)

msg types

View Source
const (
	TypeMsgAddService = "add-service"
)

msg types

View Source
const (
	TypeMsgAddVerification = "add-verification"
)

-------------------------- ADD VERIFICATION -------------------------- msg types

View Source
const (
	TypeMsgCreateDidDocument = "create-did"
)

msg types

View Source
const (
	TypeMsgDeleteAccordedRight = "delete-right"
)

msg types

View Source
const (
	TypeMsgDeleteController = "delete-controller"
)

msg types

View Source
const (
	TypeMsgDeleteDidContext = "delete-context"
)

msg types

View Source
const (
	TypeMsgDeleteService = "delete-service"
)

msg types

View Source
const (
	TypeMsgRevokeVerification = "revoke-verification"
)

msg types

View Source
const (
	TypeMsgSetVerificationRelationships = "set-verification-relationships"
)

-------------------------- SET VERIFICATION RELATIONSHIPS -------------------------- msg types

View Source
const (
	TypeMsgUpdateDidDocument = "update-did"
)

msg types

Variables

View Source
var (

	// ModuleCdc codec used by the module (protobuf)
	ModuleCdc      = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry())
	ModuleAminoCdc = codec.NewAminoCodec(amino)
)
View Source
var (
	ErrDidDocumentNotFound        = sdkerrors.Register(ModuleName, 1100, "did document not found")
	ErrDidDocumentFound           = sdkerrors.Register(ModuleName, 1101, "did document found")
	ErrInvalidDIDFormat           = sdkerrors.Register(ModuleName, 1102, "input not compliant with the DID specifications (crf. https://www.w3.org/TR/did-core/#did-syntax)")
	ErrInvalidDIDURLFormat        = sdkerrors.Register(ModuleName, 1103, "input not compliant with the DID URL specifications (crf. https://www.w3.org/TR/did-core/#did-url-syntax)")
	ErrInvalidRFC3986UriFormat    = sdkerrors.Register(ModuleName, 1104, "input not compliant with the RFC3986 URI specifications (crf. https://datatracker.ietf.org/doc/html/rfc3986)")
	ErrEmptyRelationships         = sdkerrors.Register(ModuleName, 1105, "a verification method should have at least one verification relationship. (cfr. https://www.w3.org/TR/did-core/#verification-relationships)")
	ErrUnauthorized               = sdkerrors.Register(ModuleName, 1106, "the requester DID's verification method is not listed in the required relationship")
	ErrInvalidState               = sdkerrors.Register(ModuleName, 1107, "the requested action is not applicable on the resource")
	ErrInvalidInput               = sdkerrors.Register(ModuleName, 1108, "input is invalid")
	ErrVerificationMethodNotFound = sdkerrors.Register(ModuleName, 1109, "verification method not found")
	ErrInvalidDidMethodFormat     = sdkerrors.Register(ModuleName, 1110, "invalid did method format")
	ErrKeyFormatNotSupported      = sdkerrors.Register(ModuleName, 1111, "key format not supported")
)

x/did module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthIid        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIid          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIid = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// DidDocumentKey prefix for each key to a DidDocument
	DidDocumentKey = []byte{0x61}
	// DidMetadataKey prefix for each key of a DidMetadata
	DidMetadataKey = []byte{0x62}
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var VerificationRelationships = map[string]VerificationRelationship{
	Authentication:       authentication,
	AssertionMethod:      assertionMethod,
	KeyAgreement:         keyAgreement,
	CapabilityInvocation: capabilityInvocation,
	CapabilityDelegation: capabilityDelegation,
}

VerificationRelationships are the supported list of verification relationships

Functions

func IsEmpty

func IsEmpty(input string) bool

IsEmpty tells if the trimmed input is empty

func IsValidDID

func IsValidDID(input string) bool

IsValidDID validate the input string according to the did specification (cfr. https://www.w3.org/TR/did-core/#did-syntax ).

func IsValidDIDDocument

func IsValidDIDDocument(didDoc *IidDocument) bool

IsValidDIDDocument tells if a DID document is valid, that is if it has the default context and a valid subject

func IsValidDIDKeyFormat

func IsValidDIDKeyFormat(did string) bool

IsValidDIDKeyFormat verify that a did is compliant with the did:cosmos:key format that is the ID must be a bech32 address no longer than 255 bytes

func IsValidDIDMetadata

func IsValidDIDMetadata(didMeta *IidMetadata) bool

IsValidDIDMetadata tells if a DID metadata is valid, that is if it has a non empty versionId and a non-zero create date

func IsValidDIDURL

func IsValidDIDURL(input string) bool

IsValidDIDURL validate the input string according to the did url specification (cfr. https://www.w3.org/TR/did-core/#did-url-syntax ).

func IsValidIIDKeyFormat

func IsValidIIDKeyFormat(did string) bool

func IsValidRFC3986Uri

func IsValidRFC3986Uri(input string) bool

IsValidRFC3986Uri checks if the input string is a valid RFC3986 URI (cfr https://datatracker.ietf.org/doc/html/rfc3986#page-50)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

func RegisterMsgHandler

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

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

func RegisterMsgHandlerClient

func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MsgClient) error

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

func RegisterMsgHandlerFromEndpoint

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

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

func RegisterMsgHandlerServer

func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MsgServer) error

RegisterMsgHandlerServer registers the http handlers for service Msg to "mux". UnaryRPC :call MsgServer 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 RegisterMsgHandlerFromEndpoint instead.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ResolveAccountDID

func ResolveAccountDID(did, chainID string) (didDoc IidDocument, didMeta IidMetadata, err error)

ResolveAccountDID generates a DID document from an address

func UpdateDidMetadata

func UpdateDidMetadata(meta *IidMetadata, versionData []byte, updated time.Time)

UpdateDidMetadata updates a DID metadata time and version id

func ValidateService

func ValidateService(s *Service) (err error)

ValidateService performs basic on a service struct

func ValidateVerification

func ValidateVerification(v *Verification, allowedControllers ...string) (err error)

ValidateVerification perform basic validation on a verification struct optionally validating the validation method controller against a list of allowed controllers. in case of error returns an cosmos-sdk wrapped error XXX: this pattern creates a ambiguous semantic (but maybe is not too severe (use WithCredentials and array of credentials))

Types

type AccordedRight

type AccordedRight struct {
	Type      string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id        string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Mechanism string `protobuf:"bytes,3,opt,name=mechanism,proto3" json:"mechanism,omitempty"`
	Message   string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Service   string `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
}

func NewAccordedRight

func NewAccordedRight(id string, rightType string, mechanism string, message string, endpoint string) *AccordedRight

func (*AccordedRight) Descriptor

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

func (*AccordedRight) Equal

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

func (*AccordedRight) Marshal

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

func (*AccordedRight) MarshalTo

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

func (*AccordedRight) MarshalToSizedBuffer

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

func (*AccordedRight) ProtoMessage

func (*AccordedRight) ProtoMessage()

func (*AccordedRight) Reset

func (m *AccordedRight) Reset()

func (*AccordedRight) Size

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

func (*AccordedRight) String

func (m *AccordedRight) String() string

func (*AccordedRight) Unmarshal

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

func (*AccordedRight) XXX_DiscardUnknown

func (m *AccordedRight) XXX_DiscardUnknown()

func (*AccordedRight) XXX_Marshal

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

func (*AccordedRight) XXX_Merge

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

func (*AccordedRight) XXX_Size

func (m *AccordedRight) XXX_Size() int

func (*AccordedRight) XXX_Unmarshal

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

type AccordedRights

type AccordedRights []*AccordedRight

type BlockchainAccountID

type BlockchainAccountID string

BlockchainAccountID formats an account address as per the CAIP-10 Account ID specification. https://w3c.github.io/did-spec-registries/#blockchainaccountid https://github.com/ChainAgnostic/CAIPs/blob/master/CAIPs/caip-10.md

func NewBlockchainAccountID

func NewBlockchainAccountID(chainID, account string) BlockchainAccountID

NewBlockchainAccountID build a new blockchain account ID struct

func (BlockchainAccountID) EncodeToString

func (baID BlockchainAccountID) EncodeToString() string

EncodeToString returns the string representation of a blockchain account id

func (BlockchainAccountID) GetAddress

func (baID BlockchainAccountID) GetAddress() string

GetAddress get the address from a blockchain account id TODO: this function shall return an error for invalid addresses

func (BlockchainAccountID) MatchAddress

func (baID BlockchainAccountID) MatchAddress(address string) bool

MatchAddress check if a blockchain id address matches another address the match ignore the chain ID

func (BlockchainAccountID) Type

Type returns the string representation of a blockchain account id

type Context

type Context struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"`
}

func NewDidContext

func NewDidContext(key string, val string) *Context

func (*Context) Descriptor

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

func (*Context) Equal

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

func (*Context) Marshal

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

func (*Context) MarshalTo

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

func (*Context) MarshalToSizedBuffer

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

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) Reset

func (m *Context) Reset()

func (*Context) Size

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

func (*Context) String

func (m *Context) String() string

func (*Context) Unmarshal

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

func (*Context) XXX_DiscardUnknown

func (m *Context) XXX_DiscardUnknown()

func (*Context) XXX_Marshal

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

func (*Context) XXX_Merge

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

func (*Context) XXX_Size

func (m *Context) XXX_Size() int

func (*Context) XXX_Unmarshal

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

type Contexts

type Contexts []*Context

type DID

type DID string

DID as typed string

func NewChainDID

func NewChainDID(chainName, didID string) DID

NewChainDID format a DID from a method specific did cfr.https://www.w3.org/TR/did-core/#did

func NewKeyDID

func NewKeyDID(account string) DID

NewKeyDID format a DID of type key

func (DID) NewVerificationMethodID

func (did DID) NewVerificationMethodID(vmID string) string

NewVerificationMethodID compose a verification method id from an account address

func (DID) String

func (did DID) String() string

String return the string representation of the did

type DIDFragment

type DIDFragment string

func (DIDFragment) Did

func (df DIDFragment) Did() string

func (DIDFragment) Fragment

func (df DIDFragment) Fragment() (string, bool)

func (DIDFragment) HasFragment

func (df DIDFragment) HasFragment() (exists bool)

func (DIDFragment) String

func (df DIDFragment) String() string

type DidDocumentOption

type DidDocumentOption func(*IidDocument) error

DidDocumentOption implements variadic pattern for optional did document fields

func WithControllers

func WithControllers(controllers ...string) DidDocumentOption

WithControllers add optional did controller

func WithEntities

func WithEntities(entities ...*LinkedEntity) DidDocumentOption

func WithResources

func WithResources(resources ...*LinkedResource) DidDocumentOption

WithResources add optional resources

func WithRights

func WithRights(rights ...*AccordedRight) DidDocumentOption

WithRights add optional Rights

func WithServices

func WithServices(services ...*Service) DidDocumentOption

WithServices add optional services

func WithVerifications

func WithVerifications(verifications ...*Verification) DidDocumentOption

WithVerifications add optional verifications

type GenesisState

type GenesisState struct {
	IidDocs []IidDocument `protobuf:"bytes,1,rep,name=iid_docs,json=iidDocs,proto3" json:"iid_docs" yaml:"iid_docs"`
	IidMeta []IidMetadata `protobuf:"bytes,2,rep,name=iid_meta,json=iidMeta,proto3" json:"iid_meta" yaml:"iid_meta"`
}

GenesisState defines the did module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

func NewGenesisState

func NewGenesisState(iids []IidDocument, meta []IidMetadata) *GenesisState

func (*GenesisState) Descriptor

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

func (*GenesisState) GetIidDocs

func (m *GenesisState) GetIidDocs() []IidDocument

func (*GenesisState) GetIidMeta

func (m *GenesisState) GetIidMeta() []IidMetadata

func (*GenesisState) Marshal

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

func (*GenesisState) MarshalTo

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (*GenesisState) 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 IidDocument

type IidDocument struct {
	// @context is spec for did document.
	Context []*Context `protobuf:"bytes,1,rep,name=context,proto3" json:"@context,omitempty"`
	// id represents the id for the did document.
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// A DID controller is an entity that is authorized to make changes to a DID document.
	// cfr. https://www.w3.org/TR/did-core/#did-controller
	Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"`
	// A DID document can express verification methods,
	// such as cryptographic public keys, which can be used
	// to authenticate or authorize interactions with the DID subject or associated parties.
	// https://www.w3.org/TR/did-core/#verification-methods
	VerificationMethod []*VerificationMethod `protobuf:"bytes,4,rep,name=verificationMethod,proto3" json:"verificationMethod,omitempty"`
	// Services are used in DID documents to express ways of communicating
	// with the DID subject or associated entities.
	// https://www.w3.org/TR/did-core/#services
	Service []*Service `protobuf:"bytes,5,rep,name=service,proto3" json:"service,omitempty"`
	// NOTE: below this line there are the relationships
	// Authentication represents public key associated with the did document.
	// cfr. https://www.w3.org/TR/did-core/#authentication
	Authentication []string `protobuf:"bytes,6,rep,name=authentication,proto3" json:"authentication,omitempty"`
	// Used to specify how the DID subject is expected to express claims,
	// such as for the purposes of issuing a Verifiable Credential.
	// cfr. https://www.w3.org/TR/did-core/#assertion
	AssertionMethod []string `protobuf:"bytes,7,rep,name=assertionMethod,proto3" json:"assertionMethod,omitempty"`
	// used to specify how an entity can generate encryption material
	// in order to transmit confidential information intended for the DID subject.
	// https://www.w3.org/TR/did-core/#key-agreement
	KeyAgreement []string `protobuf:"bytes,8,rep,name=keyAgreement,proto3" json:"keyAgreement,omitempty"`
	// Used to specify a verification method that might be used by the DID subject
	// to invoke a cryptographic capability, such as the authorization
	// to update the DID Document.
	// https://www.w3.org/TR/did-core/#capability-invocation
	CapabilityInvocation []string `protobuf:"bytes,9,rep,name=capabilityInvocation,proto3" json:"capabilityInvocation,omitempty"`
	// Used to specify a mechanism that might be used by the DID subject
	// to delegate a cryptographic capability to another party.
	// https://www.w3.org/TR/did-core/#capability-delegation
	CapabilityDelegation []string          `protobuf:"bytes,10,rep,name=capabilityDelegation,proto3" json:"capabilityDelegation,omitempty"`
	LinkedResource       []*LinkedResource `protobuf:"bytes,11,rep,name=linkedResource,proto3" json:"linkedResource,omitempty"`
	AccordedRight        []*AccordedRight  `protobuf:"bytes,12,rep,name=accordedRight,proto3" json:"accordedRight,omitempty"`
	LinkedEntity         []*LinkedEntity   `protobuf:"bytes,13,rep,name=linkedEntity,proto3" json:"linkedEntity,omitempty"`
	AlsoKnownAs          string            `protobuf:"bytes,14,opt,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"`
}

func NewDidDocument

func NewDidDocument(id string, options ...DidDocumentOption) (did IidDocument, err error)

NewDidDocument constructs a new DidDocument

func (*IidDocument) AddAccordedRight

func (didDoc *IidDocument) AddAccordedRight(accordedRights ...*AccordedRight) (err error)

func (*IidDocument) AddControllers

func (didDoc *IidDocument) AddControllers(controllers ...string) error

AddControllers add a controller to a did document if not exists

func (*IidDocument) AddDidContext

func (didDoc *IidDocument) AddDidContext(contexts ...*Context) (err error)

func (*IidDocument) AddLinkedEntity

func (didDoc *IidDocument) AddLinkedEntity(linkedEntities ...*LinkedEntity) (err error)

func (*IidDocument) AddLinkedResource

func (didDoc *IidDocument) AddLinkedResource(linkedResources ...*LinkedResource) (err error)

func (*IidDocument) AddServices

func (didDoc *IidDocument) AddServices(services ...*Service) (err error)

AddServices add services to a did document

func (*IidDocument) AddVerifications

func (didDoc *IidDocument) AddVerifications(verifications ...*Verification) (err error)

AddVerifications add one or more verification method and relations to a did document

func (*IidDocument) DeleteAccordedRight

func (didDoc *IidDocument) DeleteAccordedRight(rightID string)

func (*IidDocument) DeleteControllers

func (didDoc *IidDocument) DeleteControllers(controllers ...string) error

DeleteControllers delete controllers from a did document

func (*IidDocument) DeleteDidContext

func (didDoc *IidDocument) DeleteDidContext(contextKey string)

func (*IidDocument) DeleteLinkedEntity

func (didDoc *IidDocument) DeleteLinkedEntity(entityID string)

func (*IidDocument) DeleteLinkedResource

func (didDoc *IidDocument) DeleteLinkedResource(resourceID string)

func (*IidDocument) DeleteService

func (didDoc *IidDocument) DeleteService(serviceID string)

DeleteService delete an existing service from a did document

func (*IidDocument) Descriptor

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

func (*IidDocument) Equal

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

func (IidDocument) GetBytes

func (didDoc IidDocument) GetBytes() []byte

GetBytes is a helper for serializing

func (IidDocument) GetSignBytes

func (did IidDocument) GetSignBytes() []byte

func (IidDocument) GetVerificationMethodBlockchainAddress

func (didDoc IidDocument) GetVerificationMethodBlockchainAddress(methodID string) (sdk.AccAddress, error)

GetVerificationMethodBlockchainAddress returns the verification method cosmos blockchain address of a verification method. it fails if the verification method is not supported or if the verification method is not found

func (IidDocument) GetVerificationRelationships

func (didDoc IidDocument) GetVerificationRelationships(methodID string) []string

GetVerificationRelationships returns the relationships associated with the verification method id.

func (*IidDocument) HasController

func (didDoc *IidDocument) HasController(controller DID) bool

HasController returns true if the DID document has the input DID as a controller, false otherwise

func (IidDocument) HasPublicKey

func (didDoc IidDocument) HasPublicKey(pubkey cryptotypes.PubKey) bool

HasPublicKey validates if a public key is contained in a DidDocument

func (IidDocument) HasRelationship

func (didDoc IidDocument) HasRelationship(
	signer BlockchainAccountID,
	relationships ...string,
) bool

HasRelationship verifies if a controller did exist for at least one of the relationships in the did document

func (*IidDocument) Marshal

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

func (*IidDocument) MarshalTo

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

func (*IidDocument) MarshalToSizedBuffer

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

func (*IidDocument) ProtoMessage

func (*IidDocument) ProtoMessage()

func (*IidDocument) Reset

func (m *IidDocument) Reset()

func (*IidDocument) RevokeVerification

func (didDoc *IidDocument) RevokeVerification(methodID string) error

RevokeVerification revoke a verification method and all relationships associated with it

func (*IidDocument) SetVerificationRelationships

func (didDoc *IidDocument) SetVerificationRelationships(methodID string, relationships ...string) error

SetVerificationRelationships for a did document

func (*IidDocument) Size

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

func (*IidDocument) String

func (m *IidDocument) String() string

func (*IidDocument) Unmarshal

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

func (*IidDocument) XXX_DiscardUnknown

func (m *IidDocument) XXX_DiscardUnknown()

func (*IidDocument) XXX_Marshal

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

func (*IidDocument) XXX_Merge

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

func (*IidDocument) XXX_Size

func (m *IidDocument) XXX_Size() int

func (*IidDocument) XXX_Unmarshal

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

type IidDocumentCreatedEvent

type IidDocumentCreatedEvent struct {
	// the did being created
	Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
	// the signer account creating the did
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

DidDocumentCreatedEvent is an event triggered on a DID document creation

func NewIidDocumentCreatedEvent

func NewIidDocumentCreatedEvent(did, owner string) *IidDocumentCreatedEvent

NewDidDocumentCreatedEvent constructs a new did_created sdk.Event

func (*IidDocumentCreatedEvent) Descriptor

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

func (*IidDocumentCreatedEvent) Equal

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

func (*IidDocumentCreatedEvent) Marshal

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

func (*IidDocumentCreatedEvent) MarshalTo

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

func (*IidDocumentCreatedEvent) MarshalToSizedBuffer

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

func (*IidDocumentCreatedEvent) ProtoMessage

func (*IidDocumentCreatedEvent) ProtoMessage()

func (*IidDocumentCreatedEvent) Reset

func (m *IidDocumentCreatedEvent) Reset()

func (*IidDocumentCreatedEvent) Size

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

func (*IidDocumentCreatedEvent) String

func (m *IidDocumentCreatedEvent) String() string

func (*IidDocumentCreatedEvent) Unmarshal

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

func (*IidDocumentCreatedEvent) XXX_DiscardUnknown

func (m *IidDocumentCreatedEvent) XXX_DiscardUnknown()

func (*IidDocumentCreatedEvent) XXX_Marshal

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

func (*IidDocumentCreatedEvent) XXX_Merge

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

func (*IidDocumentCreatedEvent) XXX_Size

func (m *IidDocumentCreatedEvent) XXX_Size() int

func (*IidDocumentCreatedEvent) XXX_Unmarshal

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

type IidDocumentUpdatedEvent

type IidDocumentUpdatedEvent struct {
	// the did being updated
	Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
	// the signer account of the change
	Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}

DidDocumentUpdatedEvent is an event triggered on a DID document update

func NewIidDocumentUpdatedEvent

func NewIidDocumentUpdatedEvent(did, signer string) *IidDocumentUpdatedEvent

NewDidDocumentUpdatedEvent constructs a new did_created sdk.Event

func (*IidDocumentUpdatedEvent) Descriptor

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

func (*IidDocumentUpdatedEvent) Equal

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

func (*IidDocumentUpdatedEvent) Marshal

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

func (*IidDocumentUpdatedEvent) MarshalTo

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

func (*IidDocumentUpdatedEvent) MarshalToSizedBuffer

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

func (*IidDocumentUpdatedEvent) ProtoMessage

func (*IidDocumentUpdatedEvent) ProtoMessage()

func (*IidDocumentUpdatedEvent) Reset

func (m *IidDocumentUpdatedEvent) Reset()

func (*IidDocumentUpdatedEvent) Size

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

func (*IidDocumentUpdatedEvent) String

func (m *IidDocumentUpdatedEvent) String() string

func (*IidDocumentUpdatedEvent) Unmarshal

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

func (*IidDocumentUpdatedEvent) XXX_DiscardUnknown

func (m *IidDocumentUpdatedEvent) XXX_DiscardUnknown()

func (*IidDocumentUpdatedEvent) XXX_Marshal

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

func (*IidDocumentUpdatedEvent) XXX_Merge

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

func (*IidDocumentUpdatedEvent) XXX_Size

func (m *IidDocumentUpdatedEvent) XXX_Size() int

func (*IidDocumentUpdatedEvent) XXX_Unmarshal

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

type IidMetadata

type IidMetadata struct {
	Id                   string     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	VersionId            string     `protobuf:"bytes,2,opt,name=versionId,proto3" json:"versionId,omitempty"`
	Created              *time.Time `protobuf:"bytes,3,opt,name=created,proto3,stdtime" json:"created,omitempty"`
	Updated              *time.Time `protobuf:"bytes,4,opt,name=updated,proto3,stdtime" json:"updated,omitempty"`
	Deactivated          bool       `protobuf:"varint,5,opt,name=deactivated,proto3" json:"deactivated,omitempty"`
	EntityType           string     `protobuf:"bytes,6,opt,name=entityType,proto3" json:"entityType,omitempty"`
	StartDate            *time.Time `protobuf:"bytes,7,opt,name=startDate,proto3,stdtime" json:"startDate,omitempty"`
	EndDate              *time.Time `protobuf:"bytes,8,opt,name=endDate,proto3,stdtime" json:"endDate,omitempty"`
	Status               int32      `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
	Stage                string     `protobuf:"bytes,10,opt,name=stage,proto3" json:"stage,omitempty"`
	RelayerNode          string     `protobuf:"bytes,11,opt,name=relayerNode,proto3" json:"relayerNode,omitempty"`
	VerifiableCredential string     `protobuf:"bytes,12,opt,name=verifiableCredential,proto3" json:"verifiableCredential,omitempty"`
	Credentials          []string   `protobuf:"bytes,13,rep,name=credentials,proto3" json:"credentials,omitempty"`
}

DidMetadata defines metadata associated to a did document such as the status of the DID document

func NewDidMetadata

func NewDidMetadata(versionData []byte, created time.Time) IidMetadata

func UnmarshalMetadata

func UnmarshalMetadata(meta []byte) IidMetadata

func (*IidMetadata) Descriptor

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

func (*IidMetadata) Equal

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

func (*IidMetadata) Marshal

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

func (*IidMetadata) MarshalTo

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

func (*IidMetadata) MarshalToSizedBuffer

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

func (*IidMetadata) ProtoMessage

func (*IidMetadata) ProtoMessage()

func (*IidMetadata) Reset

func (m *IidMetadata) Reset()

func (*IidMetadata) Size

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

func (*IidMetadata) String

func (m *IidMetadata) String() string

func (*IidMetadata) Unmarshal

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

func (*IidMetadata) XXX_DiscardUnknown

func (m *IidMetadata) XXX_DiscardUnknown()

func (*IidMetadata) XXX_Marshal

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

func (*IidMetadata) XXX_Merge

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

func (*IidMetadata) XXX_Size

func (m *IidMetadata) XXX_Size() int

func (*IidMetadata) XXX_Unmarshal

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

type LinkedEntities

type LinkedEntities []*LinkedEntity

type LinkedEntity

type LinkedEntity struct {
	Id           string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Relationship string `protobuf:"bytes,3,opt,name=relationship,proto3" json:"relationship,omitempty"`
}

func NewLinkedEntity

func NewLinkedEntity(id string, relationship string) *LinkedEntity

func (*LinkedEntity) Descriptor

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

func (*LinkedEntity) Equal

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

func (*LinkedEntity) Marshal

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

func (*LinkedEntity) MarshalTo

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

func (*LinkedEntity) MarshalToSizedBuffer

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

func (*LinkedEntity) ProtoMessage

func (*LinkedEntity) ProtoMessage()

func (*LinkedEntity) Reset

func (m *LinkedEntity) Reset()

func (*LinkedEntity) Size

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

func (*LinkedEntity) String

func (m *LinkedEntity) String() string

func (*LinkedEntity) Unmarshal

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

func (*LinkedEntity) XXX_DiscardUnknown

func (m *LinkedEntity) XXX_DiscardUnknown()

func (*LinkedEntity) XXX_Marshal

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

func (*LinkedEntity) XXX_Merge

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

func (*LinkedEntity) XXX_Size

func (m *LinkedEntity) XXX_Size() int

func (*LinkedEntity) XXX_Unmarshal

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

type LinkedResource

type LinkedResource struct {
	Type            string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id              string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Description     string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	MediaType       string `protobuf:"bytes,4,opt,name=mediaType,proto3" json:"mediaType,omitempty"`
	ServiceEndpoint string `protobuf:"bytes,5,opt,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"`
	Proof           string `protobuf:"bytes,6,opt,name=proof,proto3" json:"proof,omitempty"`
	Encrypted       string `protobuf:"bytes,7,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
	Right           string `protobuf:"bytes,8,opt,name=right,proto3" json:"right,omitempty"`
}

func NewLinkedResource

func NewLinkedResource(id string, resourceType string, description string, mediaType string, serviceEndpoint string, proof string, encrypted string, privacy string) *LinkedResource

func (*LinkedResource) Descriptor

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

func (*LinkedResource) Equal

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

func (*LinkedResource) Marshal

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

func (*LinkedResource) MarshalTo

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

func (*LinkedResource) MarshalToSizedBuffer

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

func (*LinkedResource) ProtoMessage

func (*LinkedResource) ProtoMessage()

func (*LinkedResource) Reset

func (m *LinkedResource) Reset()

func (*LinkedResource) Size

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

func (*LinkedResource) String

func (m *LinkedResource) String() string

func (*LinkedResource) Unmarshal

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

func (*LinkedResource) XXX_DiscardUnknown

func (m *LinkedResource) XXX_DiscardUnknown()

func (*LinkedResource) XXX_Marshal

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

func (*LinkedResource) XXX_Merge

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

func (*LinkedResource) XXX_Size

func (m *LinkedResource) XXX_Size() int

func (*LinkedResource) XXX_Unmarshal

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

type LinkedResources

type LinkedResources []*LinkedResource

type MsgAddAccordedRight

type MsgAddAccordedRight struct {
	Id            string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AccordedRight *AccordedRight `protobuf:"bytes,2,opt,name=accordedRight,proto3" json:"accordedRight,omitempty"`
	Signer        string         `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddAccordedRight

func NewMsgAddAccordedRight(
	id string,
	right *AccordedRight,
	signerAccount string,
) *MsgAddAccordedRight

NewMsgAddAccordedRight creates a new MsgAddAccordedright instance

func (*MsgAddAccordedRight) Descriptor

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

func (MsgAddAccordedRight) GetSignBytes

func (msg MsgAddAccordedRight) GetSignBytes() []byte

func (MsgAddAccordedRight) GetSigners

func (msg MsgAddAccordedRight) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddAccordedRight) Marshal

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

func (*MsgAddAccordedRight) MarshalTo

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

func (*MsgAddAccordedRight) MarshalToSizedBuffer

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

func (*MsgAddAccordedRight) ProtoMessage

func (*MsgAddAccordedRight) ProtoMessage()

func (*MsgAddAccordedRight) Reset

func (m *MsgAddAccordedRight) Reset()

func (MsgAddAccordedRight) Route

func (MsgAddAccordedRight) Route() string

Route implements sdk.Msg

func (*MsgAddAccordedRight) Size

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

func (*MsgAddAccordedRight) String

func (m *MsgAddAccordedRight) String() string

func (MsgAddAccordedRight) Type

func (MsgAddAccordedRight) Type() string

Type implements sdk.Msg

func (*MsgAddAccordedRight) Unmarshal

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

func (MsgAddAccordedRight) ValidateBasic

func (msg MsgAddAccordedRight) ValidateBasic() error

func (*MsgAddAccordedRight) XXX_DiscardUnknown

func (m *MsgAddAccordedRight) XXX_DiscardUnknown()

func (*MsgAddAccordedRight) XXX_Marshal

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

func (*MsgAddAccordedRight) XXX_Merge

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

func (*MsgAddAccordedRight) XXX_Size

func (m *MsgAddAccordedRight) XXX_Size() int

func (*MsgAddAccordedRight) XXX_Unmarshal

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

type MsgAddAccordedRightResponse

type MsgAddAccordedRightResponse struct {
}

func (*MsgAddAccordedRightResponse) Descriptor

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

func (*MsgAddAccordedRightResponse) Marshal

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

func (*MsgAddAccordedRightResponse) MarshalTo

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

func (*MsgAddAccordedRightResponse) MarshalToSizedBuffer

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

func (*MsgAddAccordedRightResponse) ProtoMessage

func (*MsgAddAccordedRightResponse) ProtoMessage()

func (*MsgAddAccordedRightResponse) Reset

func (m *MsgAddAccordedRightResponse) Reset()

func (*MsgAddAccordedRightResponse) Size

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

func (*MsgAddAccordedRightResponse) String

func (m *MsgAddAccordedRightResponse) String() string

func (*MsgAddAccordedRightResponse) Unmarshal

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

func (*MsgAddAccordedRightResponse) XXX_DiscardUnknown

func (m *MsgAddAccordedRightResponse) XXX_DiscardUnknown()

func (*MsgAddAccordedRightResponse) XXX_Marshal

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

func (*MsgAddAccordedRightResponse) XXX_Merge

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

func (*MsgAddAccordedRightResponse) XXX_Size

func (m *MsgAddAccordedRightResponse) XXX_Size() int

func (*MsgAddAccordedRightResponse) XXX_Unmarshal

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

type MsgAddController

type MsgAddController struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ControllerDid string `protobuf:"bytes,2,opt,name=controller_did,json=controllerDid,proto3" json:"controller_did,omitempty"`
	Signer        string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddController

func NewMsgAddController(
	id string,
	controllerDID string,
	signerAccount string,
) *MsgAddController

func (*MsgAddController) Descriptor

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

func (MsgAddController) GetSignBytes

func (msg MsgAddController) GetSignBytes() []byte

func (MsgAddController) GetSigners

func (msg MsgAddController) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddController) Marshal

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

func (*MsgAddController) MarshalTo

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

func (*MsgAddController) MarshalToSizedBuffer

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

func (*MsgAddController) ProtoMessage

func (*MsgAddController) ProtoMessage()

func (*MsgAddController) Reset

func (m *MsgAddController) Reset()

func (MsgAddController) Route

func (MsgAddController) Route() string

Route implements sdk.Msg

func (*MsgAddController) Size

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

func (*MsgAddController) String

func (m *MsgAddController) String() string

func (MsgAddController) Type

func (MsgAddController) Type() string

Type implements sdk.Msg

func (*MsgAddController) Unmarshal

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

func (MsgAddController) ValidateBasic

func (msg MsgAddController) ValidateBasic() error

ValidateBasic performs a basic check of the MsgAddService fields.

func (*MsgAddController) XXX_DiscardUnknown

func (m *MsgAddController) XXX_DiscardUnknown()

func (*MsgAddController) XXX_Marshal

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

func (*MsgAddController) XXX_Merge

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

func (*MsgAddController) XXX_Size

func (m *MsgAddController) XXX_Size() int

func (*MsgAddController) XXX_Unmarshal

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

type MsgAddControllerResponse

type MsgAddControllerResponse struct {
}

func (*MsgAddControllerResponse) Descriptor

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

func (*MsgAddControllerResponse) Marshal

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

func (*MsgAddControllerResponse) MarshalTo

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

func (*MsgAddControllerResponse) MarshalToSizedBuffer

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

func (*MsgAddControllerResponse) ProtoMessage

func (*MsgAddControllerResponse) ProtoMessage()

func (*MsgAddControllerResponse) Reset

func (m *MsgAddControllerResponse) Reset()

func (*MsgAddControllerResponse) Size

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

func (*MsgAddControllerResponse) String

func (m *MsgAddControllerResponse) String() string

func (*MsgAddControllerResponse) Unmarshal

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

func (*MsgAddControllerResponse) XXX_DiscardUnknown

func (m *MsgAddControllerResponse) XXX_DiscardUnknown()

func (*MsgAddControllerResponse) XXX_Marshal

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

func (*MsgAddControllerResponse) XXX_Merge

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

func (*MsgAddControllerResponse) XXX_Size

func (m *MsgAddControllerResponse) XXX_Size() int

func (*MsgAddControllerResponse) XXX_Unmarshal

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

type MsgAddIidContext

type MsgAddIidContext struct {
	Id      string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	Signer  string   `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddDidContext

func NewMsgAddDidContext(
	id string,
	context *Context,
	signerAccount string,
) *MsgAddIidContext

NewMsgAddService creates a new MsgAddService instance

func (*MsgAddIidContext) Descriptor

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

func (MsgAddIidContext) GetSignBytes

func (msg MsgAddIidContext) GetSignBytes() []byte

func (MsgAddIidContext) GetSigners

func (msg MsgAddIidContext) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddIidContext) Marshal

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

func (*MsgAddIidContext) MarshalTo

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

func (*MsgAddIidContext) MarshalToSizedBuffer

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

func (*MsgAddIidContext) ProtoMessage

func (*MsgAddIidContext) ProtoMessage()

func (*MsgAddIidContext) Reset

func (m *MsgAddIidContext) Reset()

func (MsgAddIidContext) Route

func (MsgAddIidContext) Route() string

Route implements sdk.Msg

func (*MsgAddIidContext) Size

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

func (*MsgAddIidContext) String

func (m *MsgAddIidContext) String() string

func (MsgAddIidContext) Type

func (MsgAddIidContext) Type() string

Type implements sdk.Msg

func (*MsgAddIidContext) Unmarshal

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

func (MsgAddIidContext) ValidateBasic

func (msg MsgAddIidContext) ValidateBasic() error

func (*MsgAddIidContext) XXX_DiscardUnknown

func (m *MsgAddIidContext) XXX_DiscardUnknown()

func (*MsgAddIidContext) XXX_Marshal

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

func (*MsgAddIidContext) XXX_Merge

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

func (*MsgAddIidContext) XXX_Size

func (m *MsgAddIidContext) XXX_Size() int

func (*MsgAddIidContext) XXX_Unmarshal

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

type MsgAddIidContextResponse

type MsgAddIidContextResponse struct {
}

func (*MsgAddIidContextResponse) Descriptor

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

func (*MsgAddIidContextResponse) Marshal

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

func (*MsgAddIidContextResponse) MarshalTo

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

func (*MsgAddIidContextResponse) MarshalToSizedBuffer

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

func (*MsgAddIidContextResponse) ProtoMessage

func (*MsgAddIidContextResponse) ProtoMessage()

func (*MsgAddIidContextResponse) Reset

func (m *MsgAddIidContextResponse) Reset()

func (*MsgAddIidContextResponse) Size

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

func (*MsgAddIidContextResponse) String

func (m *MsgAddIidContextResponse) String() string

func (*MsgAddIidContextResponse) Unmarshal

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

func (*MsgAddIidContextResponse) XXX_DiscardUnknown

func (m *MsgAddIidContextResponse) XXX_DiscardUnknown()

func (*MsgAddIidContextResponse) XXX_Marshal

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

func (*MsgAddIidContextResponse) XXX_Merge

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

func (*MsgAddIidContextResponse) XXX_Size

func (m *MsgAddIidContextResponse) XXX_Size() int

func (*MsgAddIidContextResponse) XXX_Unmarshal

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

type MsgAddLinkedEntity

type MsgAddLinkedEntity struct {
	Id           string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	LinkedEntity *LinkedEntity `protobuf:"bytes,2,opt,name=linkedEntity,proto3" json:"linkedEntity,omitempty"`
	Signer       string        `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddLinkedEntity

func NewMsgAddLinkedEntity(
	id string,
	linkedResource *LinkedEntity,
	signerAccount string,
) *MsgAddLinkedEntity

func (*MsgAddLinkedEntity) Descriptor

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

func (MsgAddLinkedEntity) GetSigners

func (msg MsgAddLinkedEntity) GetSigners() []sdk.AccAddress

func (*MsgAddLinkedEntity) Marshal

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

func (*MsgAddLinkedEntity) MarshalTo

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

func (*MsgAddLinkedEntity) MarshalToSizedBuffer

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

func (*MsgAddLinkedEntity) ProtoMessage

func (*MsgAddLinkedEntity) ProtoMessage()

func (*MsgAddLinkedEntity) Reset

func (m *MsgAddLinkedEntity) Reset()

func (*MsgAddLinkedEntity) Size

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

func (*MsgAddLinkedEntity) String

func (m *MsgAddLinkedEntity) String() string

func (*MsgAddLinkedEntity) Unmarshal

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

func (MsgAddLinkedEntity) ValidateBasic

func (msg MsgAddLinkedEntity) ValidateBasic() error

func (*MsgAddLinkedEntity) XXX_DiscardUnknown

func (m *MsgAddLinkedEntity) XXX_DiscardUnknown()

func (*MsgAddLinkedEntity) XXX_Marshal

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

func (*MsgAddLinkedEntity) XXX_Merge

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

func (*MsgAddLinkedEntity) XXX_Size

func (m *MsgAddLinkedEntity) XXX_Size() int

func (*MsgAddLinkedEntity) XXX_Unmarshal

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

type MsgAddLinkedEntityResponse

type MsgAddLinkedEntityResponse struct {
}

func (*MsgAddLinkedEntityResponse) Descriptor

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

func (*MsgAddLinkedEntityResponse) Marshal

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

func (*MsgAddLinkedEntityResponse) MarshalTo

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

func (*MsgAddLinkedEntityResponse) MarshalToSizedBuffer

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

func (*MsgAddLinkedEntityResponse) ProtoMessage

func (*MsgAddLinkedEntityResponse) ProtoMessage()

func (*MsgAddLinkedEntityResponse) Reset

func (m *MsgAddLinkedEntityResponse) Reset()

func (*MsgAddLinkedEntityResponse) Size

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

func (*MsgAddLinkedEntityResponse) String

func (m *MsgAddLinkedEntityResponse) String() string

func (*MsgAddLinkedEntityResponse) Unmarshal

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

func (*MsgAddLinkedEntityResponse) XXX_DiscardUnknown

func (m *MsgAddLinkedEntityResponse) XXX_DiscardUnknown()

func (*MsgAddLinkedEntityResponse) XXX_Marshal

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

func (*MsgAddLinkedEntityResponse) XXX_Merge

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

func (*MsgAddLinkedEntityResponse) XXX_Size

func (m *MsgAddLinkedEntityResponse) XXX_Size() int

func (*MsgAddLinkedEntityResponse) XXX_Unmarshal

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

type MsgAddLinkedResource

type MsgAddLinkedResource struct {
	Id             string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	LinkedResource *LinkedResource `protobuf:"bytes,2,opt,name=linkedResource,proto3" json:"linkedResource,omitempty"`
	Signer         string          `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddLinkedResource

func NewMsgAddLinkedResource(
	id string,
	linkedResource *LinkedResource,
	signerAccount string,
) *MsgAddLinkedResource

func (*MsgAddLinkedResource) Descriptor

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

func (MsgAddLinkedResource) GetSignBytes

func (msg MsgAddLinkedResource) GetSignBytes() []byte

func (MsgAddLinkedResource) GetSigners

func (msg MsgAddLinkedResource) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddLinkedResource) Marshal

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

func (*MsgAddLinkedResource) MarshalTo

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

func (*MsgAddLinkedResource) MarshalToSizedBuffer

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

func (*MsgAddLinkedResource) ProtoMessage

func (*MsgAddLinkedResource) ProtoMessage()

func (*MsgAddLinkedResource) Reset

func (m *MsgAddLinkedResource) Reset()

func (MsgAddLinkedResource) Route

func (MsgAddLinkedResource) Route() string

Route implements sdk.Msg

func (*MsgAddLinkedResource) Size

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

func (*MsgAddLinkedResource) String

func (m *MsgAddLinkedResource) String() string

func (MsgAddLinkedResource) Type

Type implements sdk.Msg

func (*MsgAddLinkedResource) Unmarshal

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

func (MsgAddLinkedResource) ValidateBasic

func (msg MsgAddLinkedResource) ValidateBasic() error

ValidateBasic performs a basic check of the MsgAddService fields.

func (*MsgAddLinkedResource) XXX_DiscardUnknown

func (m *MsgAddLinkedResource) XXX_DiscardUnknown()

func (*MsgAddLinkedResource) XXX_Marshal

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

func (*MsgAddLinkedResource) XXX_Merge

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

func (*MsgAddLinkedResource) XXX_Size

func (m *MsgAddLinkedResource) XXX_Size() int

func (*MsgAddLinkedResource) XXX_Unmarshal

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

type MsgAddLinkedResourceResponse

type MsgAddLinkedResourceResponse struct {
}

func (*MsgAddLinkedResourceResponse) Descriptor

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

func (*MsgAddLinkedResourceResponse) Marshal

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

func (*MsgAddLinkedResourceResponse) MarshalTo

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

func (*MsgAddLinkedResourceResponse) MarshalToSizedBuffer

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

func (*MsgAddLinkedResourceResponse) ProtoMessage

func (*MsgAddLinkedResourceResponse) ProtoMessage()

func (*MsgAddLinkedResourceResponse) Reset

func (m *MsgAddLinkedResourceResponse) Reset()

func (*MsgAddLinkedResourceResponse) Size

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

func (*MsgAddLinkedResourceResponse) String

func (*MsgAddLinkedResourceResponse) Unmarshal

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

func (*MsgAddLinkedResourceResponse) XXX_DiscardUnknown

func (m *MsgAddLinkedResourceResponse) XXX_DiscardUnknown()

func (*MsgAddLinkedResourceResponse) XXX_Marshal

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

func (*MsgAddLinkedResourceResponse) XXX_Merge

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

func (*MsgAddLinkedResourceResponse) XXX_Size

func (m *MsgAddLinkedResourceResponse) XXX_Size() int

func (*MsgAddLinkedResourceResponse) XXX_Unmarshal

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

type MsgAddService

type MsgAddService struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServiceData *Service `protobuf:"bytes,2,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"`
	Signer      string   `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddService

func NewMsgAddService(
	id string,
	service *Service,
	signerAccount string,
) *MsgAddService

NewMsgAddService creates a new MsgAddService instance

func (*MsgAddService) Descriptor

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

func (MsgAddService) GetSignBytes

func (msg MsgAddService) GetSignBytes() []byte

func (MsgAddService) GetSigners

func (msg MsgAddService) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddService) Marshal

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

func (*MsgAddService) MarshalTo

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

func (*MsgAddService) MarshalToSizedBuffer

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

func (*MsgAddService) ProtoMessage

func (*MsgAddService) ProtoMessage()

func (*MsgAddService) Reset

func (m *MsgAddService) Reset()

func (MsgAddService) Route

func (MsgAddService) Route() string

Route implements sdk.Msg

func (*MsgAddService) Size

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

func (*MsgAddService) String

func (m *MsgAddService) String() string

func (MsgAddService) Type

func (MsgAddService) Type() string

Type implements sdk.Msg

func (*MsgAddService) Unmarshal

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

func (MsgAddService) ValidateBasic

func (msg MsgAddService) ValidateBasic() error

ValidateBasic performs a basic check of the MsgAddService fields.

func (*MsgAddService) XXX_DiscardUnknown

func (m *MsgAddService) XXX_DiscardUnknown()

func (*MsgAddService) XXX_Marshal

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

func (*MsgAddService) XXX_Merge

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

func (*MsgAddService) XXX_Size

func (m *MsgAddService) XXX_Size() int

func (*MsgAddService) XXX_Unmarshal

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

type MsgAddServiceResponse

type MsgAddServiceResponse struct {
}

func (*MsgAddServiceResponse) Descriptor

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

func (*MsgAddServiceResponse) Marshal

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

func (*MsgAddServiceResponse) MarshalTo

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

func (*MsgAddServiceResponse) MarshalToSizedBuffer

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

func (*MsgAddServiceResponse) ProtoMessage

func (*MsgAddServiceResponse) ProtoMessage()

func (*MsgAddServiceResponse) Reset

func (m *MsgAddServiceResponse) Reset()

func (*MsgAddServiceResponse) Size

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

func (*MsgAddServiceResponse) String

func (m *MsgAddServiceResponse) String() string

func (*MsgAddServiceResponse) Unmarshal

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

func (*MsgAddServiceResponse) XXX_DiscardUnknown

func (m *MsgAddServiceResponse) XXX_DiscardUnknown()

func (*MsgAddServiceResponse) XXX_Marshal

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

func (*MsgAddServiceResponse) XXX_Merge

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

func (*MsgAddServiceResponse) XXX_Size

func (m *MsgAddServiceResponse) XXX_Size() int

func (*MsgAddServiceResponse) XXX_Unmarshal

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

type MsgAddVerification

type MsgAddVerification struct {
	Id           string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Verification *Verification `protobuf:"bytes,2,opt,name=verification,proto3" json:"verification,omitempty"`
	Signer       string        `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgAddVerification

func NewMsgAddVerification(
	id string,
	verification *Verification,
	signerAccount string,
) *MsgAddVerification

NewMsgAddVerification creates a new MsgAddVerification instance

func (*MsgAddVerification) Descriptor

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

func (MsgAddVerification) GetSignBytes

func (msg MsgAddVerification) GetSignBytes() []byte

func (MsgAddVerification) GetSigners

func (msg MsgAddVerification) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgAddVerification) Marshal

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

func (*MsgAddVerification) MarshalTo

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

func (*MsgAddVerification) MarshalToSizedBuffer

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

func (*MsgAddVerification) ProtoMessage

func (*MsgAddVerification) ProtoMessage()

func (*MsgAddVerification) Reset

func (m *MsgAddVerification) Reset()

func (MsgAddVerification) Route

func (MsgAddVerification) Route() string

Route implements sdk.Msg

func (*MsgAddVerification) Size

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

func (*MsgAddVerification) String

func (m *MsgAddVerification) String() string

func (MsgAddVerification) Type

func (MsgAddVerification) Type() string

Type implements sdk.Msg

func (*MsgAddVerification) Unmarshal

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

func (MsgAddVerification) ValidateBasic

func (msg MsgAddVerification) ValidateBasic() error

ValidateBasic performs a basic check of the MsgAddVerification fields.

func (*MsgAddVerification) XXX_DiscardUnknown

func (m *MsgAddVerification) XXX_DiscardUnknown()

func (*MsgAddVerification) XXX_Marshal

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

func (*MsgAddVerification) XXX_Merge

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

func (*MsgAddVerification) XXX_Size

func (m *MsgAddVerification) XXX_Size() int

func (*MsgAddVerification) XXX_Unmarshal

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

type MsgAddVerificationResponse

type MsgAddVerificationResponse struct {
}

func (*MsgAddVerificationResponse) Descriptor

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

func (*MsgAddVerificationResponse) Marshal

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

func (*MsgAddVerificationResponse) MarshalTo

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

func (*MsgAddVerificationResponse) MarshalToSizedBuffer

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

func (*MsgAddVerificationResponse) ProtoMessage

func (*MsgAddVerificationResponse) ProtoMessage()

func (*MsgAddVerificationResponse) Reset

func (m *MsgAddVerificationResponse) Reset()

func (*MsgAddVerificationResponse) Size

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

func (*MsgAddVerificationResponse) String

func (m *MsgAddVerificationResponse) String() string

func (*MsgAddVerificationResponse) Unmarshal

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

func (*MsgAddVerificationResponse) XXX_DiscardUnknown

func (m *MsgAddVerificationResponse) XXX_DiscardUnknown()

func (*MsgAddVerificationResponse) XXX_Marshal

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

func (*MsgAddVerificationResponse) XXX_Merge

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

func (*MsgAddVerificationResponse) XXX_Size

func (m *MsgAddVerificationResponse) XXX_Size() int

func (*MsgAddVerificationResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// CreateDidDocument defines a method for creating a new identity.
	CreateIidDocument(ctx context.Context, in *MsgCreateIidDocument, opts ...grpc.CallOption) (*MsgCreateIidDocumentResponse, error)
	// UpdateDidDocument defines a method for updating an identity.
	UpdateIidDocument(ctx context.Context, in *MsgUpdateIidDocument, opts ...grpc.CallOption) (*MsgUpdateIidDocumentResponse, error)
	// AddVerificationMethod adds a new verification method
	AddVerification(ctx context.Context, in *MsgAddVerification, opts ...grpc.CallOption) (*MsgAddVerificationResponse, error)
	// RevokeVerification remove the verification method and all associated verification Relations
	RevokeVerification(ctx context.Context, in *MsgRevokeVerification, opts ...grpc.CallOption) (*MsgRevokeVerificationResponse, error)
	// SetVerificationRelationships overwrite current verification relationships
	SetVerificationRelationships(ctx context.Context, in *MsgSetVerificationRelationships, opts ...grpc.CallOption) (*MsgSetVerificationRelationshipsResponse, error)
	// AddService add a new service
	AddService(ctx context.Context, in *MsgAddService, opts ...grpc.CallOption) (*MsgAddServiceResponse, error)
	// DeleteService delete an existing service
	DeleteService(ctx context.Context, in *MsgDeleteService, opts ...grpc.CallOption) (*MsgDeleteServiceResponse, error)
	// AddService add a new service
	AddController(ctx context.Context, in *MsgAddController, opts ...grpc.CallOption) (*MsgAddControllerResponse, error)
	// DeleteService delete an existing service
	DeleteController(ctx context.Context, in *MsgDeleteController, opts ...grpc.CallOption) (*MsgDeleteControllerResponse, error)
	//Add / Delete Linked Resource
	AddLinkedResource(ctx context.Context, in *MsgAddLinkedResource, opts ...grpc.CallOption) (*MsgAddLinkedResourceResponse, error)
	DeleteLinkedResource(ctx context.Context, in *MsgDeleteLinkedResource, opts ...grpc.CallOption) (*MsgDeleteLinkedResourceResponse, error)
	//Add / Delete Linked Entity
	AddLinkedEntity(ctx context.Context, in *MsgAddLinkedEntity, opts ...grpc.CallOption) (*MsgAddLinkedEntityResponse, error)
	DeleteLinkedEntity(ctx context.Context, in *MsgDeleteLinkedEntity, opts ...grpc.CallOption) (*MsgDeleteLinkedEntityResponse, error)
	//Add / Delete Accorded Right
	AddAccordedRight(ctx context.Context, in *MsgAddAccordedRight, opts ...grpc.CallOption) (*MsgAddAccordedRightResponse, error)
	DeleteAccordedRight(ctx context.Context, in *MsgDeleteAccordedRight, opts ...grpc.CallOption) (*MsgDeleteAccordedRightResponse, error)
	//Add / Delete Context
	AddIidContext(ctx context.Context, in *MsgAddIidContext, opts ...grpc.CallOption) (*MsgAddIidContextResponse, error)
	DeactivateIID(ctx context.Context, in *MsgDeactivateIID, opts ...grpc.CallOption) (*MsgDeactivateIIDResponse, error)
	DeleteIidContext(ctx context.Context, in *MsgDeleteIidContext, opts ...grpc.CallOption) (*MsgDeleteIidContextResponse, error)
	//Update META
	UpdateMetaData(ctx context.Context, in *MsgUpdateIidMeta, opts ...grpc.CallOption) (*MsgUpdateIidMetaResponse, 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 MsgCreateIidDocument

type MsgCreateIidDocument struct {
	Id             string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Controllers    []string          `protobuf:"bytes,2,rep,name=controllers,proto3" json:"controllers,omitempty"`
	Context        []*Context        `protobuf:"bytes,3,rep,name=context,proto3" json:"context,omitempty"`
	Verifications  []*Verification   `protobuf:"bytes,4,rep,name=verifications,proto3" json:"verifications,omitempty"`
	Services       []*Service        `protobuf:"bytes,5,rep,name=services,proto3" json:"services,omitempty"`
	AccordedRight  []*AccordedRight  `protobuf:"bytes,6,rep,name=accordedRight,proto3" json:"accordedRight,omitempty"`
	LinkedResource []*LinkedResource `protobuf:"bytes,7,rep,name=linkedResource,proto3" json:"linkedResource,omitempty"`
	LinkedEntity   []*LinkedEntity   `protobuf:"bytes,8,rep,name=linkedEntity,proto3" json:"linkedEntity,omitempty"`
	Signer         string            `protobuf:"bytes,9,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgCreateDidDocument defines a SDK message for creating a new did.

func NewMsgCreateIidDocument

func NewMsgCreateIidDocument(
	id string,
	verifications []*Verification,
	services []*Service,
	rights []*AccordedRight,
	resources []*LinkedResource,
	entity []*LinkedEntity,
	signerAccount string,
	didContexts []*Context,
) *MsgCreateIidDocument

NewMsgCreateDidDocument creates a new MsgCreateDidDocument instance

func (*MsgCreateIidDocument) Descriptor

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

func (MsgCreateIidDocument) GetSignBytes

func (msg MsgCreateIidDocument) GetSignBytes() []byte

func (MsgCreateIidDocument) GetSigners

func (msg MsgCreateIidDocument) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgCreateIidDocument) Marshal

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

func (*MsgCreateIidDocument) MarshalTo

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

func (*MsgCreateIidDocument) MarshalToSizedBuffer

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

func (*MsgCreateIidDocument) ProtoMessage

func (*MsgCreateIidDocument) ProtoMessage()

func (*MsgCreateIidDocument) Reset

func (m *MsgCreateIidDocument) Reset()

func (MsgCreateIidDocument) Route

func (MsgCreateIidDocument) Route() string

Route implements sdk.Msg

func (*MsgCreateIidDocument) Size

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

func (*MsgCreateIidDocument) String

func (m *MsgCreateIidDocument) String() string

func (MsgCreateIidDocument) Type

Type implements sdk.Msg

func (*MsgCreateIidDocument) Unmarshal

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

func (MsgCreateIidDocument) ValidateBasic

func (msg MsgCreateIidDocument) ValidateBasic() error

ValidateBasic performs a basic check of the MsgCreateDidDocument fields.

func (*MsgCreateIidDocument) XXX_DiscardUnknown

func (m *MsgCreateIidDocument) XXX_DiscardUnknown()

func (*MsgCreateIidDocument) XXX_Marshal

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

func (*MsgCreateIidDocument) XXX_Merge

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

func (*MsgCreateIidDocument) XXX_Size

func (m *MsgCreateIidDocument) XXX_Size() int

func (*MsgCreateIidDocument) XXX_Unmarshal

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

type MsgCreateIidDocumentResponse

type MsgCreateIidDocumentResponse struct {
}

func (*MsgCreateIidDocumentResponse) Descriptor

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

func (*MsgCreateIidDocumentResponse) Marshal

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

func (*MsgCreateIidDocumentResponse) MarshalTo

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

func (*MsgCreateIidDocumentResponse) MarshalToSizedBuffer

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

func (*MsgCreateIidDocumentResponse) ProtoMessage

func (*MsgCreateIidDocumentResponse) ProtoMessage()

func (*MsgCreateIidDocumentResponse) Reset

func (m *MsgCreateIidDocumentResponse) Reset()

func (*MsgCreateIidDocumentResponse) Size

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

func (*MsgCreateIidDocumentResponse) String

func (*MsgCreateIidDocumentResponse) Unmarshal

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

func (*MsgCreateIidDocumentResponse) XXX_DiscardUnknown

func (m *MsgCreateIidDocumentResponse) XXX_DiscardUnknown()

func (*MsgCreateIidDocumentResponse) XXX_Marshal

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

func (*MsgCreateIidDocumentResponse) XXX_Merge

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

func (*MsgCreateIidDocumentResponse) XXX_Size

func (m *MsgCreateIidDocumentResponse) XXX_Size() int

func (*MsgCreateIidDocumentResponse) XXX_Unmarshal

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

type MsgDeactivateIID

type MsgDeactivateIID struct {
	Id     string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	State  bool   `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeactivateIID

func NewMsgDeactivateIID(
	id string,
	state bool,
	signerAccount string,
) *MsgDeactivateIID

func (*MsgDeactivateIID) Descriptor

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

func (MsgDeactivateIID) GetSignBytes

func (msg MsgDeactivateIID) GetSignBytes() []byte

func (MsgDeactivateIID) GetSigners

func (msg MsgDeactivateIID) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeactivateIID) Marshal

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

func (*MsgDeactivateIID) MarshalTo

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

func (*MsgDeactivateIID) MarshalToSizedBuffer

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

func (*MsgDeactivateIID) ProtoMessage

func (*MsgDeactivateIID) ProtoMessage()

func (*MsgDeactivateIID) Reset

func (m *MsgDeactivateIID) Reset()

func (MsgDeactivateIID) Route

func (MsgDeactivateIID) Route() string

Route implements sdk.Msg

func (*MsgDeactivateIID) Size

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

func (*MsgDeactivateIID) String

func (m *MsgDeactivateIID) String() string

func (MsgDeactivateIID) Type

func (MsgDeactivateIID) Type() string

func (*MsgDeactivateIID) Unmarshal

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

func (MsgDeactivateIID) ValidateBasic

func (msg MsgDeactivateIID) ValidateBasic() error

func (*MsgDeactivateIID) XXX_DiscardUnknown

func (m *MsgDeactivateIID) XXX_DiscardUnknown()

func (*MsgDeactivateIID) XXX_Marshal

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

func (*MsgDeactivateIID) XXX_Merge

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

func (*MsgDeactivateIID) XXX_Size

func (m *MsgDeactivateIID) XXX_Size() int

func (*MsgDeactivateIID) XXX_Unmarshal

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

type MsgDeactivateIIDResponse

type MsgDeactivateIIDResponse struct {
}

func (*MsgDeactivateIIDResponse) Descriptor

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

func (*MsgDeactivateIIDResponse) Marshal

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

func (*MsgDeactivateIIDResponse) MarshalTo

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

func (*MsgDeactivateIIDResponse) MarshalToSizedBuffer

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

func (*MsgDeactivateIIDResponse) ProtoMessage

func (*MsgDeactivateIIDResponse) ProtoMessage()

func (*MsgDeactivateIIDResponse) Reset

func (m *MsgDeactivateIIDResponse) Reset()

func (*MsgDeactivateIIDResponse) Size

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

func (*MsgDeactivateIIDResponse) String

func (m *MsgDeactivateIIDResponse) String() string

func (*MsgDeactivateIIDResponse) Unmarshal

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

func (*MsgDeactivateIIDResponse) XXX_DiscardUnknown

func (m *MsgDeactivateIIDResponse) XXX_DiscardUnknown()

func (*MsgDeactivateIIDResponse) XXX_Marshal

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

func (*MsgDeactivateIIDResponse) XXX_Merge

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

func (*MsgDeactivateIIDResponse) XXX_Size

func (m *MsgDeactivateIIDResponse) XXX_Size() int

func (*MsgDeactivateIIDResponse) XXX_Unmarshal

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

type MsgDeleteAccordedRight

type MsgDeleteAccordedRight struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RightId string `protobuf:"bytes,2,opt,name=right_id,json=rightId,proto3" json:"right_id,omitempty"`
	Signer  string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeleteAccordedRight

func NewMsgDeleteAccordedRight(
	id string,
	rightID string,
	signerAccount string,
) *MsgDeleteAccordedRight

func (*MsgDeleteAccordedRight) Descriptor

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

func (MsgDeleteAccordedRight) GetSignBytes

func (msg MsgDeleteAccordedRight) GetSignBytes() []byte

func (MsgDeleteAccordedRight) GetSigners

func (msg MsgDeleteAccordedRight) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteAccordedRight) Marshal

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

func (*MsgDeleteAccordedRight) MarshalTo

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

func (*MsgDeleteAccordedRight) MarshalToSizedBuffer

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

func (*MsgDeleteAccordedRight) ProtoMessage

func (*MsgDeleteAccordedRight) ProtoMessage()

func (*MsgDeleteAccordedRight) Reset

func (m *MsgDeleteAccordedRight) Reset()

func (MsgDeleteAccordedRight) Route

Route implements sdk.Msg

func (*MsgDeleteAccordedRight) Size

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

func (*MsgDeleteAccordedRight) String

func (m *MsgDeleteAccordedRight) String() string

func (MsgDeleteAccordedRight) Type

Type implements sdk.Msg

func (*MsgDeleteAccordedRight) Unmarshal

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

func (MsgDeleteAccordedRight) ValidateBasic

func (msg MsgDeleteAccordedRight) ValidateBasic() error

func (*MsgDeleteAccordedRight) XXX_DiscardUnknown

func (m *MsgDeleteAccordedRight) XXX_DiscardUnknown()

func (*MsgDeleteAccordedRight) XXX_Marshal

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

func (*MsgDeleteAccordedRight) XXX_Merge

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

func (*MsgDeleteAccordedRight) XXX_Size

func (m *MsgDeleteAccordedRight) XXX_Size() int

func (*MsgDeleteAccordedRight) XXX_Unmarshal

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

type MsgDeleteAccordedRightResponse

type MsgDeleteAccordedRightResponse struct {
}

func (*MsgDeleteAccordedRightResponse) Descriptor

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

func (*MsgDeleteAccordedRightResponse) Marshal

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

func (*MsgDeleteAccordedRightResponse) MarshalTo

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

func (*MsgDeleteAccordedRightResponse) MarshalToSizedBuffer

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

func (*MsgDeleteAccordedRightResponse) ProtoMessage

func (*MsgDeleteAccordedRightResponse) ProtoMessage()

func (*MsgDeleteAccordedRightResponse) Reset

func (m *MsgDeleteAccordedRightResponse) Reset()

func (*MsgDeleteAccordedRightResponse) Size

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

func (*MsgDeleteAccordedRightResponse) String

func (*MsgDeleteAccordedRightResponse) Unmarshal

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

func (*MsgDeleteAccordedRightResponse) XXX_DiscardUnknown

func (m *MsgDeleteAccordedRightResponse) XXX_DiscardUnknown()

func (*MsgDeleteAccordedRightResponse) XXX_Marshal

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

func (*MsgDeleteAccordedRightResponse) XXX_Merge

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

func (*MsgDeleteAccordedRightResponse) XXX_Size

func (m *MsgDeleteAccordedRightResponse) XXX_Size() int

func (*MsgDeleteAccordedRightResponse) XXX_Unmarshal

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

type MsgDeleteController

type MsgDeleteController struct {
	Id            string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ControllerDid string `protobuf:"bytes,2,opt,name=controller_did,json=controllerDid,proto3" json:"controller_did,omitempty"`
	Signer        string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeleteController

func NewMsgDeleteController(
	id string,
	controllerDID string,
	signerAccount string,
) *MsgDeleteController

func (*MsgDeleteController) Descriptor

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

func (MsgDeleteController) GetSignBytes

func (msg MsgDeleteController) GetSignBytes() []byte

func (MsgDeleteController) GetSigners

func (msg MsgDeleteController) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteController) Marshal

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

func (*MsgDeleteController) MarshalTo

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

func (*MsgDeleteController) MarshalToSizedBuffer

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

func (*MsgDeleteController) ProtoMessage

func (*MsgDeleteController) ProtoMessage()

func (*MsgDeleteController) Reset

func (m *MsgDeleteController) Reset()

func (MsgDeleteController) Route

func (MsgDeleteController) Route() string

Route implements sdk.Msg

func (*MsgDeleteController) Size

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

func (*MsgDeleteController) String

func (m *MsgDeleteController) String() string

func (MsgDeleteController) Type

func (MsgDeleteController) Type() string

Type implements sdk.Msg

func (*MsgDeleteController) Unmarshal

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

func (MsgDeleteController) ValidateBasic

func (msg MsgDeleteController) ValidateBasic() error

ValidateBasic performs a basic check of the MsgDeleteService fields.

func (*MsgDeleteController) XXX_DiscardUnknown

func (m *MsgDeleteController) XXX_DiscardUnknown()

func (*MsgDeleteController) XXX_Marshal

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

func (*MsgDeleteController) XXX_Merge

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

func (*MsgDeleteController) XXX_Size

func (m *MsgDeleteController) XXX_Size() int

func (*MsgDeleteController) XXX_Unmarshal

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

type MsgDeleteControllerResponse

type MsgDeleteControllerResponse struct {
}

func (*MsgDeleteControllerResponse) Descriptor

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

func (*MsgDeleteControllerResponse) Marshal

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

func (*MsgDeleteControllerResponse) MarshalTo

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

func (*MsgDeleteControllerResponse) MarshalToSizedBuffer

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

func (*MsgDeleteControllerResponse) ProtoMessage

func (*MsgDeleteControllerResponse) ProtoMessage()

func (*MsgDeleteControllerResponse) Reset

func (m *MsgDeleteControllerResponse) Reset()

func (*MsgDeleteControllerResponse) Size

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

func (*MsgDeleteControllerResponse) String

func (m *MsgDeleteControllerResponse) String() string

func (*MsgDeleteControllerResponse) Unmarshal

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

func (*MsgDeleteControllerResponse) XXX_DiscardUnknown

func (m *MsgDeleteControllerResponse) XXX_DiscardUnknown()

func (*MsgDeleteControllerResponse) XXX_Marshal

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

func (*MsgDeleteControllerResponse) XXX_Merge

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

func (*MsgDeleteControllerResponse) XXX_Size

func (m *MsgDeleteControllerResponse) XXX_Size() int

func (*MsgDeleteControllerResponse) XXX_Unmarshal

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

type MsgDeleteIidContext

type MsgDeleteIidContext struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ContextKey string `protobuf:"bytes,2,opt,name=contextKey,proto3" json:"contextKey,omitempty"`
	Signer     string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeleteDidContext

func NewMsgDeleteDidContext(
	id string,
	key string,
	signerAccount string,
) *MsgDeleteIidContext

func (*MsgDeleteIidContext) Descriptor

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

func (MsgDeleteIidContext) GetSignBytes

func (msg MsgDeleteIidContext) GetSignBytes() []byte

func (MsgDeleteIidContext) GetSigners

func (msg MsgDeleteIidContext) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteIidContext) Marshal

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

func (*MsgDeleteIidContext) MarshalTo

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

func (*MsgDeleteIidContext) MarshalToSizedBuffer

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

func (*MsgDeleteIidContext) ProtoMessage

func (*MsgDeleteIidContext) ProtoMessage()

func (*MsgDeleteIidContext) Reset

func (m *MsgDeleteIidContext) Reset()

func (MsgDeleteIidContext) Route

func (MsgDeleteIidContext) Route() string

Route implements sdk.Msg

func (*MsgDeleteIidContext) Size

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

func (*MsgDeleteIidContext) String

func (m *MsgDeleteIidContext) String() string

func (MsgDeleteIidContext) Type

func (MsgDeleteIidContext) Type() string

Type implements sdk.Msg

func (*MsgDeleteIidContext) Unmarshal

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

func (MsgDeleteIidContext) ValidateBasic

func (msg MsgDeleteIidContext) ValidateBasic() error

func (*MsgDeleteIidContext) XXX_DiscardUnknown

func (m *MsgDeleteIidContext) XXX_DiscardUnknown()

func (*MsgDeleteIidContext) XXX_Marshal

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

func (*MsgDeleteIidContext) XXX_Merge

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

func (*MsgDeleteIidContext) XXX_Size

func (m *MsgDeleteIidContext) XXX_Size() int

func (*MsgDeleteIidContext) XXX_Unmarshal

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

type MsgDeleteIidContextResponse

type MsgDeleteIidContextResponse struct {
}

func (*MsgDeleteIidContextResponse) Descriptor

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

func (*MsgDeleteIidContextResponse) Marshal

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

func (*MsgDeleteIidContextResponse) MarshalTo

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

func (*MsgDeleteIidContextResponse) MarshalToSizedBuffer

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

func (*MsgDeleteIidContextResponse) ProtoMessage

func (*MsgDeleteIidContextResponse) ProtoMessage()

func (*MsgDeleteIidContextResponse) Reset

func (m *MsgDeleteIidContextResponse) Reset()

func (*MsgDeleteIidContextResponse) Size

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

func (*MsgDeleteIidContextResponse) String

func (m *MsgDeleteIidContextResponse) String() string

func (*MsgDeleteIidContextResponse) Unmarshal

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

func (*MsgDeleteIidContextResponse) XXX_DiscardUnknown

func (m *MsgDeleteIidContextResponse) XXX_DiscardUnknown()

func (*MsgDeleteIidContextResponse) XXX_Marshal

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

func (*MsgDeleteIidContextResponse) XXX_Merge

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

func (*MsgDeleteIidContextResponse) XXX_Size

func (m *MsgDeleteIidContextResponse) XXX_Size() int

func (*MsgDeleteIidContextResponse) XXX_Unmarshal

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

type MsgDeleteLinkedEntity

type MsgDeleteLinkedEntity struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	EntityId string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	Signer   string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeleteLinkedEntity

func NewMsgDeleteLinkedEntity(
	id string,
	entityID string,
	signerAccount string,
) *MsgDeleteLinkedEntity

func (*MsgDeleteLinkedEntity) Descriptor

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

func (MsgDeleteLinkedEntity) GetSigners

func (msg MsgDeleteLinkedEntity) GetSigners() []sdk.AccAddress

func (*MsgDeleteLinkedEntity) Marshal

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

func (*MsgDeleteLinkedEntity) MarshalTo

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

func (*MsgDeleteLinkedEntity) MarshalToSizedBuffer

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

func (*MsgDeleteLinkedEntity) ProtoMessage

func (*MsgDeleteLinkedEntity) ProtoMessage()

func (*MsgDeleteLinkedEntity) Reset

func (m *MsgDeleteLinkedEntity) Reset()

func (*MsgDeleteLinkedEntity) Size

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

func (*MsgDeleteLinkedEntity) String

func (m *MsgDeleteLinkedEntity) String() string

func (*MsgDeleteLinkedEntity) Unmarshal

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

func (MsgDeleteLinkedEntity) ValidateBasic

func (msg MsgDeleteLinkedEntity) ValidateBasic() error

ValidateBasic performs a basic check of the MsgDeleteService fields.

func (*MsgDeleteLinkedEntity) XXX_DiscardUnknown

func (m *MsgDeleteLinkedEntity) XXX_DiscardUnknown()

func (*MsgDeleteLinkedEntity) XXX_Marshal

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

func (*MsgDeleteLinkedEntity) XXX_Merge

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

func (*MsgDeleteLinkedEntity) XXX_Size

func (m *MsgDeleteLinkedEntity) XXX_Size() int

func (*MsgDeleteLinkedEntity) XXX_Unmarshal

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

type MsgDeleteLinkedEntityResponse

type MsgDeleteLinkedEntityResponse struct {
}

func (*MsgDeleteLinkedEntityResponse) Descriptor

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

func (*MsgDeleteLinkedEntityResponse) Marshal

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

func (*MsgDeleteLinkedEntityResponse) MarshalTo

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

func (*MsgDeleteLinkedEntityResponse) MarshalToSizedBuffer

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

func (*MsgDeleteLinkedEntityResponse) ProtoMessage

func (*MsgDeleteLinkedEntityResponse) ProtoMessage()

func (*MsgDeleteLinkedEntityResponse) Reset

func (m *MsgDeleteLinkedEntityResponse) Reset()

func (*MsgDeleteLinkedEntityResponse) Size

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

func (*MsgDeleteLinkedEntityResponse) String

func (*MsgDeleteLinkedEntityResponse) Unmarshal

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

func (*MsgDeleteLinkedEntityResponse) XXX_DiscardUnknown

func (m *MsgDeleteLinkedEntityResponse) XXX_DiscardUnknown()

func (*MsgDeleteLinkedEntityResponse) XXX_Marshal

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

func (*MsgDeleteLinkedEntityResponse) XXX_Merge

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

func (*MsgDeleteLinkedEntityResponse) XXX_Size

func (m *MsgDeleteLinkedEntityResponse) XXX_Size() int

func (*MsgDeleteLinkedEntityResponse) XXX_Unmarshal

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

type MsgDeleteLinkedResource

type MsgDeleteLinkedResource struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	Signer     string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeleteLinkedResource

func NewMsgDeleteLinkedResource(
	id string,
	resourceID string,
	signerAccount string,
) *MsgDeleteLinkedResource

func (*MsgDeleteLinkedResource) Descriptor

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

func (MsgDeleteLinkedResource) GetSignBytes

func (msg MsgDeleteLinkedResource) GetSignBytes() []byte

func (MsgDeleteLinkedResource) GetSigners

func (msg MsgDeleteLinkedResource) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteLinkedResource) Marshal

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

func (*MsgDeleteLinkedResource) MarshalTo

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

func (*MsgDeleteLinkedResource) MarshalToSizedBuffer

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

func (*MsgDeleteLinkedResource) ProtoMessage

func (*MsgDeleteLinkedResource) ProtoMessage()

func (*MsgDeleteLinkedResource) Reset

func (m *MsgDeleteLinkedResource) Reset()

func (MsgDeleteLinkedResource) Route

func (*MsgDeleteLinkedResource) Size

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

func (*MsgDeleteLinkedResource) String

func (m *MsgDeleteLinkedResource) String() string

func (MsgDeleteLinkedResource) Type

Type implements sdk.Msg

func (*MsgDeleteLinkedResource) Unmarshal

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

func (MsgDeleteLinkedResource) ValidateBasic

func (msg MsgDeleteLinkedResource) ValidateBasic() error

ValidateBasic performs a basic check of the MsgDeleteService fields.

func (*MsgDeleteLinkedResource) XXX_DiscardUnknown

func (m *MsgDeleteLinkedResource) XXX_DiscardUnknown()

func (*MsgDeleteLinkedResource) XXX_Marshal

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

func (*MsgDeleteLinkedResource) XXX_Merge

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

func (*MsgDeleteLinkedResource) XXX_Size

func (m *MsgDeleteLinkedResource) XXX_Size() int

func (*MsgDeleteLinkedResource) XXX_Unmarshal

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

type MsgDeleteLinkedResourceResponse

type MsgDeleteLinkedResourceResponse struct {
}

func (*MsgDeleteLinkedResourceResponse) Descriptor

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

func (*MsgDeleteLinkedResourceResponse) Marshal

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

func (*MsgDeleteLinkedResourceResponse) MarshalTo

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

func (*MsgDeleteLinkedResourceResponse) MarshalToSizedBuffer

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

func (*MsgDeleteLinkedResourceResponse) ProtoMessage

func (*MsgDeleteLinkedResourceResponse) ProtoMessage()

func (*MsgDeleteLinkedResourceResponse) Reset

func (*MsgDeleteLinkedResourceResponse) Size

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

func (*MsgDeleteLinkedResourceResponse) String

func (*MsgDeleteLinkedResourceResponse) Unmarshal

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

func (*MsgDeleteLinkedResourceResponse) XXX_DiscardUnknown

func (m *MsgDeleteLinkedResourceResponse) XXX_DiscardUnknown()

func (*MsgDeleteLinkedResourceResponse) XXX_Marshal

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

func (*MsgDeleteLinkedResourceResponse) XXX_Merge

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

func (*MsgDeleteLinkedResourceResponse) XXX_Size

func (m *MsgDeleteLinkedResourceResponse) XXX_Size() int

func (*MsgDeleteLinkedResourceResponse) XXX_Unmarshal

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

type MsgDeleteService

type MsgDeleteService struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	Signer    string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgDeleteService

func NewMsgDeleteService(
	id string,
	serviceID string,
	signerAccount string,
) *MsgDeleteService

func (*MsgDeleteService) Descriptor

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

func (MsgDeleteService) GetSignBytes

func (msg MsgDeleteService) GetSignBytes() []byte

func (MsgDeleteService) GetSigners

func (msg MsgDeleteService) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgDeleteService) Marshal

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

func (*MsgDeleteService) MarshalTo

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

func (*MsgDeleteService) MarshalToSizedBuffer

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

func (*MsgDeleteService) ProtoMessage

func (*MsgDeleteService) ProtoMessage()

func (*MsgDeleteService) Reset

func (m *MsgDeleteService) Reset()

func (MsgDeleteService) Route

func (MsgDeleteService) Route() string

Route implements sdk.Msg

func (*MsgDeleteService) Size

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

func (*MsgDeleteService) String

func (m *MsgDeleteService) String() string

func (MsgDeleteService) Type

func (MsgDeleteService) Type() string

Type implements sdk.Msg

func (*MsgDeleteService) Unmarshal

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

func (MsgDeleteService) ValidateBasic

func (msg MsgDeleteService) ValidateBasic() error

ValidateBasic performs a basic check of the MsgDeleteService fields.

func (*MsgDeleteService) XXX_DiscardUnknown

func (m *MsgDeleteService) XXX_DiscardUnknown()

func (*MsgDeleteService) XXX_Marshal

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

func (*MsgDeleteService) XXX_Merge

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

func (*MsgDeleteService) XXX_Size

func (m *MsgDeleteService) XXX_Size() int

func (*MsgDeleteService) XXX_Unmarshal

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

type MsgDeleteServiceResponse

type MsgDeleteServiceResponse struct {
}

func (*MsgDeleteServiceResponse) Descriptor

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

func (*MsgDeleteServiceResponse) Marshal

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

func (*MsgDeleteServiceResponse) MarshalTo

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

func (*MsgDeleteServiceResponse) MarshalToSizedBuffer

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

func (*MsgDeleteServiceResponse) ProtoMessage

func (*MsgDeleteServiceResponse) ProtoMessage()

func (*MsgDeleteServiceResponse) Reset

func (m *MsgDeleteServiceResponse) Reset()

func (*MsgDeleteServiceResponse) Size

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

func (*MsgDeleteServiceResponse) String

func (m *MsgDeleteServiceResponse) String() string

func (*MsgDeleteServiceResponse) Unmarshal

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

func (*MsgDeleteServiceResponse) XXX_DiscardUnknown

func (m *MsgDeleteServiceResponse) XXX_DiscardUnknown()

func (*MsgDeleteServiceResponse) XXX_Marshal

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

func (*MsgDeleteServiceResponse) XXX_Merge

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

func (*MsgDeleteServiceResponse) XXX_Size

func (m *MsgDeleteServiceResponse) XXX_Size() int

func (*MsgDeleteServiceResponse) XXX_Unmarshal

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

type MsgRevokeVerification

type MsgRevokeVerification struct {
	Id       string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MethodId string `protobuf:"bytes,2,opt,name=method_id,json=methodId,proto3" json:"method_id,omitempty"`
	Signer   string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgRevokeVerification

func NewMsgRevokeVerification(
	id string,
	methodID string,
	signerAccount string,
) *MsgRevokeVerification

NewMsgRevokeVerification creates a new MsgRevokeVerification instance

func (*MsgRevokeVerification) Descriptor

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

func (MsgRevokeVerification) GetSignBytes

func (msg MsgRevokeVerification) GetSignBytes() []byte

func (MsgRevokeVerification) GetSigners

func (msg MsgRevokeVerification) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgRevokeVerification) Marshal

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

func (*MsgRevokeVerification) MarshalTo

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

func (*MsgRevokeVerification) MarshalToSizedBuffer

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

func (*MsgRevokeVerification) ProtoMessage

func (*MsgRevokeVerification) ProtoMessage()

func (*MsgRevokeVerification) Reset

func (m *MsgRevokeVerification) Reset()

func (MsgRevokeVerification) Route

func (MsgRevokeVerification) Route() string

Route implements sdk.Msg

func (*MsgRevokeVerification) Size

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

func (*MsgRevokeVerification) String

func (m *MsgRevokeVerification) String() string

func (MsgRevokeVerification) Type

Type implements sdk.Msg

func (*MsgRevokeVerification) Unmarshal

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

func (MsgRevokeVerification) ValidateBasic

func (msg MsgRevokeVerification) ValidateBasic() error

ValidateBasic performs a basic check of the MsgRevokeVerification fields.

func (*MsgRevokeVerification) XXX_DiscardUnknown

func (m *MsgRevokeVerification) XXX_DiscardUnknown()

func (*MsgRevokeVerification) XXX_Marshal

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

func (*MsgRevokeVerification) XXX_Merge

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

func (*MsgRevokeVerification) XXX_Size

func (m *MsgRevokeVerification) XXX_Size() int

func (*MsgRevokeVerification) XXX_Unmarshal

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

type MsgRevokeVerificationResponse

type MsgRevokeVerificationResponse struct {
}

func (*MsgRevokeVerificationResponse) Descriptor

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

func (*MsgRevokeVerificationResponse) Marshal

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

func (*MsgRevokeVerificationResponse) MarshalTo

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

func (*MsgRevokeVerificationResponse) MarshalToSizedBuffer

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

func (*MsgRevokeVerificationResponse) ProtoMessage

func (*MsgRevokeVerificationResponse) ProtoMessage()

func (*MsgRevokeVerificationResponse) Reset

func (m *MsgRevokeVerificationResponse) Reset()

func (*MsgRevokeVerificationResponse) Size

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

func (*MsgRevokeVerificationResponse) String

func (*MsgRevokeVerificationResponse) Unmarshal

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

func (*MsgRevokeVerificationResponse) XXX_DiscardUnknown

func (m *MsgRevokeVerificationResponse) XXX_DiscardUnknown()

func (*MsgRevokeVerificationResponse) XXX_Marshal

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

func (*MsgRevokeVerificationResponse) XXX_Merge

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

func (*MsgRevokeVerificationResponse) XXX_Size

func (m *MsgRevokeVerificationResponse) XXX_Size() int

func (*MsgRevokeVerificationResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// CreateDidDocument defines a method for creating a new identity.
	CreateIidDocument(context.Context, *MsgCreateIidDocument) (*MsgCreateIidDocumentResponse, error)
	// UpdateDidDocument defines a method for updating an identity.
	UpdateIidDocument(context.Context, *MsgUpdateIidDocument) (*MsgUpdateIidDocumentResponse, error)
	// AddVerificationMethod adds a new verification method
	AddVerification(context.Context, *MsgAddVerification) (*MsgAddVerificationResponse, error)
	// RevokeVerification remove the verification method and all associated verification Relations
	RevokeVerification(context.Context, *MsgRevokeVerification) (*MsgRevokeVerificationResponse, error)
	// SetVerificationRelationships overwrite current verification relationships
	SetVerificationRelationships(context.Context, *MsgSetVerificationRelationships) (*MsgSetVerificationRelationshipsResponse, error)
	// AddService add a new service
	AddService(context.Context, *MsgAddService) (*MsgAddServiceResponse, error)
	// DeleteService delete an existing service
	DeleteService(context.Context, *MsgDeleteService) (*MsgDeleteServiceResponse, error)
	// AddService add a new service
	AddController(context.Context, *MsgAddController) (*MsgAddControllerResponse, error)
	// DeleteService delete an existing service
	DeleteController(context.Context, *MsgDeleteController) (*MsgDeleteControllerResponse, error)
	//Add / Delete Linked Resource
	AddLinkedResource(context.Context, *MsgAddLinkedResource) (*MsgAddLinkedResourceResponse, error)
	DeleteLinkedResource(context.Context, *MsgDeleteLinkedResource) (*MsgDeleteLinkedResourceResponse, error)
	//Add / Delete Linked Entity
	AddLinkedEntity(context.Context, *MsgAddLinkedEntity) (*MsgAddLinkedEntityResponse, error)
	DeleteLinkedEntity(context.Context, *MsgDeleteLinkedEntity) (*MsgDeleteLinkedEntityResponse, error)
	//Add / Delete Accorded Right
	AddAccordedRight(context.Context, *MsgAddAccordedRight) (*MsgAddAccordedRightResponse, error)
	DeleteAccordedRight(context.Context, *MsgDeleteAccordedRight) (*MsgDeleteAccordedRightResponse, error)
	//Add / Delete Context
	AddIidContext(context.Context, *MsgAddIidContext) (*MsgAddIidContextResponse, error)
	DeactivateIID(context.Context, *MsgDeactivateIID) (*MsgDeactivateIIDResponse, error)
	DeleteIidContext(context.Context, *MsgDeleteIidContext) (*MsgDeleteIidContextResponse, error)
	//Update META
	UpdateMetaData(context.Context, *MsgUpdateIidMeta) (*MsgUpdateIidMetaResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetVerificationRelationships

type MsgSetVerificationRelationships struct {
	Id            string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	MethodId      string   `protobuf:"bytes,2,opt,name=method_id,json=methodId,proto3" json:"method_id,omitempty"`
	Relationships []string `protobuf:"bytes,3,rep,name=relationships,proto3" json:"relationships,omitempty"`
	Signer        string   `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgSetVerificationRelationships

func NewMsgSetVerificationRelationships(
	id string,
	methodID string,
	relationships []string,
	signerAccount string,
) *MsgSetVerificationRelationships

func (*MsgSetVerificationRelationships) Descriptor

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

func (MsgSetVerificationRelationships) GetSignBytes

func (msg MsgSetVerificationRelationships) GetSignBytes() []byte

func (MsgSetVerificationRelationships) GetSigners

func (msg MsgSetVerificationRelationships) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgSetVerificationRelationships) Marshal

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

func (*MsgSetVerificationRelationships) MarshalTo

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

func (*MsgSetVerificationRelationships) MarshalToSizedBuffer

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

func (*MsgSetVerificationRelationships) ProtoMessage

func (*MsgSetVerificationRelationships) ProtoMessage()

func (*MsgSetVerificationRelationships) Reset

func (MsgSetVerificationRelationships) Route

Route implements sdk.Msg

func (*MsgSetVerificationRelationships) Size

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

func (*MsgSetVerificationRelationships) String

func (MsgSetVerificationRelationships) Type

Type implements sdk.Msg

func (*MsgSetVerificationRelationships) Unmarshal

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

func (MsgSetVerificationRelationships) ValidateBasic

func (msg MsgSetVerificationRelationships) ValidateBasic() error

ValidateBasic performs a basic check of the MsgSetVerificationRelationships fields.

func (*MsgSetVerificationRelationships) XXX_DiscardUnknown

func (m *MsgSetVerificationRelationships) XXX_DiscardUnknown()

func (*MsgSetVerificationRelationships) XXX_Marshal

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

func (*MsgSetVerificationRelationships) XXX_Merge

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

func (*MsgSetVerificationRelationships) XXX_Size

func (m *MsgSetVerificationRelationships) XXX_Size() int

func (*MsgSetVerificationRelationships) XXX_Unmarshal

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

type MsgSetVerificationRelationshipsResponse

type MsgSetVerificationRelationshipsResponse struct {
}

func (*MsgSetVerificationRelationshipsResponse) Descriptor

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

func (*MsgSetVerificationRelationshipsResponse) Marshal

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

func (*MsgSetVerificationRelationshipsResponse) MarshalTo

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

func (*MsgSetVerificationRelationshipsResponse) MarshalToSizedBuffer

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

func (*MsgSetVerificationRelationshipsResponse) ProtoMessage

func (*MsgSetVerificationRelationshipsResponse) Reset

func (*MsgSetVerificationRelationshipsResponse) Size

func (*MsgSetVerificationRelationshipsResponse) String

func (*MsgSetVerificationRelationshipsResponse) Unmarshal

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

func (*MsgSetVerificationRelationshipsResponse) XXX_DiscardUnknown

func (m *MsgSetVerificationRelationshipsResponse) XXX_DiscardUnknown()

func (*MsgSetVerificationRelationshipsResponse) XXX_Marshal

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

func (*MsgSetVerificationRelationshipsResponse) XXX_Merge

func (*MsgSetVerificationRelationshipsResponse) XXX_Size

func (*MsgSetVerificationRelationshipsResponse) XXX_Unmarshal

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

type MsgUpdateIidDocument

type MsgUpdateIidDocument struct {
	Doc    *IidDocument `protobuf:"bytes,1,opt,name=doc,proto3" json:"doc,omitempty"`
	Signer string       `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgUpdateDidDocument replace an existing did document with a new version

func NewMsgUpdateDidDocument

func NewMsgUpdateDidDocument(
	didDoc *IidDocument,
	signerAccount string,
) *MsgUpdateIidDocument

func (*MsgUpdateIidDocument) Descriptor

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

func (MsgUpdateIidDocument) GetSignBytes

func (msg MsgUpdateIidDocument) GetSignBytes() []byte

func (MsgUpdateIidDocument) GetSigners

func (msg MsgUpdateIidDocument) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgUpdateIidDocument) Marshal

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

func (*MsgUpdateIidDocument) MarshalTo

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

func (*MsgUpdateIidDocument) MarshalToSizedBuffer

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

func (*MsgUpdateIidDocument) ProtoMessage

func (*MsgUpdateIidDocument) ProtoMessage()

func (*MsgUpdateIidDocument) Reset

func (m *MsgUpdateIidDocument) Reset()

func (MsgUpdateIidDocument) Route

func (MsgUpdateIidDocument) Route() string

Route implements sdk.Msg

func (*MsgUpdateIidDocument) Size

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

func (*MsgUpdateIidDocument) String

func (m *MsgUpdateIidDocument) String() string

func (MsgUpdateIidDocument) Type

Type implements sdk.Msg

func (*MsgUpdateIidDocument) Unmarshal

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

func (MsgUpdateIidDocument) ValidateBasic

func (msg MsgUpdateIidDocument) ValidateBasic() error

ValidateBasic performs a basic check of the MsgUpdateDidDocument fields.

func (*MsgUpdateIidDocument) XXX_DiscardUnknown

func (m *MsgUpdateIidDocument) XXX_DiscardUnknown()

func (*MsgUpdateIidDocument) XXX_Marshal

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

func (*MsgUpdateIidDocument) XXX_Merge

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

func (*MsgUpdateIidDocument) XXX_Size

func (m *MsgUpdateIidDocument) XXX_Size() int

func (*MsgUpdateIidDocument) XXX_Unmarshal

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

type MsgUpdateIidDocumentResponse

type MsgUpdateIidDocumentResponse struct {
}

func (*MsgUpdateIidDocumentResponse) Descriptor

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

func (*MsgUpdateIidDocumentResponse) Marshal

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

func (*MsgUpdateIidDocumentResponse) MarshalTo

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

func (*MsgUpdateIidDocumentResponse) MarshalToSizedBuffer

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

func (*MsgUpdateIidDocumentResponse) ProtoMessage

func (*MsgUpdateIidDocumentResponse) ProtoMessage()

func (*MsgUpdateIidDocumentResponse) Reset

func (m *MsgUpdateIidDocumentResponse) Reset()

func (*MsgUpdateIidDocumentResponse) Size

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

func (*MsgUpdateIidDocumentResponse) String

func (*MsgUpdateIidDocumentResponse) Unmarshal

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

func (*MsgUpdateIidDocumentResponse) XXX_DiscardUnknown

func (m *MsgUpdateIidDocumentResponse) XXX_DiscardUnknown()

func (*MsgUpdateIidDocumentResponse) XXX_Marshal

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

func (*MsgUpdateIidDocumentResponse) XXX_Merge

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

func (*MsgUpdateIidDocumentResponse) XXX_Size

func (m *MsgUpdateIidDocumentResponse) XXX_Size() int

func (*MsgUpdateIidDocumentResponse) XXX_Unmarshal

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

type MsgUpdateIidMeta

type MsgUpdateIidMeta struct {
	Id     string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Meta   *IidMetadata `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	Signer string       `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

func NewMsgUpdateDidMetaData

func NewMsgUpdateDidMetaData(
	id string,
	meta *IidMetadata,
	signerAccount string,
) *MsgUpdateIidMeta

NewMsgAddService creates a new MsgAddService instance

func (*MsgUpdateIidMeta) Descriptor

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

func (MsgUpdateIidMeta) GetSignBytes

func (msg MsgUpdateIidMeta) GetSignBytes() []byte

func (MsgUpdateIidMeta) GetSigners

func (msg MsgUpdateIidMeta) GetSigners() []sdk.AccAddress

GetSigners implements sdk.Msg

func (*MsgUpdateIidMeta) Marshal

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

func (*MsgUpdateIidMeta) MarshalTo

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

func (*MsgUpdateIidMeta) MarshalToSizedBuffer

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

func (*MsgUpdateIidMeta) ProtoMessage

func (*MsgUpdateIidMeta) ProtoMessage()

func (*MsgUpdateIidMeta) Reset

func (m *MsgUpdateIidMeta) Reset()

func (*MsgUpdateIidMeta) Size

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

func (*MsgUpdateIidMeta) String

func (m *MsgUpdateIidMeta) String() string

func (MsgUpdateIidMeta) Type

func (MsgUpdateIidMeta) Type() string

Type implements sdk.Msg

func (*MsgUpdateIidMeta) Unmarshal

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

func (MsgUpdateIidMeta) ValidateBasic

func (msg MsgUpdateIidMeta) ValidateBasic() error

func (*MsgUpdateIidMeta) XXX_DiscardUnknown

func (m *MsgUpdateIidMeta) XXX_DiscardUnknown()

func (*MsgUpdateIidMeta) XXX_Marshal

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

func (*MsgUpdateIidMeta) XXX_Merge

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

func (*MsgUpdateIidMeta) XXX_Size

func (m *MsgUpdateIidMeta) XXX_Size() int

func (*MsgUpdateIidMeta) XXX_Unmarshal

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

type MsgUpdateIidMetaResponse

type MsgUpdateIidMetaResponse struct {
}

func (*MsgUpdateIidMetaResponse) Descriptor

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

func (*MsgUpdateIidMetaResponse) Marshal

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

func (*MsgUpdateIidMetaResponse) MarshalTo

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

func (*MsgUpdateIidMetaResponse) MarshalToSizedBuffer

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

func (*MsgUpdateIidMetaResponse) ProtoMessage

func (*MsgUpdateIidMetaResponse) ProtoMessage()

func (*MsgUpdateIidMetaResponse) Reset

func (m *MsgUpdateIidMetaResponse) Reset()

func (*MsgUpdateIidMetaResponse) Size

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

func (*MsgUpdateIidMetaResponse) String

func (m *MsgUpdateIidMetaResponse) String() string

func (*MsgUpdateIidMetaResponse) Unmarshal

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

func (*MsgUpdateIidMetaResponse) XXX_DiscardUnknown

func (m *MsgUpdateIidMetaResponse) XXX_DiscardUnknown()

func (*MsgUpdateIidMetaResponse) XXX_Marshal

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

func (*MsgUpdateIidMetaResponse) XXX_Merge

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

func (*MsgUpdateIidMetaResponse) XXX_Size

func (m *MsgUpdateIidMetaResponse) XXX_Size() int

func (*MsgUpdateIidMetaResponse) XXX_Unmarshal

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

type PublicKeyBase58

type PublicKeyBase58 struct {
	// contains filtered or unexported fields
}

func NewPublicKeyBase58

func NewPublicKeyBase58(pubKey []byte, vmType VerificationMaterialType) PublicKeyBase58

NewPublicKeyMultibase build a new blockchain account ID struct

func NewPublicKeyBase58FromString

func NewPublicKeyBase58FromString(pubKeyString string, vmType VerificationMaterialType) (pkm PublicKeyBase58, err error)

NewPublicKeyMultibaseFromHex build a new blockchain account ID struct

func (PublicKeyBase58) EncodeToString

func (pkb58 PublicKeyBase58) EncodeToString() string

EncodeToString returns the string representation of the key in hex format. F is the hex format prefix https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03#appendix-B.1

type PublicKeyHex

type PublicKeyHex struct {
	// contains filtered or unexported fields
}

PublicKeyHex formats an account public key as hex string. https://w3c.github.io/did-spec-registries/#publickeyhex Note that this property is deprecated in favor of publicKeyMultibase or publicKeyJwk, but is maintained for compatibility with legacy implementations

func NewPublicKeyHex

func NewPublicKeyHex(pubKey []byte, vmType VerificationMaterialType) PublicKeyHex

NewPublicKeyHex build a new public key hex struct

func NewPublicKeyHexFromString

func NewPublicKeyHexFromString(pubKeyHex string, vmType VerificationMaterialType) (pkh PublicKeyHex, err error)

NewPublicKeyHexFromString build a new blockchain account ID struct

func (PublicKeyHex) EncodeToString

func (pkh PublicKeyHex) EncodeToString() string

EncodeToString returns the string representation of the key in hex format. https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03#appendix-B.1

type PublicKeyMultibase

type PublicKeyMultibase struct {
	// contains filtered or unexported fields
}

PublicKeyMultibase formats an account address as per the CAIP-10 Account ID specification. https://w3c.github.io/did-spec-registries/#publickeymultibase https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03#appendix-B.1

func NewPublicKeyMultibase

func NewPublicKeyMultibase(pubKey []byte, vmType VerificationMaterialType) PublicKeyMultibase

NewPublicKeyMultibase build a new blockchain account ID struct

func NewPublicKeyMultibaseFromHex

func NewPublicKeyMultibaseFromHex(pubKeyHex string, vmType VerificationMaterialType) (pkm PublicKeyMultibase, err error)

NewPublicKeyMultibaseFromHex build a new blockchain account ID struct

func (PublicKeyMultibase) EncodeToString

func (pkh PublicKeyMultibase) EncodeToString() string

EncodeToString returns the string representation of the key in hex format. F is the hex format prefix https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03#appendix-B.1

type QueryClient

type QueryClient interface {
	// IidDocuments queries all iid documents that match the given status.
	IidDocuments(ctx context.Context, in *QueryIidDocumentsRequest, opts ...grpc.CallOption) (*QueryIidDocumentsResponse, error)
	// IidDocument queries a iid documents with an id.
	IidDocument(ctx context.Context, in *QueryIidDocumentRequest, opts ...grpc.CallOption) (*QueryIidDocumentResponse, error)
	// MetaData queries a iid documents with an id.
	MetaData(ctx context.Context, in *QueryIidMetaDataRequest, opts ...grpc.CallOption) (*QueryIidMetaDataResponse, 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 QueryIidDocumentRequest

type QueryIidDocumentRequest struct {
	// status enables to query for validators matching a given status.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryDidDocumentsRequest is request type for Query/DidDocuments RPC method.

func (*QueryIidDocumentRequest) Descriptor

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

func (*QueryIidDocumentRequest) GetId

func (m *QueryIidDocumentRequest) GetId() string

func (*QueryIidDocumentRequest) Marshal

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

func (*QueryIidDocumentRequest) MarshalTo

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

func (*QueryIidDocumentRequest) MarshalToSizedBuffer

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

func (*QueryIidDocumentRequest) ProtoMessage

func (*QueryIidDocumentRequest) ProtoMessage()

func (*QueryIidDocumentRequest) Reset

func (m *QueryIidDocumentRequest) Reset()

func (*QueryIidDocumentRequest) Size

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

func (*QueryIidDocumentRequest) String

func (m *QueryIidDocumentRequest) String() string

func (*QueryIidDocumentRequest) Unmarshal

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

func (*QueryIidDocumentRequest) XXX_DiscardUnknown

func (m *QueryIidDocumentRequest) XXX_DiscardUnknown()

func (*QueryIidDocumentRequest) XXX_Marshal

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

func (*QueryIidDocumentRequest) XXX_Merge

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

func (*QueryIidDocumentRequest) XXX_Size

func (m *QueryIidDocumentRequest) XXX_Size() int

func (*QueryIidDocumentRequest) XXX_Unmarshal

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

type QueryIidDocumentResponse

type QueryIidDocumentResponse struct {
	// validators contains all the queried validators.
	IidDocument IidDocument `protobuf:"bytes,1,opt,name=iidDocument,proto3" json:"iidDocument"`
}

QueryDidDocumentsResponse is response type for the Query/DidDocuments RPC method

func (*QueryIidDocumentResponse) Descriptor

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

func (*QueryIidDocumentResponse) GetIidDocument

func (m *QueryIidDocumentResponse) GetIidDocument() IidDocument

func (*QueryIidDocumentResponse) Marshal

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

func (*QueryIidDocumentResponse) MarshalTo

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

func (*QueryIidDocumentResponse) MarshalToSizedBuffer

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

func (*QueryIidDocumentResponse) ProtoMessage

func (*QueryIidDocumentResponse) ProtoMessage()

func (*QueryIidDocumentResponse) Reset

func (m *QueryIidDocumentResponse) Reset()

func (*QueryIidDocumentResponse) Size

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

func (*QueryIidDocumentResponse) String

func (m *QueryIidDocumentResponse) String() string

func (*QueryIidDocumentResponse) Unmarshal

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

func (*QueryIidDocumentResponse) XXX_DiscardUnknown

func (m *QueryIidDocumentResponse) XXX_DiscardUnknown()

func (*QueryIidDocumentResponse) XXX_Marshal

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

func (*QueryIidDocumentResponse) XXX_Merge

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

func (*QueryIidDocumentResponse) XXX_Size

func (m *QueryIidDocumentResponse) XXX_Size() int

func (*QueryIidDocumentResponse) XXX_Unmarshal

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

type QueryIidDocumentsRequest

type QueryIidDocumentsRequest struct {
	// status enables to query for validators matching a given status.
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
}

QueryDidDocumentsRequest is request type for Query/DidDocuments RPC method.

func (*QueryIidDocumentsRequest) Descriptor

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

func (*QueryIidDocumentsRequest) GetStatus

func (m *QueryIidDocumentsRequest) GetStatus() string

func (*QueryIidDocumentsRequest) Marshal

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

func (*QueryIidDocumentsRequest) MarshalTo

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

func (*QueryIidDocumentsRequest) MarshalToSizedBuffer

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

func (*QueryIidDocumentsRequest) ProtoMessage

func (*QueryIidDocumentsRequest) ProtoMessage()

func (*QueryIidDocumentsRequest) Reset

func (m *QueryIidDocumentsRequest) Reset()

func (*QueryIidDocumentsRequest) Size

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

func (*QueryIidDocumentsRequest) String

func (m *QueryIidDocumentsRequest) String() string

func (*QueryIidDocumentsRequest) Unmarshal

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

func (*QueryIidDocumentsRequest) XXX_DiscardUnknown

func (m *QueryIidDocumentsRequest) XXX_DiscardUnknown()

func (*QueryIidDocumentsRequest) XXX_Marshal

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

func (*QueryIidDocumentsRequest) XXX_Merge

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

func (*QueryIidDocumentsRequest) XXX_Size

func (m *QueryIidDocumentsRequest) XXX_Size() int

func (*QueryIidDocumentsRequest) XXX_Unmarshal

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

type QueryIidDocumentsResponse

type QueryIidDocumentsResponse struct {
	// validators contains all the queried validators.
	IidDocuments []IidDocument `protobuf:"bytes,1,rep,name=iidDocuments,proto3" json:"iidDocuments"`
}

QueryDidDocumentsResponse is response type for the Query/DidDocuments RPC method

func (*QueryIidDocumentsResponse) Descriptor

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

func (*QueryIidDocumentsResponse) GetIidDocuments

func (m *QueryIidDocumentsResponse) GetIidDocuments() []IidDocument

func (*QueryIidDocumentsResponse) Marshal

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

func (*QueryIidDocumentsResponse) MarshalTo

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

func (*QueryIidDocumentsResponse) MarshalToSizedBuffer

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

func (*QueryIidDocumentsResponse) ProtoMessage

func (*QueryIidDocumentsResponse) ProtoMessage()

func (*QueryIidDocumentsResponse) Reset

func (m *QueryIidDocumentsResponse) Reset()

func (*QueryIidDocumentsResponse) Size

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

func (*QueryIidDocumentsResponse) String

func (m *QueryIidDocumentsResponse) String() string

func (*QueryIidDocumentsResponse) Unmarshal

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

func (*QueryIidDocumentsResponse) XXX_DiscardUnknown

func (m *QueryIidDocumentsResponse) XXX_DiscardUnknown()

func (*QueryIidDocumentsResponse) XXX_Marshal

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

func (*QueryIidDocumentsResponse) XXX_Merge

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

func (*QueryIidDocumentsResponse) XXX_Size

func (m *QueryIidDocumentsResponse) XXX_Size() int

func (*QueryIidDocumentsResponse) XXX_Unmarshal

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

type QueryIidMetaDataRequest

type QueryIidMetaDataRequest struct {
	// status enables to query for validators matching a given status.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

func (*QueryIidMetaDataRequest) Descriptor

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

func (*QueryIidMetaDataRequest) GetId

func (m *QueryIidMetaDataRequest) GetId() string

func (*QueryIidMetaDataRequest) Marshal

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

func (*QueryIidMetaDataRequest) MarshalTo

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

func (*QueryIidMetaDataRequest) MarshalToSizedBuffer

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

func (*QueryIidMetaDataRequest) ProtoMessage

func (*QueryIidMetaDataRequest) ProtoMessage()

func (*QueryIidMetaDataRequest) Reset

func (m *QueryIidMetaDataRequest) Reset()

func (*QueryIidMetaDataRequest) Size

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

func (*QueryIidMetaDataRequest) String

func (m *QueryIidMetaDataRequest) String() string

func (*QueryIidMetaDataRequest) Unmarshal

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

func (*QueryIidMetaDataRequest) XXX_DiscardUnknown

func (m *QueryIidMetaDataRequest) XXX_DiscardUnknown()

func (*QueryIidMetaDataRequest) XXX_Marshal

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

func (*QueryIidMetaDataRequest) XXX_Merge

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

func (*QueryIidMetaDataRequest) XXX_Size

func (m *QueryIidMetaDataRequest) XXX_Size() int

func (*QueryIidMetaDataRequest) XXX_Unmarshal

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

type QueryIidMetaDataResponse

type QueryIidMetaDataResponse struct {
	// validators contains all the queried validators.
	//IidDocument iidDocument = 1  [(gogoproto.nullable) = false];
	DidMetadata IidMetadata `protobuf:"bytes,2,opt,name=didMetadata,proto3" json:"didMetadata"`
}

func (*QueryIidMetaDataResponse) Descriptor

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

func (*QueryIidMetaDataResponse) GetDidMetadata

func (m *QueryIidMetaDataResponse) GetDidMetadata() IidMetadata

func (*QueryIidMetaDataResponse) Marshal

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

func (*QueryIidMetaDataResponse) MarshalTo

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

func (*QueryIidMetaDataResponse) MarshalToSizedBuffer

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

func (*QueryIidMetaDataResponse) ProtoMessage

func (*QueryIidMetaDataResponse) ProtoMessage()

func (*QueryIidMetaDataResponse) Reset

func (m *QueryIidMetaDataResponse) Reset()

func (*QueryIidMetaDataResponse) Size

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

func (*QueryIidMetaDataResponse) String

func (m *QueryIidMetaDataResponse) String() string

func (*QueryIidMetaDataResponse) Unmarshal

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

func (*QueryIidMetaDataResponse) XXX_DiscardUnknown

func (m *QueryIidMetaDataResponse) XXX_DiscardUnknown()

func (*QueryIidMetaDataResponse) XXX_Marshal

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

func (*QueryIidMetaDataResponse) XXX_Merge

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

func (*QueryIidMetaDataResponse) XXX_Size

func (m *QueryIidMetaDataResponse) XXX_Size() int

func (*QueryIidMetaDataResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// IidDocuments queries all iid documents that match the given status.
	IidDocuments(context.Context, *QueryIidDocumentsRequest) (*QueryIidDocumentsResponse, error)
	// IidDocument queries a iid documents with an id.
	IidDocument(context.Context, *QueryIidDocumentRequest) (*QueryIidDocumentResponse, error)
	// MetaData queries a iid documents with an id.
	MetaData(context.Context, *QueryIidMetaDataRequest) (*QueryIidMetaDataResponse, 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,opt,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"`
}

Service defines how to find data associated with a identifer

func NewService

func NewService(id string, serviceType string, serviceEndpoint string) *Service

NewService creates a new service

func (*Service) Descriptor

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

func (*Service) Equal

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

func (*Service) Marshal

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

func (*Service) MarshalTo

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

func (*Service) MarshalToSizedBuffer

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

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) Reset

func (m *Service) Reset()

func (*Service) Size

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

func (*Service) String

func (m *Service) String() string

func (*Service) Unmarshal

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

func (*Service) XXX_DiscardUnknown

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal

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

func (*Service) XXX_Merge

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

func (*Service) XXX_Size

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal

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

type Services

type Services []*Service

Services are a list of services

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddAccordedRight

func (*UnimplementedMsgServer) AddController

func (*UnimplementedMsgServer) AddIidContext

func (*UnimplementedMsgServer) AddLinkedEntity

func (*UnimplementedMsgServer) AddLinkedResource

func (*UnimplementedMsgServer) AddService

func (*UnimplementedMsgServer) AddVerification

func (*UnimplementedMsgServer) CreateIidDocument

func (*UnimplementedMsgServer) DeactivateIID

func (*UnimplementedMsgServer) DeleteAccordedRight

func (*UnimplementedMsgServer) DeleteController

func (*UnimplementedMsgServer) DeleteIidContext

func (*UnimplementedMsgServer) DeleteLinkedEntity

func (*UnimplementedMsgServer) DeleteLinkedResource

func (*UnimplementedMsgServer) DeleteService

func (*UnimplementedMsgServer) RevokeVerification

func (*UnimplementedMsgServer) UpdateIidDocument

func (*UnimplementedMsgServer) UpdateMetaData

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) IidDocument

func (*UnimplementedQueryServer) IidDocuments

func (*UnimplementedQueryServer) MetaData

type Verification

type Verification struct {
	// verificationRelationships defines which relationships
	// are allowed to use the verification method
	Relationships []string            `protobuf:"bytes,1,rep,name=relationships,proto3" json:"relationships,omitempty"`
	Method        *VerificationMethod `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Context       []string            `protobuf:"bytes,3,rep,name=context,proto3" json:"context,omitempty"`
}

Verification is a message that allows to assign a verification method to one or more verification relationships

func NewAccountVerification

func NewAccountVerification(did DID, chainID, accountAddress string, verificationMethods ...string) *Verification

NewAccountVerification is a shortcut to create a verification based on comsos address

func NewVerification

func NewVerification(
	method VerificationMethod,
	relationships []string,
	contexts []string,
) *Verification

NewVerification build a new verification to be attached to a did document

func (*Verification) Descriptor

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

func (Verification) GetBytes

func (did Verification) GetBytes() []byte

GetBytes is a helper for serializing

func (*Verification) GetContext

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

func (*Verification) GetMethod

func (m *Verification) GetMethod() *VerificationMethod

func (*Verification) GetRelationships

func (m *Verification) GetRelationships() []string

func (Verification) GetSignBytes

func (did Verification) GetSignBytes() []byte

func (*Verification) Marshal

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

func (*Verification) MarshalTo

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

func (*Verification) MarshalToSizedBuffer

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

func (*Verification) ProtoMessage

func (*Verification) ProtoMessage()

func (*Verification) Reset

func (m *Verification) Reset()

func (*Verification) Size

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

func (*Verification) String

func (m *Verification) String() string

func (*Verification) Unmarshal

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

func (*Verification) XXX_DiscardUnknown

func (m *Verification) XXX_DiscardUnknown()

func (*Verification) XXX_Marshal

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

func (*Verification) XXX_Merge

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

func (*Verification) XXX_Size

func (m *Verification) XXX_Size() int

func (*Verification) XXX_Unmarshal

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

type VerificationMaterial

type VerificationMaterial interface {
	EncodeToString() string
	Type() VerificationMaterialType
}

type VerificationMaterialType

type VerificationMaterialType string

VerificationMaterialType encode the verification material type

const (
	DIDVMethodTypeEcdsaSecp256k1VerificationKey2019 VerificationMaterialType = "EcdsaSecp256k1VerificationKey2019"
	DIDVMethodTypeEd25519VerificationKey2018        VerificationMaterialType = "Ed25519VerificationKey2018"
	DIDVMethodTypeCosmosAccountAddress              VerificationMaterialType = "CosmosAccountAddress"
	DIDVMethodTypeX25519KeyAgreementKey2019         VerificationMaterialType = "X25519KeyAgreementKey2019"
)

Verification method material types

func (VerificationMaterialType) String

func (p VerificationMaterialType) String() string

String return string name for the Verification Method type

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"`
	// Types that are valid to be assigned to VerificationMaterial:
	//	*VerificationMethod_BlockchainAccountID
	//	*VerificationMethod_PublicKeyHex
	//	*VerificationMethod_PublicKeyMultibase
	//	*VerificationMethod_PublicKeyBase58
	VerificationMaterial isVerificationMethod_VerificationMaterial `protobuf_oneof:"verificationMaterial"`
}

func NewVerificationMethod

func NewVerificationMethod(id string, controller DID, vmr VerificationMaterial) VerificationMethod

NewVerificationMethod build a new verification method

func (*VerificationMethod) Descriptor

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

func (*VerificationMethod) Equal

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

func (*VerificationMethod) GetBlockchainAccountID

func (m *VerificationMethod) GetBlockchainAccountID() string

func (*VerificationMethod) GetPublicKeyBase58

func (m *VerificationMethod) GetPublicKeyBase58() string

func (*VerificationMethod) GetPublicKeyHex

func (m *VerificationMethod) GetPublicKeyHex() string

func (*VerificationMethod) GetPublicKeyMultibase

func (m *VerificationMethod) GetPublicKeyMultibase() string

func (*VerificationMethod) GetVerificationMaterial

func (m *VerificationMethod) GetVerificationMaterial() isVerificationMethod_VerificationMaterial

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) 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) 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_OneofWrappers

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*VerificationMethod) XXX_Size

func (m *VerificationMethod) XXX_Size() int

func (*VerificationMethod) XXX_Unmarshal

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

type VerificationMethod_BlockchainAccountID

type VerificationMethod_BlockchainAccountID struct {
	BlockchainAccountID string `protobuf:"bytes,4,opt,name=blockchainAccountID,proto3,oneof" json:"blockchainAccountID,omitempty"`
}

func (*VerificationMethod_BlockchainAccountID) Equal

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

func (*VerificationMethod_BlockchainAccountID) MarshalTo

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

func (*VerificationMethod_BlockchainAccountID) MarshalToSizedBuffer

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

func (*VerificationMethod_BlockchainAccountID) Size

type VerificationMethod_PublicKeyBase58

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

func (*VerificationMethod_PublicKeyBase58) Equal

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

func (*VerificationMethod_PublicKeyBase58) MarshalTo

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

func (*VerificationMethod_PublicKeyBase58) MarshalToSizedBuffer

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

func (*VerificationMethod_PublicKeyBase58) Size

type VerificationMethod_PublicKeyHex

type VerificationMethod_PublicKeyHex struct {
	PublicKeyHex string `protobuf:"bytes,5,opt,name=publicKeyHex,proto3,oneof" json:"publicKeyHex,omitempty"`
}

func (*VerificationMethod_PublicKeyHex) Equal

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

func (*VerificationMethod_PublicKeyHex) MarshalTo

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

func (*VerificationMethod_PublicKeyHex) MarshalToSizedBuffer

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

func (*VerificationMethod_PublicKeyHex) Size

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

type VerificationMethod_PublicKeyMultibase

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

func (*VerificationMethod_PublicKeyMultibase) Equal

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

func (*VerificationMethod_PublicKeyMultibase) MarshalTo

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

func (*VerificationMethod_PublicKeyMultibase) MarshalToSizedBuffer

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

func (*VerificationMethod_PublicKeyMultibase) Size

type VerificationRelationship

type VerificationRelationship int

type Verifications

type Verifications []*Verification

Verifications is a list of verification

Jump to

Keyboard shortcuts

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