Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func FindInSlice(list []string, element string) bool
- func GetElementsFromDidUrl(didUrl string) (string, string)
- func GetUniqueElements(list []string) []string
- func KeyPrefix(p string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func SplitDidUrl(didUrl string) (string, string)
- type AccountKeeper
- type BankKeeper
- type BlockchainId
- type Claim
- func (*Claim) Descriptor() ([]byte, []int)
- func (m *Claim) GetCurrentStatus() string
- func (m *Claim) GetId() string
- func (m *Claim) GetStatusReason() string
- func (m *Claim) Marshal() (dAtA []byte, err error)
- func (m *Claim) MarshalTo(dAtA []byte) (int, error)
- func (m *Claim) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Claim) ProtoMessage()
- func (m *Claim) Reset()
- func (m *Claim) Size() (n int)
- func (m *Claim) String() string
- func (m *Claim) Unmarshal(dAtA []byte) error
- func (m *Claim) XXX_DiscardUnknown()
- func (m *Claim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Claim) XXX_Merge(src proto.Message)
- func (m *Claim) XXX_Size() int
- func (m *Claim) XXX_Unmarshal(b []byte) error
- type ClientSpec
- func (*ClientSpec) Descriptor() ([]byte, []int)
- func (m *ClientSpec) GetAdr036SignerAddress() string
- func (m *ClientSpec) GetType() string
- func (m *ClientSpec) Marshal() (dAtA []byte, err error)
- func (m *ClientSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ClientSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClientSpec) ProtoMessage()
- func (m *ClientSpec) Reset()
- func (m *ClientSpec) Size() (n int)
- func (m *ClientSpec) String() string
- func (m *ClientSpec) Unmarshal(dAtA []byte) error
- func (m *ClientSpec) XXX_DiscardUnknown()
- func (m *ClientSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClientSpec) XXX_Merge(src proto.Message)
- func (m *ClientSpec) XXX_Size() int
- func (m *ClientSpec) XXX_Unmarshal(b []byte) error
- type ClientSpecOpts
- type Credential
- func (*Credential) Descriptor() ([]byte, []int)
- func (m *Credential) GetClaim() *Claim
- func (m *Credential) GetCredentialHash() string
- func (m *Credential) GetExpirationDate() string
- func (m *Credential) GetIssuanceDate() string
- func (m *Credential) GetIssuer() string
- func (m *Credential) GetProof() *CredentialProof
- func (m *Credential) Marshal() (dAtA []byte, err error)
- func (m *Credential) MarshalTo(dAtA []byte) (int, error)
- func (m *Credential) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Credential) ProtoMessage()
- func (m *Credential) Reset()
- func (m *Credential) Size() (n int)
- func (m *Credential) String() string
- func (m *Credential) Unmarshal(dAtA []byte) error
- func (m *Credential) XXX_DiscardUnknown()
- func (m *Credential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Credential) XXX_Merge(src proto.Message)
- func (m *Credential) XXX_Size() int
- func (m *Credential) XXX_Unmarshal(b []byte) error
- type CredentialProof
- func (*CredentialProof) Descriptor() ([]byte, []int)
- func (m *CredentialProof) GetCreated() string
- func (m *CredentialProof) GetProofPurpose() string
- func (m *CredentialProof) GetProofValue() string
- func (m *CredentialProof) GetType() string
- func (m *CredentialProof) GetUpdated() string
- func (m *CredentialProof) GetVerificationMethod() string
- func (m *CredentialProof) Marshal() (dAtA []byte, err error)
- func (m *CredentialProof) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialProof) ProtoMessage()
- func (m *CredentialProof) Reset()
- func (m *CredentialProof) Size() (n int)
- func (m *CredentialProof) String() string
- func (m *CredentialProof) Unmarshal(dAtA []byte) error
- func (m *CredentialProof) XXX_DiscardUnknown()
- func (m *CredentialProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialProof) XXX_Merge(src proto.Message)
- func (m *CredentialProof) XXX_Size() int
- func (m *CredentialProof) XXX_Unmarshal(b []byte) error
- type CredentialStatus
- func (*CredentialStatus) Descriptor() ([]byte, []int)
- func (m *CredentialStatus) GetClaim() *Claim
- func (m *CredentialStatus) GetCredentialHash() string
- func (m *CredentialStatus) GetExpirationDate() string
- func (m *CredentialStatus) GetIssuanceDate() string
- func (m *CredentialStatus) GetIssuer() string
- func (msg *CredentialStatus) GetSignBytes() []byte
- func (m *CredentialStatus) Marshal() (dAtA []byte, err error)
- func (m *CredentialStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *CredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CredentialStatus) ProtoMessage()
- func (m *CredentialStatus) Reset()
- func (m *CredentialStatus) Size() (n int)
- func (m *CredentialStatus) String() string
- func (m *CredentialStatus) Unmarshal(dAtA []byte) error
- func (m *CredentialStatus) XXX_DiscardUnknown()
- func (m *CredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CredentialStatus) XXX_Merge(src proto.Message)
- func (m *CredentialStatus) XXX_Size() int
- func (m *CredentialStatus) XXX_Unmarshal(b []byte) error
- type Did
- func (*Did) Descriptor() ([]byte, []int)
- func (m *Did) GetAlsoKnownAs() []string
- func (m *Did) GetAssertionMethod() []string
- func (m *Did) GetAuthentication() []string
- func (m *Did) GetCapabilityDelegation() []string
- func (m *Did) GetCapabilityInvocation() []string
- func (m *Did) GetContext() []string
- func (m *Did) GetController() []string
- func (m *Did) GetId() string
- func (m *Did) GetKeyAgreement() []string
- func (m *Did) GetService() []*Service
- func (msg *Did) GetSignBytes() []byte
- func (m *Did) GetVerificationMethod() []*VerificationMethod
- func (m *Did) Marshal() (dAtA []byte, err error)
- func (m *Did) MarshalTo(dAtA []byte) (int, error)
- func (m *Did) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Did) ProtoMessage()
- func (m *Did) Reset()
- func (m *Did) Size() (n int)
- func (m *Did) String() string
- func (m *Did) Unmarshal(dAtA []byte) error
- func (didDoc *Did) ValidateDidDocument() error
- func (m *Did) XXX_DiscardUnknown()
- func (m *Did) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Did) XXX_Merge(src proto.Message)
- func (m *Did) XXX_Size() int
- func (m *Did) XXX_Unmarshal(b []byte) error
- type DidDocumentState
- func (*DidDocumentState) Descriptor() ([]byte, []int)
- func (m *DidDocumentState) GetDidDocument() *Did
- func (m *DidDocumentState) GetDidDocumentMetadata() *Metadata
- func (m *DidDocumentState) Marshal() (dAtA []byte, err error)
- func (m *DidDocumentState) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocumentState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocumentState) ProtoMessage()
- func (m *DidDocumentState) Reset()
- func (m *DidDocumentState) Size() (n int)
- func (m *DidDocumentState) String() string
- func (m *DidDocumentState) Unmarshal(dAtA []byte) error
- func (m *DidDocumentState) XXX_DiscardUnknown()
- func (m *DidDocumentState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocumentState) XXX_Merge(src proto.Message)
- func (m *DidDocumentState) XXX_Size() int
- func (m *DidDocumentState) XXX_Unmarshal(b []byte) error
- type ExtendedVerificationMethod
- type Fees
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetChainNamespace() string
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetCreated() string
- func (m *Metadata) GetDeactivated() bool
- func (m *Metadata) GetUpdated() string
- func (m *Metadata) GetVersionId() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type Msg
- type MsgClient
- type MsgCreateDID
- func (*MsgCreateDID) Descriptor() ([]byte, []int)
- func (m *MsgCreateDID) GetCreator() string
- func (m *MsgCreateDID) GetDidDocString() *Did
- func (msg *MsgCreateDID) GetSignBytes() []byte
- func (m *MsgCreateDID) GetSignatures() []*SignInfo
- func (msg *MsgCreateDID) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDID) ProtoMessage()
- func (m *MsgCreateDID) Reset()
- func (msg *MsgCreateDID) Route() string
- func (m *MsgCreateDID) Size() (n int)
- func (m *MsgCreateDID) String() string
- func (msg *MsgCreateDID) Type() string
- func (m *MsgCreateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateDID) ValidateBasic() error
- func (m *MsgCreateDID) XXX_DiscardUnknown()
- func (m *MsgCreateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDID) XXX_Merge(src proto.Message)
- func (m *MsgCreateDID) XXX_Size() int
- func (m *MsgCreateDID) XXX_Unmarshal(b []byte) error
- type MsgCreateDIDResponse
- func (*MsgCreateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDIDResponse) GetId() uint64
- func (m *MsgCreateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDIDResponse) ProtoMessage()
- func (m *MsgCreateDIDResponse) Reset()
- func (m *MsgCreateDIDResponse) Size() (n int)
- func (m *MsgCreateDIDResponse) String() string
- func (m *MsgCreateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDIDResponse) XXX_Size() int
- func (m *MsgCreateDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateSchema
- func (*MsgCreateSchema) Descriptor() ([]byte, []int)
- func (m *MsgCreateSchema) GetClientSpec() *ClientSpec
- func (m *MsgCreateSchema) GetCreator() string
- func (m *MsgCreateSchema) GetSchemaDoc() *SchemaDocument
- func (m *MsgCreateSchema) GetSchemaProof() *SchemaProof
- func (msg *MsgCreateSchema) GetSignBytes() []byte
- func (msg *MsgCreateSchema) GetSigners() []sdk.AccAddress
- func (m *MsgCreateSchema) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSchema) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSchema) ProtoMessage()
- func (m *MsgCreateSchema) Reset()
- func (msg *MsgCreateSchema) Route() string
- func (m *MsgCreateSchema) Size() (n int)
- func (m *MsgCreateSchema) String() string
- func (msg *MsgCreateSchema) Type() string
- func (m *MsgCreateSchema) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateSchema) ValidateBasic() error
- func (m *MsgCreateSchema) XXX_DiscardUnknown()
- func (m *MsgCreateSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSchema) XXX_Merge(src proto.Message)
- func (m *MsgCreateSchema) XXX_Size() int
- func (m *MsgCreateSchema) XXX_Unmarshal(b []byte) error
- type MsgCreateSchemaResponse
- func (*MsgCreateSchemaResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateSchemaResponse) GetId() uint64
- func (m *MsgCreateSchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSchemaResponse) ProtoMessage()
- func (m *MsgCreateSchemaResponse) Reset()
- func (m *MsgCreateSchemaResponse) Size() (n int)
- func (m *MsgCreateSchemaResponse) String() string
- func (m *MsgCreateSchemaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateSchemaResponse) XXX_DiscardUnknown()
- func (m *MsgCreateSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSchemaResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateSchemaResponse) XXX_Size() int
- func (m *MsgCreateSchemaResponse) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDID
- func (*MsgDeactivateDID) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDID) GetCreator() string
- func (m *MsgDeactivateDID) GetDidId() string
- func (msg *MsgDeactivateDID) GetSignBytes() []byte
- func (m *MsgDeactivateDID) GetSignatures() []*SignInfo
- func (msg *MsgDeactivateDID) GetSigners() []sdk.AccAddress
- func (m *MsgDeactivateDID) GetVersionId() string
- func (m *MsgDeactivateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDID) ProtoMessage()
- func (m *MsgDeactivateDID) Reset()
- func (msg *MsgDeactivateDID) Route() string
- func (m *MsgDeactivateDID) Size() (n int)
- func (m *MsgDeactivateDID) String() string
- func (msg *MsgDeactivateDID) Type() string
- func (m *MsgDeactivateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgDeactivateDID) ValidateBasic() error
- func (m *MsgDeactivateDID) XXX_DiscardUnknown()
- func (m *MsgDeactivateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDID) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDID) XXX_Size() int
- func (m *MsgDeactivateDID) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDIDResponse
- func (*MsgDeactivateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDIDResponse) GetId() uint64
- func (m *MsgDeactivateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDIDResponse) ProtoMessage()
- func (m *MsgDeactivateDIDResponse) Reset()
- func (m *MsgDeactivateDIDResponse) Size() (n int)
- func (m *MsgDeactivateDIDResponse) String() string
- func (m *MsgDeactivateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeactivateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgDeactivateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDIDResponse) XXX_Size() int
- func (m *MsgDeactivateDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterCredentialStatus
- func (*MsgRegisterCredentialStatus) Descriptor() ([]byte, []int)
- func (m *MsgRegisterCredentialStatus) GetClientSpec() *ClientSpec
- func (m *MsgRegisterCredentialStatus) GetCreator() string
- func (m *MsgRegisterCredentialStatus) GetCredentialStatus() *CredentialStatus
- func (m *MsgRegisterCredentialStatus) GetProof() *CredentialProof
- func (msg *MsgRegisterCredentialStatus) GetSignBytes() []byte
- func (msg *MsgRegisterCredentialStatus) GetSigners() []sdk.AccAddress
- func (m *MsgRegisterCredentialStatus) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterCredentialStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterCredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterCredentialStatus) ProtoMessage()
- func (m *MsgRegisterCredentialStatus) Reset()
- func (msg *MsgRegisterCredentialStatus) Route() string
- func (m *MsgRegisterCredentialStatus) Size() (n int)
- func (m *MsgRegisterCredentialStatus) String() string
- func (msg *MsgRegisterCredentialStatus) Type() string
- func (m *MsgRegisterCredentialStatus) Unmarshal(dAtA []byte) error
- func (msg *MsgRegisterCredentialStatus) ValidateBasic() error
- func (m *MsgRegisterCredentialStatus) XXX_DiscardUnknown()
- func (m *MsgRegisterCredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterCredentialStatus) XXX_Merge(src proto.Message)
- func (m *MsgRegisterCredentialStatus) XXX_Size() int
- func (m *MsgRegisterCredentialStatus) XXX_Unmarshal(b []byte) error
- type MsgRegisterCredentialStatusResponse
- func (*MsgRegisterCredentialStatusResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterCredentialStatusResponse) GetId() uint64
- func (m *MsgRegisterCredentialStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterCredentialStatusResponse) ProtoMessage()
- func (m *MsgRegisterCredentialStatusResponse) Reset()
- func (m *MsgRegisterCredentialStatusResponse) Size() (n int)
- func (m *MsgRegisterCredentialStatusResponse) String() string
- func (m *MsgRegisterCredentialStatusResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterCredentialStatusResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterCredentialStatusResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterCredentialStatusResponse) XXX_Size() int
- func (m *MsgRegisterCredentialStatusResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateDID
- func (*MsgUpdateDID) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDID) GetCreator() string
- func (m *MsgUpdateDID) GetDidDocString() *Did
- func (msg *MsgUpdateDID) GetSignBytes() []byte
- func (m *MsgUpdateDID) GetSignatures() []*SignInfo
- func (msg *MsgUpdateDID) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDID) GetVersionId() string
- func (m *MsgUpdateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDID) ProtoMessage()
- func (m *MsgUpdateDID) Reset()
- func (msg *MsgUpdateDID) Route() string
- func (m *MsgUpdateDID) Size() (n int)
- func (m *MsgUpdateDID) String() string
- func (msg *MsgUpdateDID) Type() string
- func (m *MsgUpdateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateDID) ValidateBasic() error
- func (m *MsgUpdateDID) XXX_DiscardUnknown()
- func (m *MsgUpdateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDID) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDID) XXX_Size() int
- func (m *MsgUpdateDID) XXX_Unmarshal(b []byte) error
- type MsgUpdateDIDResponse
- func (*MsgUpdateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDIDResponse) GetUpdateId() string
- func (m *MsgUpdateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDIDResponse) ProtoMessage()
- func (m *MsgUpdateDIDResponse) Reset()
- func (m *MsgUpdateDIDResponse) Size() (n int)
- func (m *MsgUpdateDIDResponse) String() string
- func (m *MsgUpdateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDIDResponse) XXX_Size() int
- func (m *MsgUpdateDIDResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCredentialRequest
- func (*QueryCredentialRequest) Descriptor() ([]byte, []int)
- func (m *QueryCredentialRequest) GetCredId() string
- func (m *QueryCredentialRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialRequest) ProtoMessage()
- func (m *QueryCredentialRequest) Reset()
- func (m *QueryCredentialRequest) Size() (n int)
- func (m *QueryCredentialRequest) String() string
- func (m *QueryCredentialRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialRequest) XXX_DiscardUnknown()
- func (m *QueryCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialRequest) XXX_Merge(src proto.Message)
- func (m *QueryCredentialRequest) XXX_Size() int
- func (m *QueryCredentialRequest) XXX_Unmarshal(b []byte) error
- type QueryCredentialResponse
- func (*QueryCredentialResponse) Descriptor() ([]byte, []int)
- func (m *QueryCredentialResponse) GetCredStatus() *Credential
- func (m *QueryCredentialResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialResponse) ProtoMessage()
- func (m *QueryCredentialResponse) Reset()
- func (m *QueryCredentialResponse) Size() (n int)
- func (m *QueryCredentialResponse) String() string
- func (m *QueryCredentialResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialResponse) XXX_DiscardUnknown()
- func (m *QueryCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialResponse) XXX_Merge(src proto.Message)
- func (m *QueryCredentialResponse) XXX_Size() int
- func (m *QueryCredentialResponse) XXX_Unmarshal(b []byte) error
- type QueryCredentialsRequest
- func (*QueryCredentialsRequest) Descriptor() ([]byte, []int)
- func (m *QueryCredentialsRequest) GetPagination() *query.PageRequest
- func (m *QueryCredentialsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialsRequest) ProtoMessage()
- func (m *QueryCredentialsRequest) Reset()
- func (m *QueryCredentialsRequest) Size() (n int)
- func (m *QueryCredentialsRequest) String() string
- func (m *QueryCredentialsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialsRequest) XXX_DiscardUnknown()
- func (m *QueryCredentialsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialsRequest) XXX_Merge(src proto.Message)
- func (m *QueryCredentialsRequest) XXX_Size() int
- func (m *QueryCredentialsRequest) XXX_Unmarshal(b []byte) error
- type QueryCredentialsResponse
- func (*QueryCredentialsResponse) Descriptor() ([]byte, []int)
- func (m *QueryCredentialsResponse) GetCredentials() []*Credential
- func (m *QueryCredentialsResponse) GetTotalCount() uint64
- func (m *QueryCredentialsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCredentialsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCredentialsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCredentialsResponse) ProtoMessage()
- func (m *QueryCredentialsResponse) Reset()
- func (m *QueryCredentialsResponse) Size() (n int)
- func (m *QueryCredentialsResponse) String() string
- func (m *QueryCredentialsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCredentialsResponse) XXX_DiscardUnknown()
- func (m *QueryCredentialsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCredentialsResponse) XXX_Merge(src proto.Message)
- func (m *QueryCredentialsResponse) XXX_Size() int
- func (m *QueryCredentialsResponse) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentRequest
- func (*QueryDidDocumentRequest) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentRequest) GetDidId() string
- func (m *QueryDidDocumentRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentRequest) ProtoMessage()
- func (m *QueryDidDocumentRequest) Reset()
- func (m *QueryDidDocumentRequest) Size() (n int)
- func (m *QueryDidDocumentRequest) String() string
- func (m *QueryDidDocumentRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentRequest) XXX_DiscardUnknown()
- func (m *QueryDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentRequest) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentRequest) XXX_Size() int
- func (m *QueryDidDocumentRequest) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentResponse
- func (*QueryDidDocumentResponse) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentResponse) GetDidDocument() *Did
- func (m *QueryDidDocumentResponse) GetDidDocumentMetadata() *Metadata
- func (m *QueryDidDocumentResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentResponse) ProtoMessage()
- func (m *QueryDidDocumentResponse) Reset()
- func (m *QueryDidDocumentResponse) Size() (n int)
- func (m *QueryDidDocumentResponse) String() string
- func (m *QueryDidDocumentResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentResponse) XXX_DiscardUnknown()
- func (m *QueryDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentResponse) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentResponse) XXX_Size() int
- func (m *QueryDidDocumentResponse) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentsRequest
- func (*QueryDidDocumentsRequest) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentsRequest) GetCount() bool
- func (m *QueryDidDocumentsRequest) GetPagination() *query.PageRequest
- func (m *QueryDidDocumentsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentsRequest) ProtoMessage()
- func (m *QueryDidDocumentsRequest) Reset()
- func (m *QueryDidDocumentsRequest) Size() (n int)
- func (m *QueryDidDocumentsRequest) String() string
- func (m *QueryDidDocumentsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentsRequest) XXX_DiscardUnknown()
- func (m *QueryDidDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentsRequest) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentsRequest) XXX_Size() int
- func (m *QueryDidDocumentsRequest) XXX_Unmarshal(b []byte) error
- type QueryDidDocumentsResponse
- func (*QueryDidDocumentsResponse) Descriptor() ([]byte, []int)
- func (m *QueryDidDocumentsResponse) GetDidDocList() []*QueryDidDocumentResponse
- func (m *QueryDidDocumentsResponse) GetTotalDidCount() uint64
- func (m *QueryDidDocumentsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocumentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocumentsResponse) ProtoMessage()
- func (m *QueryDidDocumentsResponse) Reset()
- func (m *QueryDidDocumentsResponse) Size() (n int)
- func (m *QueryDidDocumentsResponse) String() string
- func (m *QueryDidDocumentsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocumentsResponse) XXX_DiscardUnknown()
- func (m *QueryDidDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocumentsResponse) XXX_Merge(src proto.Message)
- func (m *QueryDidDocumentsResponse) XXX_Size() int
- func (m *QueryDidDocumentsResponse) XXX_Unmarshal(b []byte) error
- type QuerySchemaRequest
- func (*QuerySchemaRequest) Descriptor() ([]byte, []int)
- func (m *QuerySchemaRequest) GetSchemaId() string
- func (m *QuerySchemaRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemaRequest) ProtoMessage()
- func (m *QuerySchemaRequest) Reset()
- func (m *QuerySchemaRequest) Size() (n int)
- func (m *QuerySchemaRequest) String() string
- func (m *QuerySchemaRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySchemaRequest) XXX_DiscardUnknown()
- func (m *QuerySchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemaRequest) XXX_Merge(src proto.Message)
- func (m *QuerySchemaRequest) XXX_Size() int
- func (m *QuerySchemaRequest) XXX_Unmarshal(b []byte) error
- type QuerySchemaResponse
- func (*QuerySchemaResponse) Descriptor() ([]byte, []int)
- func (m *QuerySchemaResponse) GetSchema() []*Schema
- func (m *QuerySchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemaResponse) ProtoMessage()
- func (m *QuerySchemaResponse) Reset()
- func (m *QuerySchemaResponse) Size() (n int)
- func (m *QuerySchemaResponse) String() string
- func (m *QuerySchemaResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySchemaResponse) XXX_DiscardUnknown()
- func (m *QuerySchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemaResponse) XXX_Merge(src proto.Message)
- func (m *QuerySchemaResponse) XXX_Size() int
- func (m *QuerySchemaResponse) XXX_Unmarshal(b []byte) error
- type QuerySchemasRequest
- func (*QuerySchemasRequest) Descriptor() ([]byte, []int)
- func (m *QuerySchemasRequest) GetPagination() *query.PageRequest
- func (m *QuerySchemasRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemasRequest) ProtoMessage()
- func (m *QuerySchemasRequest) Reset()
- func (m *QuerySchemasRequest) Size() (n int)
- func (m *QuerySchemasRequest) String() string
- func (m *QuerySchemasRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySchemasRequest) XXX_DiscardUnknown()
- func (m *QuerySchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemasRequest) XXX_Merge(src proto.Message)
- func (m *QuerySchemasRequest) XXX_Size() int
- func (m *QuerySchemasRequest) XXX_Unmarshal(b []byte) error
- type QuerySchemasResponse
- func (*QuerySchemasResponse) Descriptor() ([]byte, []int)
- func (m *QuerySchemasResponse) GetSchemaList() []*Schema
- func (m *QuerySchemasResponse) GetTotalCount() uint64
- func (m *QuerySchemasResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemasResponse) ProtoMessage()
- func (m *QuerySchemasResponse) Reset()
- func (m *QuerySchemasResponse) Size() (n int)
- func (m *QuerySchemasResponse) String() string
- func (m *QuerySchemasResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySchemasResponse) XXX_DiscardUnknown()
- func (m *QuerySchemasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemasResponse) XXX_Merge(src proto.Message)
- func (m *QuerySchemasResponse) XXX_Size() int
- func (m *QuerySchemasResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type SSIProofInterface
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetAuthor() string
- func (m *Schema) GetAuthored() string
- func (m *Schema) GetId() string
- func (m *Schema) GetModelVersion() string
- func (m *Schema) GetName() string
- func (m *Schema) GetProof() *SchemaProof
- func (m *Schema) GetSchema() *SchemaProperty
- func (m *Schema) GetType() string
- func (m *Schema) Marshal() (dAtA []byte, err error)
- func (m *Schema) MarshalTo(dAtA []byte) (int, error)
- func (m *Schema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) Size() (n int)
- func (m *Schema) String() string
- func (m *Schema) Unmarshal(dAtA []byte) error
- func (m *Schema) XXX_DiscardUnknown()
- func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Schema) XXX_Merge(src proto.Message)
- func (m *Schema) XXX_Size() int
- func (m *Schema) XXX_Unmarshal(b []byte) error
- type SchemaDocument
- func (*SchemaDocument) Descriptor() ([]byte, []int)
- func (m *SchemaDocument) GetAuthor() string
- func (m *SchemaDocument) GetAuthored() string
- func (m *SchemaDocument) GetId() string
- func (m *SchemaDocument) GetModelVersion() string
- func (m *SchemaDocument) GetName() string
- func (m *SchemaDocument) GetSchema() *SchemaProperty
- func (msg *SchemaDocument) GetSignBytes() []byte
- func (m *SchemaDocument) GetType() string
- func (m *SchemaDocument) Marshal() (dAtA []byte, err error)
- func (m *SchemaDocument) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaDocument) ProtoMessage()
- func (m *SchemaDocument) Reset()
- func (m *SchemaDocument) Size() (n int)
- func (m *SchemaDocument) String() string
- func (m *SchemaDocument) Unmarshal(dAtA []byte) error
- func (m *SchemaDocument) XXX_DiscardUnknown()
- func (m *SchemaDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaDocument) XXX_Merge(src proto.Message)
- func (m *SchemaDocument) XXX_Size() int
- func (m *SchemaDocument) XXX_Unmarshal(b []byte) error
- type SchemaProof
- func (*SchemaProof) Descriptor() ([]byte, []int)
- func (m *SchemaProof) GetCreated() string
- func (m *SchemaProof) GetProofPurpose() string
- func (m *SchemaProof) GetProofValue() string
- func (m *SchemaProof) GetType() string
- func (m *SchemaProof) GetVerificationMethod() string
- func (m *SchemaProof) Marshal() (dAtA []byte, err error)
- func (m *SchemaProof) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaProof) ProtoMessage()
- func (m *SchemaProof) Reset()
- func (m *SchemaProof) Size() (n int)
- func (m *SchemaProof) String() string
- func (m *SchemaProof) Unmarshal(dAtA []byte) error
- func (m *SchemaProof) XXX_DiscardUnknown()
- func (m *SchemaProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaProof) XXX_Merge(src proto.Message)
- func (m *SchemaProof) XXX_Size() int
- func (m *SchemaProof) XXX_Unmarshal(b []byte) error
- type SchemaProperty
- func (*SchemaProperty) Descriptor() ([]byte, []int)
- func (m *SchemaProperty) GetAdditionalProperties() bool
- func (m *SchemaProperty) GetDescription() string
- func (m *SchemaProperty) GetProperties() string
- func (m *SchemaProperty) GetRequired() []string
- func (m *SchemaProperty) GetSchema() string
- func (m *SchemaProperty) GetType() string
- func (m *SchemaProperty) Marshal() (dAtA []byte, err error)
- func (m *SchemaProperty) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaProperty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaProperty) ProtoMessage()
- func (m *SchemaProperty) Reset()
- func (m *SchemaProperty) Size() (n int)
- func (m *SchemaProperty) String() string
- func (m *SchemaProperty) Unmarshal(dAtA []byte) error
- func (m *SchemaProperty) XXX_DiscardUnknown()
- func (m *SchemaProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaProperty) XXX_Merge(src proto.Message)
- func (m *SchemaProperty) XXX_Size() int
- func (m *SchemaProperty) XXX_Unmarshal(b []byte) error
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetId() string
- func (m *Service) GetServiceEndpoint() string
- func (m *Service) GetType() string
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type SignDoc
- type SignInfo
- func (*SignInfo) Descriptor() ([]byte, []int)
- func (m *SignInfo) GetClientSpec() *ClientSpec
- func (m *SignInfo) GetSignature() string
- func (m *SignInfo) GetVerificationMethodId() string
- func (m *SignInfo) Marshal() (dAtA []byte, err error)
- func (m *SignInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInfo) ProtoMessage()
- func (m *SignInfo) Reset()
- func (m *SignInfo) Size() (n int)
- func (m *SignInfo) String() string
- func (m *SignInfo) Unmarshal(dAtA []byte) error
- func (m *SignInfo) XXX_DiscardUnknown()
- func (m *SignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInfo) XXX_Merge(src proto.Message)
- func (m *SignInfo) XXX_Size() int
- func (m *SignInfo) XXX_Unmarshal(b []byte) error
- type Signer
- type SsiMsg
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateDID(ctx context.Context, req *MsgCreateDID) (*MsgCreateDIDResponse, error)
- func (*UnimplementedMsgServer) CreateSchema(ctx context.Context, req *MsgCreateSchema) (*MsgCreateSchemaResponse, error)
- func (*UnimplementedMsgServer) DeactivateDID(ctx context.Context, req *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error)
- func (*UnimplementedMsgServer) RegisterCredentialStatus(ctx context.Context, req *MsgRegisterCredentialStatus) (*MsgRegisterCredentialStatusResponse, error)
- func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) QueryCredential(ctx context.Context, req *QueryCredentialRequest) (*QueryCredentialResponse, error)
- func (*UnimplementedQueryServer) QueryCredentials(ctx context.Context, req *QueryCredentialsRequest) (*QueryCredentialsResponse, error)
- func (*UnimplementedQueryServer) QueryDidDocument(ctx context.Context, req *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error)
- func (*UnimplementedQueryServer) QueryDidDocuments(ctx context.Context, req *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error)
- func (*UnimplementedQueryServer) QuerySchema(ctx context.Context, req *QuerySchemaRequest) (*QuerySchemaResponse, error)
- func (*UnimplementedQueryServer) QuerySchemas(ctx context.Context, req *QuerySchemasRequest) (*QuerySchemasResponse, error)
- type Val
- type ValidDid
- type VerificationMethod
- func (*VerificationMethod) Descriptor() ([]byte, []int)
- func (m *VerificationMethod) GetBlockchainAccountId() string
- func (m *VerificationMethod) GetController() string
- func (m *VerificationMethod) GetId() string
- func (m *VerificationMethod) GetPublicKeyMultibase() string
- func (m *VerificationMethod) GetType() string
- func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
- func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationMethod) ProtoMessage()
- func (m *VerificationMethod) Reset()
- func (m *VerificationMethod) Size() (n int)
- func (m *VerificationMethod) String() string
- func (m *VerificationMethod) Unmarshal(dAtA []byte) error
- func (m *VerificationMethod) XXX_DiscardUnknown()
- func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationMethod) XXX_Merge(src proto.Message)
- func (m *VerificationMethod) XXX_Size() int
- func (m *VerificationMethod) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "ssi" // 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 // MemStoreKey defines the in-memory store key MemStoreKey = "mem_ssi" )
const ( DidKey = "Did-value-" DidCountKey = "Did-count-" ChainNamespaceKey = "Did-namespace-" SchemaKey = "Schema-value-" SchemaCountKey = "Schema-count-" CredKey = "Cred-value-" CredCountKey = "Cred-count-" )
const ADR036ClientSpec string = "cosmos-ADR036"
const CosmosCAIP10Prefix string = "cosmos" // Cosmos Based Chains
const DidMethod = "hid"
const DocumentIdentifierDid = "did"
Did Document ID
const EcdsaSecp256k1RecoveryMethod2020 = "EcdsaSecp256k1RecoveryMethod2020"
const EcdsaSecp256k1VerificationKey2019 = "EcdsaSecp256k1VerificationKey2019"
const Ed25519VerificationKey2020 = "Ed25519VerificationKey2020"
Supported Verification Method Types
const EthereumCAIP10Prefix string = "eip155" // Ethereum Based Chains
CAIP-10 prefixes
const PersonalSignClientSpec string = "eth-personalSign"
const TypeMsgCreateDID = "create_did"
const TypeMsgCreateSchema = "create_schema"
const TypeMsgDeactivateDID = "deactivate_did"
const TypeMsgRegisterCredentialStatus = "register_credential_status"
const TypeMsgUpdateDID = "update_did"
Variables ¶
var ( ErrInvalidLengthClientSpec = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClientSpec = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupClientSpec = fmt.Errorf("proto: unexpected end of group") )
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthCredential = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCredential = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCredential = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthDid = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDid = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDid = fmt.Errorf("proto: unexpected end of group") )
var ( ErrDidDocExists = sdkerrors.Register(ModuleName, 101, "didDoc already exists") ErrInvalidDidDoc = sdkerrors.Register(ModuleName, 102, "didDoc is invalid") ErrVerificationMethodNotFound = sdkerrors.Register(ModuleName, 103, "verification method not found") ErrInvalidSignature = sdkerrors.Register(ModuleName, 104, "invalid signature detected") ErrDidDocNotFound = sdkerrors.Register(ModuleName, 105, "didDoc not found") ErrSchemaExists = sdkerrors.Register(ModuleName, 106, "schema already exists") ErrInvalidSchemaID = sdkerrors.Register(ModuleName, 107, "invalid schema Id") ErrUnexpectedDidVersion = sdkerrors.Register(ModuleName, 108, "unexpected DID version") ErrDidDocDeactivated = sdkerrors.Register(ModuleName, 109, "didDoc is deactivated") ErrInvalidCredentialStatus = sdkerrors.Register(ModuleName, 110, "invalid Credential Status") ErrInvalidDate = sdkerrors.Register(ModuleName, 111, "invalid Date") ErrInvalidCredentialField = sdkerrors.Register(ModuleName, 112, "invalid Credential Field") ErrInvalidCredentialHash = sdkerrors.Register(ModuleName, 113, "invalid Credential Hash") ErrInvalidClientSpecType = sdkerrors.Register(ModuleName, 114, "invalid Client Spec Type") ErrCredentialStatusNotFound = sdkerrors.Register(ModuleName, 115, "credentialStatus document not found") )
x/ssi module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSchema = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSchema = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSchema = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var CAIP10PrefixForEcdsaSecp256k1RecoveryMethod2020 []string = []string{ EthereumCAIP10Prefix, }
Supported CAIP-10 prefixes
var CAIP10PrefixForEcdsaSecp256k1VerificationKey2019 []string = []string{ CosmosCAIP10Prefix, }
var CosmosCAIP10ChainIdBech32PrefixMap = map[string]string{
"cosmoshub-4": "cosmos",
"osmosis-1": "osmo",
"akashnet-2": "akash",
"stargaze-1": "stars",
"core-1": "persistence",
"crypto-org-chain-mainnet-1": "cro",
"theta-testnet-001": "cosmos",
"osmo-test-4": "osmo",
"elgafar-1": "stars",
"test-core-1": "persistence",
"jagrat": "hid",
}
Map between supported cosmos chain-id and their respective blockhchain address prefix
var SupportedCAIP10CosmosChainIds = []string{
"cosmoshub-4",
"osmosis-1",
"akashnet-2",
"stargaze-1",
"core-1",
"crypto-org-chain-mainnet-1",
"theta-testnet-001",
"osmo-test-4",
"elgafar-1",
"test-core-1",
"jagrat",
}
var SupportedCAIP10EthereumChainIds = []string{
"1",
"137",
"56",
"3",
"4",
"5",
"80001",
"97",
}
var SupportedCAIP10PrefixChainIdsMap = map[string][]string{ EthereumCAIP10Prefix: SupportedCAIP10EthereumChainIds, CosmosCAIP10Prefix: SupportedCAIP10CosmosChainIds, }
Map between support CAIP-10 prefix and list of chain-ids
var SupportedCAIP10Prefixes = []string{ EthereumCAIP10Prefix, CosmosCAIP10Prefix, }
Supported CAIP-10 Prefixes
var SupportedClientSpecs []string = []string{ ADR036ClientSpec, PersonalSignClientSpec, }
Supported Client Specs
var SupportedServiceTypes = []string{
"LinkedDomains",
}
Supported Service Types
var VerificationKeySignatureMap = map[string]string{ Ed25519VerificationKey2020: "Ed25519Signature2020", EcdsaSecp256k1VerificationKey2019: "EcdsaSecp256k1Signature2019", EcdsaSecp256k1RecoveryMethod2020: "EcdsaSecp256k1RecoverySignature2020", }
Mapping between Verification Key and its corresponding Signature
Functions ¶
func FindInSlice ¶ added in v0.1.7
FindInSlice checks if an element is present in the list
func GetElementsFromDidUrl ¶ added in v0.1.7
GetDidFromDidUrl returns didId from didURL. TODO: need to handle query and path
func GetUniqueElements ¶ added in v0.1.7
GetUniqueElements returns a list with unique elements
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func SplitDidUrl ¶ added in v0.1.7
splitDidUrl returns the elements of a DID URL. It returns the element in order: didId, fragment
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type BlockchainId ¶ added in v0.1.7
CAIP-10 Blockchain Account Id
func NewBlockchainId ¶ added in v0.1.7
func NewBlockchainId(blockchainAccountId string) (*BlockchainId, error)
func (*BlockchainId) ValidateSupportChainId ¶ added in v0.1.7
func (bid *BlockchainId) ValidateSupportChainId() error
func (*BlockchainId) ValidateSupportedBech32Prefix ¶ added in v0.1.7
func (bid *BlockchainId) ValidateSupportedBech32Prefix() error
func (*BlockchainId) ValidateSupportedCAIP10Prefix ¶ added in v0.1.7
func (bid *BlockchainId) ValidateSupportedCAIP10Prefix() error
type Claim ¶ added in v0.0.6
type Claim struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CurrentStatus string `protobuf:"bytes,2,opt,name=currentStatus,proto3" json:"currentStatus,omitempty"` StatusReason string `protobuf:"bytes,3,opt,name=statusReason,proto3" json:"statusReason,omitempty"` }
func (*Claim) Descriptor ¶ added in v0.0.6
func (*Claim) GetCurrentStatus ¶ added in v0.0.6
func (*Claim) GetStatusReason ¶ added in v0.0.6
func (*Claim) MarshalToSizedBuffer ¶ added in v0.0.6
func (*Claim) ProtoMessage ¶ added in v0.0.6
func (*Claim) ProtoMessage()
func (*Claim) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *Claim) XXX_DiscardUnknown()
func (*Claim) XXX_Marshal ¶ added in v0.0.6
func (*Claim) XXX_Unmarshal ¶ added in v0.0.6
type ClientSpec ¶ added in v0.1.7
type ClientSpec struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Adr036SignerAddress string `protobuf:"bytes,2,opt,name=adr036SignerAddress,proto3" json:"adr036SignerAddress,omitempty"` }
func (*ClientSpec) Descriptor ¶ added in v0.1.7
func (*ClientSpec) Descriptor() ([]byte, []int)
func (*ClientSpec) GetAdr036SignerAddress ¶ added in v0.1.7
func (m *ClientSpec) GetAdr036SignerAddress() string
func (*ClientSpec) GetType ¶ added in v0.1.7
func (m *ClientSpec) GetType() string
func (*ClientSpec) Marshal ¶ added in v0.1.7
func (m *ClientSpec) Marshal() (dAtA []byte, err error)
func (*ClientSpec) MarshalTo ¶ added in v0.1.7
func (m *ClientSpec) MarshalTo(dAtA []byte) (int, error)
func (*ClientSpec) MarshalToSizedBuffer ¶ added in v0.1.7
func (m *ClientSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClientSpec) ProtoMessage ¶ added in v0.1.7
func (*ClientSpec) ProtoMessage()
func (*ClientSpec) Reset ¶ added in v0.1.7
func (m *ClientSpec) Reset()
func (*ClientSpec) Size ¶ added in v0.1.7
func (m *ClientSpec) Size() (n int)
func (*ClientSpec) String ¶ added in v0.1.7
func (m *ClientSpec) String() string
func (*ClientSpec) Unmarshal ¶ added in v0.1.7
func (m *ClientSpec) Unmarshal(dAtA []byte) error
func (*ClientSpec) XXX_DiscardUnknown ¶ added in v0.1.7
func (m *ClientSpec) XXX_DiscardUnknown()
func (*ClientSpec) XXX_Marshal ¶ added in v0.1.7
func (m *ClientSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClientSpec) XXX_Merge ¶ added in v0.1.7
func (m *ClientSpec) XXX_Merge(src proto.Message)
func (*ClientSpec) XXX_Size ¶ added in v0.1.7
func (m *ClientSpec) XXX_Size() int
func (*ClientSpec) XXX_Unmarshal ¶ added in v0.1.7
func (m *ClientSpec) XXX_Unmarshal(b []byte) error
type ClientSpecOpts ¶ added in v0.1.5
Struct catering to supported Client Spec's required inputs
type Credential ¶ added in v0.0.6
type Credential struct { Claim *Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"` Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` IssuanceDate string `protobuf:"bytes,3,opt,name=issuanceDate,proto3" json:"issuanceDate,omitempty"` ExpirationDate string `protobuf:"bytes,4,opt,name=expirationDate,proto3" json:"expirationDate,omitempty"` CredentialHash string `protobuf:"bytes,5,opt,name=credentialHash,proto3" json:"credentialHash,omitempty"` Proof *CredentialProof `protobuf:"bytes,6,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*Credential) Descriptor ¶ added in v0.0.6
func (*Credential) Descriptor() ([]byte, []int)
func (*Credential) GetClaim ¶ added in v0.0.6
func (m *Credential) GetClaim() *Claim
func (*Credential) GetCredentialHash ¶ added in v0.0.6
func (m *Credential) GetCredentialHash() string
func (*Credential) GetExpirationDate ¶ added in v0.0.6
func (m *Credential) GetExpirationDate() string
func (*Credential) GetIssuanceDate ¶ added in v0.0.6
func (m *Credential) GetIssuanceDate() string
func (*Credential) GetIssuer ¶ added in v0.0.6
func (m *Credential) GetIssuer() string
func (*Credential) GetProof ¶ added in v0.0.6
func (m *Credential) GetProof() *CredentialProof
func (*Credential) Marshal ¶ added in v0.0.6
func (m *Credential) Marshal() (dAtA []byte, err error)
func (*Credential) MarshalTo ¶ added in v0.0.6
func (m *Credential) MarshalTo(dAtA []byte) (int, error)
func (*Credential) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *Credential) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Credential) ProtoMessage ¶ added in v0.0.6
func (*Credential) ProtoMessage()
func (*Credential) Reset ¶ added in v0.0.6
func (m *Credential) Reset()
func (*Credential) Size ¶ added in v0.0.6
func (m *Credential) Size() (n int)
func (*Credential) String ¶ added in v0.0.6
func (m *Credential) String() string
func (*Credential) Unmarshal ¶ added in v0.0.6
func (m *Credential) Unmarshal(dAtA []byte) error
func (*Credential) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *Credential) XXX_DiscardUnknown()
func (*Credential) XXX_Marshal ¶ added in v0.0.6
func (m *Credential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Credential) XXX_Merge ¶ added in v0.0.6
func (m *Credential) XXX_Merge(src proto.Message)
func (*Credential) XXX_Size ¶ added in v0.0.6
func (m *Credential) XXX_Size() int
func (*Credential) XXX_Unmarshal ¶ added in v0.0.6
func (m *Credential) XXX_Unmarshal(b []byte) error
type CredentialProof ¶ added in v0.0.6
type CredentialProof struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,3,opt,name=updated,proto3" json:"updated,omitempty"` VerificationMethod string `protobuf:"bytes,4,opt,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` ProofPurpose string `protobuf:"bytes,5,opt,name=proofPurpose,proto3" json:"proofPurpose,omitempty"` ProofValue string `protobuf:"bytes,6,opt,name=proofValue,proto3" json:"proofValue,omitempty"` }
func (*CredentialProof) Descriptor ¶ added in v0.0.6
func (*CredentialProof) Descriptor() ([]byte, []int)
func (*CredentialProof) GetCreated ¶ added in v0.0.6
func (m *CredentialProof) GetCreated() string
func (*CredentialProof) GetProofPurpose ¶ added in v0.0.6
func (m *CredentialProof) GetProofPurpose() string
func (*CredentialProof) GetProofValue ¶ added in v0.0.6
func (m *CredentialProof) GetProofValue() string
func (*CredentialProof) GetType ¶ added in v0.0.6
func (m *CredentialProof) GetType() string
func (*CredentialProof) GetUpdated ¶ added in v0.0.6
func (m *CredentialProof) GetUpdated() string
func (*CredentialProof) GetVerificationMethod ¶ added in v0.0.6
func (m *CredentialProof) GetVerificationMethod() string
func (*CredentialProof) Marshal ¶ added in v0.0.6
func (m *CredentialProof) Marshal() (dAtA []byte, err error)
func (*CredentialProof) MarshalTo ¶ added in v0.0.6
func (m *CredentialProof) MarshalTo(dAtA []byte) (int, error)
func (*CredentialProof) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *CredentialProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialProof) ProtoMessage ¶ added in v0.0.6
func (*CredentialProof) ProtoMessage()
func (*CredentialProof) Reset ¶ added in v0.0.6
func (m *CredentialProof) Reset()
func (*CredentialProof) Size ¶ added in v0.0.6
func (m *CredentialProof) Size() (n int)
func (*CredentialProof) String ¶ added in v0.0.6
func (m *CredentialProof) String() string
func (*CredentialProof) Unmarshal ¶ added in v0.0.6
func (m *CredentialProof) Unmarshal(dAtA []byte) error
func (*CredentialProof) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *CredentialProof) XXX_DiscardUnknown()
func (*CredentialProof) XXX_Marshal ¶ added in v0.0.6
func (m *CredentialProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialProof) XXX_Merge ¶ added in v0.0.6
func (m *CredentialProof) XXX_Merge(src proto.Message)
func (*CredentialProof) XXX_Size ¶ added in v0.0.6
func (m *CredentialProof) XXX_Size() int
func (*CredentialProof) XXX_Unmarshal ¶ added in v0.0.6
func (m *CredentialProof) XXX_Unmarshal(b []byte) error
type CredentialStatus ¶ added in v0.0.6
type CredentialStatus struct { Claim *Claim `protobuf:"bytes,1,opt,name=claim,proto3" json:"claim,omitempty"` Issuer string `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"` IssuanceDate string `protobuf:"bytes,3,opt,name=issuanceDate,proto3" json:"issuanceDate,omitempty"` ExpirationDate string `protobuf:"bytes,4,opt,name=expirationDate,proto3" json:"expirationDate,omitempty"` CredentialHash string `protobuf:"bytes,5,opt,name=credentialHash,proto3" json:"credentialHash,omitempty"` }
func (*CredentialStatus) Descriptor ¶ added in v0.0.6
func (*CredentialStatus) Descriptor() ([]byte, []int)
func (*CredentialStatus) GetClaim ¶ added in v0.0.6
func (m *CredentialStatus) GetClaim() *Claim
func (*CredentialStatus) GetCredentialHash ¶ added in v0.0.6
func (m *CredentialStatus) GetCredentialHash() string
func (*CredentialStatus) GetExpirationDate ¶ added in v0.0.6
func (m *CredentialStatus) GetExpirationDate() string
func (*CredentialStatus) GetIssuanceDate ¶ added in v0.0.6
func (m *CredentialStatus) GetIssuanceDate() string
func (*CredentialStatus) GetIssuer ¶ added in v0.0.6
func (m *CredentialStatus) GetIssuer() string
func (*CredentialStatus) GetSignBytes ¶ added in v0.0.6
func (msg *CredentialStatus) GetSignBytes() []byte
func (*CredentialStatus) Marshal ¶ added in v0.0.6
func (m *CredentialStatus) Marshal() (dAtA []byte, err error)
func (*CredentialStatus) MarshalTo ¶ added in v0.0.6
func (m *CredentialStatus) MarshalTo(dAtA []byte) (int, error)
func (*CredentialStatus) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *CredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CredentialStatus) ProtoMessage ¶ added in v0.0.6
func (*CredentialStatus) ProtoMessage()
func (*CredentialStatus) Reset ¶ added in v0.0.6
func (m *CredentialStatus) Reset()
func (*CredentialStatus) Size ¶ added in v0.0.6
func (m *CredentialStatus) Size() (n int)
func (*CredentialStatus) String ¶ added in v0.0.6
func (m *CredentialStatus) String() string
func (*CredentialStatus) Unmarshal ¶ added in v0.0.6
func (m *CredentialStatus) Unmarshal(dAtA []byte) error
func (*CredentialStatus) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *CredentialStatus) XXX_DiscardUnknown()
func (*CredentialStatus) XXX_Marshal ¶ added in v0.0.6
func (m *CredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CredentialStatus) XXX_Merge ¶ added in v0.0.6
func (m *CredentialStatus) XXX_Merge(src proto.Message)
func (*CredentialStatus) XXX_Size ¶ added in v0.0.6
func (m *CredentialStatus) XXX_Size() int
func (*CredentialStatus) XXX_Unmarshal ¶ added in v0.0.6
func (m *CredentialStatus) XXX_Unmarshal(b []byte) error
type Did ¶
type Did struct { Context []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"` AlsoKnownAs []string `protobuf:"bytes,4,rep,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"` VerificationMethod []*VerificationMethod `protobuf:"bytes,5,rep,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` Authentication []string `protobuf:"bytes,6,rep,name=authentication,proto3" json:"authentication,omitempty"` AssertionMethod []string `protobuf:"bytes,7,rep,name=assertionMethod,proto3" json:"assertionMethod,omitempty"` KeyAgreement []string `protobuf:"bytes,8,rep,name=keyAgreement,proto3" json:"keyAgreement,omitempty"` CapabilityInvocation []string `protobuf:"bytes,9,rep,name=capabilityInvocation,proto3" json:"capabilityInvocation,omitempty"` CapabilityDelegation []string `protobuf:"bytes,10,rep,name=capabilityDelegation,proto3" json:"capabilityDelegation,omitempty"` Service []*Service `protobuf:"bytes,11,rep,name=service,proto3" json:"service,omitempty"` }
func (*Did) Descriptor ¶
func (*Did) GetAlsoKnownAs ¶ added in v0.0.2
func (*Did) GetAssertionMethod ¶
func (*Did) GetAuthentication ¶
func (*Did) GetCapabilityDelegation ¶ added in v0.0.2
func (*Did) GetCapabilityInvocation ¶
func (*Did) GetContext ¶
func (*Did) GetController ¶ added in v0.0.2
func (*Did) GetKeyAgreement ¶
func (*Did) GetService ¶ added in v0.0.2
func (*Did) GetSignBytes ¶ added in v0.0.2
func (*Did) GetVerificationMethod ¶ added in v0.0.2
func (m *Did) GetVerificationMethod() []*VerificationMethod
func (*Did) ProtoMessage ¶
func (*Did) ProtoMessage()
func (*Did) ValidateDidDocument ¶ added in v0.1.7
ValidateDidDocument validates the DID Document
func (*Did) XXX_DiscardUnknown ¶
func (m *Did) XXX_DiscardUnknown()
func (*Did) XXX_Unmarshal ¶
type DidDocumentState ¶ added in v0.1.0
type DidDocumentState struct { DidDocument *Did `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentMetadata *Metadata `protobuf:"bytes,2,opt,name=didDocumentMetadata,proto3" json:"didDocumentMetadata,omitempty"` }
func (*DidDocumentState) Descriptor ¶ added in v0.1.0
func (*DidDocumentState) Descriptor() ([]byte, []int)
func (*DidDocumentState) GetDidDocument ¶ added in v0.1.0
func (m *DidDocumentState) GetDidDocument() *Did
func (*DidDocumentState) GetDidDocumentMetadata ¶ added in v0.1.0
func (m *DidDocumentState) GetDidDocumentMetadata() *Metadata
func (*DidDocumentState) Marshal ¶ added in v0.1.0
func (m *DidDocumentState) Marshal() (dAtA []byte, err error)
func (*DidDocumentState) MarshalTo ¶ added in v0.1.0
func (m *DidDocumentState) MarshalTo(dAtA []byte) (int, error)
func (*DidDocumentState) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *DidDocumentState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocumentState) ProtoMessage ¶ added in v0.1.0
func (*DidDocumentState) ProtoMessage()
func (*DidDocumentState) Reset ¶ added in v0.1.0
func (m *DidDocumentState) Reset()
func (*DidDocumentState) Size ¶ added in v0.1.0
func (m *DidDocumentState) Size() (n int)
func (*DidDocumentState) String ¶ added in v0.1.0
func (m *DidDocumentState) String() string
func (*DidDocumentState) Unmarshal ¶ added in v0.1.0
func (m *DidDocumentState) Unmarshal(dAtA []byte) error
func (*DidDocumentState) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *DidDocumentState) XXX_DiscardUnknown()
func (*DidDocumentState) XXX_Marshal ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocumentState) XXX_Merge ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Merge(src proto.Message)
func (*DidDocumentState) XXX_Size ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Size() int
func (*DidDocumentState) XXX_Unmarshal ¶ added in v0.1.0
func (m *DidDocumentState) XXX_Unmarshal(b []byte) error
type ExtendedVerificationMethod ¶ added in v0.1.7
type ExtendedVerificationMethod struct { Id string Type string Controller string PublicKeyMultibase string BlockchainAccountId string Signature string ClientSpec *ClientSpec }
func CreateExtendedVerificationMethod ¶ added in v0.1.7
func CreateExtendedVerificationMethod(vm *VerificationMethod, signInfo *SignInfo) *ExtendedVerificationMethod
type GenesisState ¶
type GenesisState struct {
ChainNamespace string `protobuf:"bytes,1,opt,name=chain_namespace,json=chainNamespace,proto3" json:"chain_namespace,omitempty"`
}
GenesisState defines the ssi module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default ssi genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetChainNamespace ¶ added in v0.0.7
func (m *GenesisState) GetChainNamespace() string
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) 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 Metadata ¶ added in v0.0.3
type Metadata struct { Created string `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"` Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` VersionId string `protobuf:"bytes,4,opt,name=versionId,proto3" json:"versionId,omitempty"` }
func CreateNewMetadata ¶ added in v0.0.3
func (*Metadata) Descriptor ¶ added in v0.0.3
func (*Metadata) GetCreated ¶ added in v0.0.3
func (*Metadata) GetDeactivated ¶ added in v0.0.3
func (*Metadata) GetUpdated ¶ added in v0.0.3
func (*Metadata) GetVersionId ¶ added in v0.0.3
func (*Metadata) MarshalToSizedBuffer ¶ added in v0.0.3
func (*Metadata) ProtoMessage ¶ added in v0.0.3
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶ added in v0.0.3
func (*Metadata) XXX_Unmarshal ¶ added in v0.0.3
type MsgClient ¶
type MsgClient interface { CreateDID(ctx context.Context, in *MsgCreateDID, opts ...grpc.CallOption) (*MsgCreateDIDResponse, error) UpdateDID(ctx context.Context, in *MsgUpdateDID, opts ...grpc.CallOption) (*MsgUpdateDIDResponse, error) CreateSchema(ctx context.Context, in *MsgCreateSchema, opts ...grpc.CallOption) (*MsgCreateSchemaResponse, error) DeactivateDID(ctx context.Context, in *MsgDeactivateDID, opts ...grpc.CallOption) (*MsgDeactivateDIDResponse, error) RegisterCredentialStatus(ctx context.Context, in *MsgRegisterCredentialStatus, opts ...grpc.CallOption) (*MsgRegisterCredentialStatusResponse, 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 MsgCreateDID ¶
type MsgCreateDID struct { DidDocString *Did `protobuf:"bytes,1,opt,name=didDocString,proto3" json:"didDocString,omitempty"` Signatures []*SignInfo `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` }
func NewMsgCreateDID ¶
func NewMsgCreateDID(did string, didDocString *Did) *MsgCreateDID
func (*MsgCreateDID) Descriptor ¶
func (*MsgCreateDID) Descriptor() ([]byte, []int)
func (*MsgCreateDID) GetCreator ¶
func (m *MsgCreateDID) GetCreator() string
func (*MsgCreateDID) GetDidDocString ¶
func (m *MsgCreateDID) GetDidDocString() *Did
func (*MsgCreateDID) GetSignBytes ¶
func (msg *MsgCreateDID) GetSignBytes() []byte
func (*MsgCreateDID) GetSignatures ¶
func (m *MsgCreateDID) GetSignatures() []*SignInfo
func (*MsgCreateDID) GetSigners ¶
func (msg *MsgCreateDID) GetSigners() []sdk.AccAddress
func (*MsgCreateDID) Marshal ¶
func (m *MsgCreateDID) Marshal() (dAtA []byte, err error)
func (*MsgCreateDID) MarshalToSizedBuffer ¶
func (m *MsgCreateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDID) ProtoMessage ¶
func (*MsgCreateDID) ProtoMessage()
func (*MsgCreateDID) Reset ¶
func (m *MsgCreateDID) Reset()
func (*MsgCreateDID) Route ¶
func (msg *MsgCreateDID) Route() string
func (*MsgCreateDID) Size ¶
func (m *MsgCreateDID) Size() (n int)
func (*MsgCreateDID) String ¶
func (m *MsgCreateDID) String() string
func (*MsgCreateDID) Type ¶
func (msg *MsgCreateDID) Type() string
func (*MsgCreateDID) Unmarshal ¶
func (m *MsgCreateDID) Unmarshal(dAtA []byte) error
func (*MsgCreateDID) ValidateBasic ¶
func (msg *MsgCreateDID) ValidateBasic() error
func (*MsgCreateDID) XXX_DiscardUnknown ¶
func (m *MsgCreateDID) XXX_DiscardUnknown()
func (*MsgCreateDID) XXX_Marshal ¶
func (m *MsgCreateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDID) XXX_Merge ¶
func (m *MsgCreateDID) XXX_Merge(src proto.Message)
func (*MsgCreateDID) XXX_Size ¶
func (m *MsgCreateDID) XXX_Size() int
func (*MsgCreateDID) XXX_Unmarshal ¶
func (m *MsgCreateDID) XXX_Unmarshal(b []byte) error
type MsgCreateDIDResponse ¶
type MsgCreateDIDResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgCreateDIDResponse) Descriptor ¶
func (*MsgCreateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgCreateDIDResponse) GetId ¶
func (m *MsgCreateDIDResponse) GetId() uint64
func (*MsgCreateDIDResponse) Marshal ¶
func (m *MsgCreateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateDIDResponse) MarshalTo ¶
func (m *MsgCreateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDIDResponse) ProtoMessage ¶
func (*MsgCreateDIDResponse) ProtoMessage()
func (*MsgCreateDIDResponse) Reset ¶
func (m *MsgCreateDIDResponse) Reset()
func (*MsgCreateDIDResponse) Size ¶
func (m *MsgCreateDIDResponse) Size() (n int)
func (*MsgCreateDIDResponse) String ¶
func (m *MsgCreateDIDResponse) String() string
func (*MsgCreateDIDResponse) Unmarshal ¶
func (m *MsgCreateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateDIDResponse) XXX_DiscardUnknown()
func (*MsgCreateDIDResponse) XXX_Marshal ¶
func (m *MsgCreateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDIDResponse) XXX_Merge ¶
func (m *MsgCreateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDIDResponse) XXX_Size ¶
func (m *MsgCreateDIDResponse) XXX_Size() int
func (*MsgCreateDIDResponse) XXX_Unmarshal ¶
func (m *MsgCreateDIDResponse) XXX_Unmarshal(b []byte) error
type MsgCreateSchema ¶
type MsgCreateSchema struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` SchemaDoc *SchemaDocument `protobuf:"bytes,2,opt,name=schemaDoc,proto3" json:"schemaDoc,omitempty"` SchemaProof *SchemaProof `protobuf:"bytes,3,opt,name=schemaProof,proto3" json:"schemaProof,omitempty"` ClientSpec *ClientSpec `protobuf:"bytes,4,opt,name=clientSpec,proto3" json:"clientSpec,omitempty"` }
func NewMsgCreateSchema ¶
func NewMsgCreateSchema(creator string, schemaDoc *SchemaDocument, schemaProof *SchemaProof) *MsgCreateSchema
func (*MsgCreateSchema) Descriptor ¶
func (*MsgCreateSchema) Descriptor() ([]byte, []int)
func (*MsgCreateSchema) GetClientSpec ¶ added in v0.1.5
func (m *MsgCreateSchema) GetClientSpec() *ClientSpec
func (*MsgCreateSchema) GetCreator ¶
func (m *MsgCreateSchema) GetCreator() string
func (*MsgCreateSchema) GetSchemaDoc ¶ added in v0.0.6
func (m *MsgCreateSchema) GetSchemaDoc() *SchemaDocument
func (*MsgCreateSchema) GetSchemaProof ¶ added in v0.0.6
func (m *MsgCreateSchema) GetSchemaProof() *SchemaProof
func (*MsgCreateSchema) GetSignBytes ¶
func (msg *MsgCreateSchema) GetSignBytes() []byte
func (*MsgCreateSchema) GetSigners ¶
func (msg *MsgCreateSchema) GetSigners() []sdk.AccAddress
func (*MsgCreateSchema) Marshal ¶
func (m *MsgCreateSchema) Marshal() (dAtA []byte, err error)
func (*MsgCreateSchema) MarshalToSizedBuffer ¶
func (m *MsgCreateSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSchema) ProtoMessage ¶
func (*MsgCreateSchema) ProtoMessage()
func (*MsgCreateSchema) Reset ¶
func (m *MsgCreateSchema) Reset()
func (*MsgCreateSchema) Route ¶
func (msg *MsgCreateSchema) Route() string
func (*MsgCreateSchema) Size ¶
func (m *MsgCreateSchema) Size() (n int)
func (*MsgCreateSchema) String ¶
func (m *MsgCreateSchema) String() string
func (*MsgCreateSchema) Type ¶
func (msg *MsgCreateSchema) Type() string
func (*MsgCreateSchema) Unmarshal ¶
func (m *MsgCreateSchema) Unmarshal(dAtA []byte) error
func (*MsgCreateSchema) ValidateBasic ¶
func (msg *MsgCreateSchema) ValidateBasic() error
func (*MsgCreateSchema) XXX_DiscardUnknown ¶
func (m *MsgCreateSchema) XXX_DiscardUnknown()
func (*MsgCreateSchema) XXX_Marshal ¶
func (m *MsgCreateSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSchema) XXX_Merge ¶
func (m *MsgCreateSchema) XXX_Merge(src proto.Message)
func (*MsgCreateSchema) XXX_Size ¶
func (m *MsgCreateSchema) XXX_Size() int
func (*MsgCreateSchema) XXX_Unmarshal ¶
func (m *MsgCreateSchema) XXX_Unmarshal(b []byte) error
type MsgCreateSchemaResponse ¶
type MsgCreateSchemaResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgCreateSchemaResponse) Descriptor ¶
func (*MsgCreateSchemaResponse) Descriptor() ([]byte, []int)
func (*MsgCreateSchemaResponse) GetId ¶
func (m *MsgCreateSchemaResponse) GetId() uint64
func (*MsgCreateSchemaResponse) Marshal ¶
func (m *MsgCreateSchemaResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateSchemaResponse) MarshalTo ¶
func (m *MsgCreateSchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateSchemaResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSchemaResponse) ProtoMessage ¶
func (*MsgCreateSchemaResponse) ProtoMessage()
func (*MsgCreateSchemaResponse) Reset ¶
func (m *MsgCreateSchemaResponse) Reset()
func (*MsgCreateSchemaResponse) Size ¶
func (m *MsgCreateSchemaResponse) Size() (n int)
func (*MsgCreateSchemaResponse) String ¶
func (m *MsgCreateSchemaResponse) String() string
func (*MsgCreateSchemaResponse) Unmarshal ¶
func (m *MsgCreateSchemaResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateSchemaResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateSchemaResponse) XXX_DiscardUnknown()
func (*MsgCreateSchemaResponse) XXX_Marshal ¶
func (m *MsgCreateSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSchemaResponse) XXX_Merge ¶
func (m *MsgCreateSchemaResponse) XXX_Merge(src proto.Message)
func (*MsgCreateSchemaResponse) XXX_Size ¶
func (m *MsgCreateSchemaResponse) XXX_Size() int
func (*MsgCreateSchemaResponse) XXX_Unmarshal ¶
func (m *MsgCreateSchemaResponse) XXX_Unmarshal(b []byte) error
type MsgDeactivateDID ¶ added in v0.0.3
type MsgDeactivateDID struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` DidId string `protobuf:"bytes,2,opt,name=didId,proto3" json:"didId,omitempty"` VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` Signatures []*SignInfo `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func NewMsgDeactivateDID ¶ added in v0.0.3
func NewMsgDeactivateDID(creator string, didId string, versionId string, signatures []*SignInfo) *MsgDeactivateDID
func (*MsgDeactivateDID) Descriptor ¶ added in v0.0.3
func (*MsgDeactivateDID) Descriptor() ([]byte, []int)
func (*MsgDeactivateDID) GetCreator ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetCreator() string
func (*MsgDeactivateDID) GetDidId ¶ added in v0.0.6
func (m *MsgDeactivateDID) GetDidId() string
func (*MsgDeactivateDID) GetSignBytes ¶ added in v0.0.3
func (msg *MsgDeactivateDID) GetSignBytes() []byte
func (*MsgDeactivateDID) GetSignatures ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetSignatures() []*SignInfo
func (*MsgDeactivateDID) GetSigners ¶ added in v0.0.3
func (msg *MsgDeactivateDID) GetSigners() []sdk.AccAddress
func (*MsgDeactivateDID) GetVersionId ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetVersionId() string
func (*MsgDeactivateDID) Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDID) MarshalTo ¶ added in v0.0.3
func (m *MsgDeactivateDID) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDID) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDeactivateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDID) ProtoMessage ¶ added in v0.0.3
func (*MsgDeactivateDID) ProtoMessage()
func (*MsgDeactivateDID) Reset ¶ added in v0.0.3
func (m *MsgDeactivateDID) Reset()
func (*MsgDeactivateDID) Route ¶ added in v0.0.3
func (msg *MsgDeactivateDID) Route() string
func (*MsgDeactivateDID) Size ¶ added in v0.0.3
func (m *MsgDeactivateDID) Size() (n int)
func (*MsgDeactivateDID) String ¶ added in v0.0.3
func (m *MsgDeactivateDID) String() string
func (*MsgDeactivateDID) Type ¶ added in v0.0.3
func (msg *MsgDeactivateDID) Type() string
func (*MsgDeactivateDID) Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDID) ValidateBasic ¶ added in v0.0.3
func (msg *MsgDeactivateDID) ValidateBasic() error
func (*MsgDeactivateDID) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_DiscardUnknown()
func (*MsgDeactivateDID) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDID) XXX_Merge ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Merge(src proto.Message)
func (*MsgDeactivateDID) XXX_Size ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Size() int
func (*MsgDeactivateDID) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Unmarshal(b []byte) error
type MsgDeactivateDIDResponse ¶ added in v0.0.3
type MsgDeactivateDIDResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgDeactivateDIDResponse) Descriptor ¶ added in v0.0.3
func (*MsgDeactivateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateDIDResponse) GetId ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) GetId() uint64
func (*MsgDeactivateDIDResponse) Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDIDResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDIDResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDIDResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgDeactivateDIDResponse) ProtoMessage()
func (*MsgDeactivateDIDResponse) Reset ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Reset()
func (*MsgDeactivateDIDResponse) Size ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Size() (n int)
func (*MsgDeactivateDIDResponse) String ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) String() string
func (*MsgDeactivateDIDResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDIDResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_DiscardUnknown()
func (*MsgDeactivateDIDResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDIDResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateDIDResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Size() int
func (*MsgDeactivateDIDResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterCredentialStatus ¶ added in v0.0.6
type MsgRegisterCredentialStatus struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` CredentialStatus *CredentialStatus `protobuf:"bytes,2,opt,name=credentialStatus,proto3" json:"credentialStatus,omitempty"` Proof *CredentialProof `protobuf:"bytes,3,opt,name=proof,proto3" json:"proof,omitempty"` ClientSpec *ClientSpec `protobuf:"bytes,4,opt,name=clientSpec,proto3" json:"clientSpec,omitempty"` }
func NewMsgRegisterCredentialStatus ¶ added in v0.0.6
func NewMsgRegisterCredentialStatus(creator string, credentialStatus *CredentialStatus) *MsgRegisterCredentialStatus
func (*MsgRegisterCredentialStatus) Descriptor ¶ added in v0.0.6
func (*MsgRegisterCredentialStatus) Descriptor() ([]byte, []int)
func (*MsgRegisterCredentialStatus) GetClientSpec ¶ added in v0.1.5
func (m *MsgRegisterCredentialStatus) GetClientSpec() *ClientSpec
func (*MsgRegisterCredentialStatus) GetCreator ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) GetCreator() string
func (*MsgRegisterCredentialStatus) GetCredentialStatus ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) GetCredentialStatus() *CredentialStatus
func (*MsgRegisterCredentialStatus) GetProof ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) GetProof() *CredentialProof
func (*MsgRegisterCredentialStatus) GetSignBytes ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) GetSignBytes() []byte
func (*MsgRegisterCredentialStatus) GetSigners ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) GetSigners() []sdk.AccAddress
func (*MsgRegisterCredentialStatus) Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Marshal() (dAtA []byte, err error)
func (*MsgRegisterCredentialStatus) MarshalTo ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatus) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatus) ProtoMessage ¶ added in v0.0.6
func (*MsgRegisterCredentialStatus) ProtoMessage()
func (*MsgRegisterCredentialStatus) Reset ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Reset()
func (*MsgRegisterCredentialStatus) Route ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) Route() string
func (*MsgRegisterCredentialStatus) Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Size() (n int)
func (*MsgRegisterCredentialStatus) String ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) String() string
func (*MsgRegisterCredentialStatus) Type ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) Type() string
func (*MsgRegisterCredentialStatus) Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) Unmarshal(dAtA []byte) error
func (*MsgRegisterCredentialStatus) ValidateBasic ¶ added in v0.0.6
func (msg *MsgRegisterCredentialStatus) ValidateBasic() error
func (*MsgRegisterCredentialStatus) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_DiscardUnknown()
func (*MsgRegisterCredentialStatus) XXX_Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterCredentialStatus) XXX_Merge ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Merge(src proto.Message)
func (*MsgRegisterCredentialStatus) XXX_Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Size() int
func (*MsgRegisterCredentialStatus) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatus) XXX_Unmarshal(b []byte) error
type MsgRegisterCredentialStatusResponse ¶ added in v0.0.6
type MsgRegisterCredentialStatusResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgRegisterCredentialStatusResponse) Descriptor ¶ added in v0.0.6
func (*MsgRegisterCredentialStatusResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterCredentialStatusResponse) GetId ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) GetId() uint64
func (*MsgRegisterCredentialStatusResponse) Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterCredentialStatusResponse) MarshalTo ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatusResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterCredentialStatusResponse) ProtoMessage ¶ added in v0.0.6
func (*MsgRegisterCredentialStatusResponse) ProtoMessage()
func (*MsgRegisterCredentialStatusResponse) Reset ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Reset()
func (*MsgRegisterCredentialStatusResponse) Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Size() (n int)
func (*MsgRegisterCredentialStatusResponse) String ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) String() string
func (*MsgRegisterCredentialStatusResponse) Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterCredentialStatusResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_DiscardUnknown()
func (*MsgRegisterCredentialStatusResponse) XXX_Marshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterCredentialStatusResponse) XXX_Merge ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterCredentialStatusResponse) XXX_Size ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Size() int
func (*MsgRegisterCredentialStatusResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *MsgRegisterCredentialStatusResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateDID(context.Context, *MsgCreateDID) (*MsgCreateDIDResponse, error) UpdateDID(context.Context, *MsgUpdateDID) (*MsgUpdateDIDResponse, error) CreateSchema(context.Context, *MsgCreateSchema) (*MsgCreateSchemaResponse, error) DeactivateDID(context.Context, *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error) RegisterCredentialStatus(context.Context, *MsgRegisterCredentialStatus) (*MsgRegisterCredentialStatusResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateDID ¶
type MsgUpdateDID struct { DidDocString *Did `protobuf:"bytes,1,opt,name=didDocString,proto3" json:"didDocString,omitempty"` VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` Signatures []*SignInfo `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` }
func NewMsgUpdateDID ¶
func NewMsgUpdateDID(creator string, didDocString *Did, signatures []*SignInfo) *MsgUpdateDID
func (*MsgUpdateDID) Descriptor ¶
func (*MsgUpdateDID) Descriptor() ([]byte, []int)
func (*MsgUpdateDID) GetCreator ¶
func (m *MsgUpdateDID) GetCreator() string
func (*MsgUpdateDID) GetDidDocString ¶
func (m *MsgUpdateDID) GetDidDocString() *Did
func (*MsgUpdateDID) GetSignBytes ¶
func (msg *MsgUpdateDID) GetSignBytes() []byte
func (*MsgUpdateDID) GetSignatures ¶
func (m *MsgUpdateDID) GetSignatures() []*SignInfo
func (*MsgUpdateDID) GetSigners ¶
func (msg *MsgUpdateDID) GetSigners() []sdk.AccAddress
func (*MsgUpdateDID) GetVersionId ¶ added in v0.0.3
func (m *MsgUpdateDID) GetVersionId() string
func (*MsgUpdateDID) Marshal ¶
func (m *MsgUpdateDID) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDID) MarshalToSizedBuffer ¶
func (m *MsgUpdateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDID) ProtoMessage ¶
func (*MsgUpdateDID) ProtoMessage()
func (*MsgUpdateDID) Reset ¶
func (m *MsgUpdateDID) Reset()
func (*MsgUpdateDID) Route ¶
func (msg *MsgUpdateDID) Route() string
func (*MsgUpdateDID) Size ¶
func (m *MsgUpdateDID) Size() (n int)
func (*MsgUpdateDID) String ¶
func (m *MsgUpdateDID) String() string
func (*MsgUpdateDID) Type ¶
func (msg *MsgUpdateDID) Type() string
func (*MsgUpdateDID) Unmarshal ¶
func (m *MsgUpdateDID) Unmarshal(dAtA []byte) error
func (*MsgUpdateDID) ValidateBasic ¶
func (msg *MsgUpdateDID) ValidateBasic() error
func (*MsgUpdateDID) XXX_DiscardUnknown ¶
func (m *MsgUpdateDID) XXX_DiscardUnknown()
func (*MsgUpdateDID) XXX_Marshal ¶
func (m *MsgUpdateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDID) XXX_Merge ¶
func (m *MsgUpdateDID) XXX_Merge(src proto.Message)
func (*MsgUpdateDID) XXX_Size ¶
func (m *MsgUpdateDID) XXX_Size() int
func (*MsgUpdateDID) XXX_Unmarshal ¶
func (m *MsgUpdateDID) XXX_Unmarshal(b []byte) error
type MsgUpdateDIDResponse ¶
type MsgUpdateDIDResponse struct {
UpdateId string `protobuf:"bytes,1,opt,name=updateId,proto3" json:"updateId,omitempty"`
}
func (*MsgUpdateDIDResponse) Descriptor ¶
func (*MsgUpdateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDIDResponse) GetUpdateId ¶
func (m *MsgUpdateDIDResponse) GetUpdateId() string
func (*MsgUpdateDIDResponse) Marshal ¶
func (m *MsgUpdateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDIDResponse) MarshalTo ¶
func (m *MsgUpdateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDIDResponse) ProtoMessage ¶
func (*MsgUpdateDIDResponse) ProtoMessage()
func (*MsgUpdateDIDResponse) Reset ¶
func (m *MsgUpdateDIDResponse) Reset()
func (*MsgUpdateDIDResponse) Size ¶
func (m *MsgUpdateDIDResponse) Size() (n int)
func (*MsgUpdateDIDResponse) String ¶
func (m *MsgUpdateDIDResponse) String() string
func (*MsgUpdateDIDResponse) Unmarshal ¶
func (m *MsgUpdateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDIDResponse) XXX_DiscardUnknown()
func (*MsgUpdateDIDResponse) XXX_Marshal ¶
func (m *MsgUpdateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDIDResponse) XXX_Merge ¶
func (m *MsgUpdateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDIDResponse) XXX_Size ¶
func (m *MsgUpdateDIDResponse) XXX_Size() int
func (*MsgUpdateDIDResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDIDResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Get the Schema Document for a specified schema id QuerySchema(ctx context.Context, in *QuerySchemaRequest, opts ...grpc.CallOption) (*QuerySchemaResponse, error) // Get the count and list of registered Schemas QuerySchemas(ctx context.Context, in *QuerySchemasRequest, opts ...grpc.CallOption) (*QuerySchemasResponse, error) // Get the Did Document for a specified DID id QueryDidDocument(ctx context.Context, in *QueryDidDocumentRequest, opts ...grpc.CallOption) (*QueryDidDocumentResponse, error) // Get the count and list of registered Did Documents QueryDidDocuments(ctx context.Context, in *QueryDidDocumentsRequest, opts ...grpc.CallOption) (*QueryDidDocumentsResponse, error) // Get the Credential Status for a given credential id QueryCredential(ctx context.Context, in *QueryCredentialRequest, opts ...grpc.CallOption) (*QueryCredentialResponse, error) // Get all the registed Credential Statuses QueryCredentials(ctx context.Context, in *QueryCredentialsRequest, opts ...grpc.CallOption) (*QueryCredentialsResponse, 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 QueryCredentialRequest ¶ added in v0.0.6
type QueryCredentialRequest struct {
CredId string `protobuf:"bytes,1,opt,name=credId,proto3" json:"credId,omitempty"`
}
func (*QueryCredentialRequest) Descriptor ¶ added in v0.0.6
func (*QueryCredentialRequest) Descriptor() ([]byte, []int)
func (*QueryCredentialRequest) GetCredId ¶ added in v0.0.6
func (m *QueryCredentialRequest) GetCredId() string
func (*QueryCredentialRequest) Marshal ¶ added in v0.0.6
func (m *QueryCredentialRequest) Marshal() (dAtA []byte, err error)
func (*QueryCredentialRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryCredentialRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryCredentialRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryCredentialRequest) ProtoMessage()
func (*QueryCredentialRequest) Reset ¶ added in v0.0.6
func (m *QueryCredentialRequest) Reset()
func (*QueryCredentialRequest) Size ¶ added in v0.0.6
func (m *QueryCredentialRequest) Size() (n int)
func (*QueryCredentialRequest) String ¶ added in v0.0.6
func (m *QueryCredentialRequest) String() string
func (*QueryCredentialRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialRequest) Unmarshal(dAtA []byte) error
func (*QueryCredentialRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryCredentialRequest) XXX_DiscardUnknown()
func (*QueryCredentialRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryCredentialRequest) XXX_Merge(src proto.Message)
func (*QueryCredentialRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryCredentialRequest) XXX_Size() int
func (*QueryCredentialRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialRequest) XXX_Unmarshal(b []byte) error
type QueryCredentialResponse ¶ added in v0.0.6
type QueryCredentialResponse struct {
CredStatus *Credential `protobuf:"bytes,1,opt,name=credStatus,proto3" json:"credStatus,omitempty"`
}
func (*QueryCredentialResponse) Descriptor ¶ added in v0.0.6
func (*QueryCredentialResponse) Descriptor() ([]byte, []int)
func (*QueryCredentialResponse) GetCredStatus ¶ added in v0.0.6
func (m *QueryCredentialResponse) GetCredStatus() *Credential
func (*QueryCredentialResponse) Marshal ¶ added in v0.0.6
func (m *QueryCredentialResponse) Marshal() (dAtA []byte, err error)
func (*QueryCredentialResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryCredentialResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryCredentialResponse) ProtoMessage()
func (*QueryCredentialResponse) Reset ¶ added in v0.0.6
func (m *QueryCredentialResponse) Reset()
func (*QueryCredentialResponse) Size ¶ added in v0.0.6
func (m *QueryCredentialResponse) Size() (n int)
func (*QueryCredentialResponse) String ¶ added in v0.0.6
func (m *QueryCredentialResponse) String() string
func (*QueryCredentialResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialResponse) Unmarshal(dAtA []byte) error
func (*QueryCredentialResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryCredentialResponse) XXX_DiscardUnknown()
func (*QueryCredentialResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryCredentialResponse) XXX_Merge(src proto.Message)
func (*QueryCredentialResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryCredentialResponse) XXX_Size() int
func (*QueryCredentialResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialResponse) XXX_Unmarshal(b []byte) error
type QueryCredentialsRequest ¶ added in v0.0.6
type QueryCredentialsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryCredentialsRequest) Descriptor ¶ added in v0.0.6
func (*QueryCredentialsRequest) Descriptor() ([]byte, []int)
func (*QueryCredentialsRequest) GetPagination ¶ added in v0.0.6
func (m *QueryCredentialsRequest) GetPagination() *query.PageRequest
func (*QueryCredentialsRequest) Marshal ¶ added in v0.0.6
func (m *QueryCredentialsRequest) Marshal() (dAtA []byte, err error)
func (*QueryCredentialsRequest) MarshalTo ¶ added in v0.0.6
func (m *QueryCredentialsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialsRequest) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryCredentialsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialsRequest) ProtoMessage ¶ added in v0.0.6
func (*QueryCredentialsRequest) ProtoMessage()
func (*QueryCredentialsRequest) Reset ¶ added in v0.0.6
func (m *QueryCredentialsRequest) Reset()
func (*QueryCredentialsRequest) Size ¶ added in v0.0.6
func (m *QueryCredentialsRequest) Size() (n int)
func (*QueryCredentialsRequest) String ¶ added in v0.0.6
func (m *QueryCredentialsRequest) String() string
func (*QueryCredentialsRequest) Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialsRequest) Unmarshal(dAtA []byte) error
func (*QueryCredentialsRequest) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryCredentialsRequest) XXX_DiscardUnknown()
func (*QueryCredentialsRequest) XXX_Marshal ¶ added in v0.0.6
func (m *QueryCredentialsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialsRequest) XXX_Merge ¶ added in v0.0.6
func (m *QueryCredentialsRequest) XXX_Merge(src proto.Message)
func (*QueryCredentialsRequest) XXX_Size ¶ added in v0.0.6
func (m *QueryCredentialsRequest) XXX_Size() int
func (*QueryCredentialsRequest) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialsRequest) XXX_Unmarshal(b []byte) error
type QueryCredentialsResponse ¶ added in v0.0.6
type QueryCredentialsResponse struct { TotalCount uint64 `protobuf:"varint,1,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Credentials []*Credential `protobuf:"bytes,2,rep,name=credentials,proto3" json:"credentials,omitempty"` }
func (*QueryCredentialsResponse) Descriptor ¶ added in v0.0.6
func (*QueryCredentialsResponse) Descriptor() ([]byte, []int)
func (*QueryCredentialsResponse) GetCredentials ¶ added in v0.0.6
func (m *QueryCredentialsResponse) GetCredentials() []*Credential
func (*QueryCredentialsResponse) GetTotalCount ¶ added in v0.0.6
func (m *QueryCredentialsResponse) GetTotalCount() uint64
func (*QueryCredentialsResponse) Marshal ¶ added in v0.0.6
func (m *QueryCredentialsResponse) Marshal() (dAtA []byte, err error)
func (*QueryCredentialsResponse) MarshalTo ¶ added in v0.0.6
func (m *QueryCredentialsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCredentialsResponse) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *QueryCredentialsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCredentialsResponse) ProtoMessage ¶ added in v0.0.6
func (*QueryCredentialsResponse) ProtoMessage()
func (*QueryCredentialsResponse) Reset ¶ added in v0.0.6
func (m *QueryCredentialsResponse) Reset()
func (*QueryCredentialsResponse) Size ¶ added in v0.0.6
func (m *QueryCredentialsResponse) Size() (n int)
func (*QueryCredentialsResponse) String ¶ added in v0.0.6
func (m *QueryCredentialsResponse) String() string
func (*QueryCredentialsResponse) Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialsResponse) Unmarshal(dAtA []byte) error
func (*QueryCredentialsResponse) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *QueryCredentialsResponse) XXX_DiscardUnknown()
func (*QueryCredentialsResponse) XXX_Marshal ¶ added in v0.0.6
func (m *QueryCredentialsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCredentialsResponse) XXX_Merge ¶ added in v0.0.6
func (m *QueryCredentialsResponse) XXX_Merge(src proto.Message)
func (*QueryCredentialsResponse) XXX_Size ¶ added in v0.0.6
func (m *QueryCredentialsResponse) XXX_Size() int
func (*QueryCredentialsResponse) XXX_Unmarshal ¶ added in v0.0.6
func (m *QueryCredentialsResponse) XXX_Unmarshal(b []byte) error
type QueryDidDocumentRequest ¶ added in v0.1.0
type QueryDidDocumentRequest struct {
DidId string `protobuf:"bytes,1,opt,name=didId,proto3" json:"didId,omitempty"`
}
func (*QueryDidDocumentRequest) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentRequest) Descriptor() ([]byte, []int)
func (*QueryDidDocumentRequest) GetDidId ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) GetDidId() string
func (*QueryDidDocumentRequest) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentRequest) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentRequest) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentRequest) ProtoMessage()
func (*QueryDidDocumentRequest) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Reset()
func (*QueryDidDocumentRequest) Size ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Size() (n int)
func (*QueryDidDocumentRequest) String ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) String() string
func (*QueryDidDocumentRequest) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_DiscardUnknown()
func (*QueryDidDocumentRequest) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentRequest) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Merge(src proto.Message)
func (*QueryDidDocumentRequest) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Size() int
func (*QueryDidDocumentRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentRequest) XXX_Unmarshal(b []byte) error
type QueryDidDocumentResponse ¶ added in v0.1.0
type QueryDidDocumentResponse struct { DidDocument *Did `protobuf:"bytes,1,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentMetadata *Metadata `protobuf:"bytes,2,opt,name=didDocumentMetadata,proto3" json:"didDocumentMetadata,omitempty"` }
func (*QueryDidDocumentResponse) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentResponse) Descriptor() ([]byte, []int)
func (*QueryDidDocumentResponse) GetDidDocument ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) GetDidDocument() *Did
func (*QueryDidDocumentResponse) GetDidDocumentMetadata ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) GetDidDocumentMetadata() *Metadata
func (*QueryDidDocumentResponse) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentResponse) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentResponse) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentResponse) ProtoMessage()
func (*QueryDidDocumentResponse) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Reset()
func (*QueryDidDocumentResponse) Size ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Size() (n int)
func (*QueryDidDocumentResponse) String ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) String() string
func (*QueryDidDocumentResponse) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_DiscardUnknown()
func (*QueryDidDocumentResponse) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentResponse) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Merge(src proto.Message)
func (*QueryDidDocumentResponse) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Size() int
func (*QueryDidDocumentResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentResponse) XXX_Unmarshal(b []byte) error
type QueryDidDocumentsRequest ¶ added in v0.1.0
type QueryDidDocumentsRequest struct { Count bool `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDidDocumentsRequest) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentsRequest) Descriptor() ([]byte, []int)
func (*QueryDidDocumentsRequest) GetCount ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) GetCount() bool
func (*QueryDidDocumentsRequest) GetPagination ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) GetPagination() *query.PageRequest
func (*QueryDidDocumentsRequest) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentsRequest) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentsRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentsRequest) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentsRequest) ProtoMessage()
func (*QueryDidDocumentsRequest) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Reset()
func (*QueryDidDocumentsRequest) Size ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Size() (n int)
func (*QueryDidDocumentsRequest) String ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) String() string
func (*QueryDidDocumentsRequest) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentsRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_DiscardUnknown()
func (*QueryDidDocumentsRequest) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentsRequest) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Merge(src proto.Message)
func (*QueryDidDocumentsRequest) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Size() int
func (*QueryDidDocumentsRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsRequest) XXX_Unmarshal(b []byte) error
type QueryDidDocumentsResponse ¶ added in v0.1.0
type QueryDidDocumentsResponse struct { TotalDidCount uint64 `protobuf:"varint,1,opt,name=totalDidCount,proto3" json:"totalDidCount,omitempty"` DidDocList []*QueryDidDocumentResponse `protobuf:"bytes,2,rep,name=didDocList,proto3" json:"didDocList,omitempty"` }
func (*QueryDidDocumentsResponse) Descriptor ¶ added in v0.1.0
func (*QueryDidDocumentsResponse) Descriptor() ([]byte, []int)
func (*QueryDidDocumentsResponse) GetDidDocList ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) GetDidDocList() []*QueryDidDocumentResponse
func (*QueryDidDocumentsResponse) GetTotalDidCount ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) GetTotalDidCount() uint64
func (*QueryDidDocumentsResponse) Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Marshal() (dAtA []byte, err error)
func (*QueryDidDocumentsResponse) MarshalTo ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocumentsResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocumentsResponse) ProtoMessage ¶ added in v0.1.0
func (*QueryDidDocumentsResponse) ProtoMessage()
func (*QueryDidDocumentsResponse) Reset ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Reset()
func (*QueryDidDocumentsResponse) Size ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Size() (n int)
func (*QueryDidDocumentsResponse) String ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) String() string
func (*QueryDidDocumentsResponse) Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) Unmarshal(dAtA []byte) error
func (*QueryDidDocumentsResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_DiscardUnknown()
func (*QueryDidDocumentsResponse) XXX_Marshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocumentsResponse) XXX_Merge ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Merge(src proto.Message)
func (*QueryDidDocumentsResponse) XXX_Size ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Size() int
func (*QueryDidDocumentsResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *QueryDidDocumentsResponse) XXX_Unmarshal(b []byte) error
type QuerySchemaRequest ¶ added in v0.1.0
type QuerySchemaRequest struct {
SchemaId string `protobuf:"bytes,1,opt,name=schemaId,proto3" json:"schemaId,omitempty"`
}
func (*QuerySchemaRequest) Descriptor ¶ added in v0.1.0
func (*QuerySchemaRequest) Descriptor() ([]byte, []int)
func (*QuerySchemaRequest) GetSchemaId ¶ added in v0.1.0
func (m *QuerySchemaRequest) GetSchemaId() string
func (*QuerySchemaRequest) Marshal ¶ added in v0.1.0
func (m *QuerySchemaRequest) Marshal() (dAtA []byte, err error)
func (*QuerySchemaRequest) MarshalTo ¶ added in v0.1.0
func (m *QuerySchemaRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemaRequest) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QuerySchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemaRequest) ProtoMessage ¶ added in v0.1.0
func (*QuerySchemaRequest) ProtoMessage()
func (*QuerySchemaRequest) Reset ¶ added in v0.1.0
func (m *QuerySchemaRequest) Reset()
func (*QuerySchemaRequest) Size ¶ added in v0.1.0
func (m *QuerySchemaRequest) Size() (n int)
func (*QuerySchemaRequest) String ¶ added in v0.1.0
func (m *QuerySchemaRequest) String() string
func (*QuerySchemaRequest) Unmarshal ¶ added in v0.1.0
func (m *QuerySchemaRequest) Unmarshal(dAtA []byte) error
func (*QuerySchemaRequest) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QuerySchemaRequest) XXX_DiscardUnknown()
func (*QuerySchemaRequest) XXX_Marshal ¶ added in v0.1.0
func (m *QuerySchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemaRequest) XXX_Merge ¶ added in v0.1.0
func (m *QuerySchemaRequest) XXX_Merge(src proto.Message)
func (*QuerySchemaRequest) XXX_Size ¶ added in v0.1.0
func (m *QuerySchemaRequest) XXX_Size() int
func (*QuerySchemaRequest) XXX_Unmarshal ¶ added in v0.1.0
func (m *QuerySchemaRequest) XXX_Unmarshal(b []byte) error
type QuerySchemaResponse ¶ added in v0.1.0
type QuerySchemaResponse struct {
Schema []*Schema `protobuf:"bytes,1,rep,name=schema,proto3" json:"schema,omitempty"`
}
func (*QuerySchemaResponse) Descriptor ¶ added in v0.1.0
func (*QuerySchemaResponse) Descriptor() ([]byte, []int)
func (*QuerySchemaResponse) GetSchema ¶ added in v0.1.0
func (m *QuerySchemaResponse) GetSchema() []*Schema
func (*QuerySchemaResponse) Marshal ¶ added in v0.1.0
func (m *QuerySchemaResponse) Marshal() (dAtA []byte, err error)
func (*QuerySchemaResponse) MarshalTo ¶ added in v0.1.0
func (m *QuerySchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemaResponse) MarshalToSizedBuffer ¶ added in v0.1.0
func (m *QuerySchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemaResponse) ProtoMessage ¶ added in v0.1.0
func (*QuerySchemaResponse) ProtoMessage()
func (*QuerySchemaResponse) Reset ¶ added in v0.1.0
func (m *QuerySchemaResponse) Reset()
func (*QuerySchemaResponse) Size ¶ added in v0.1.0
func (m *QuerySchemaResponse) Size() (n int)
func (*QuerySchemaResponse) String ¶ added in v0.1.0
func (m *QuerySchemaResponse) String() string
func (*QuerySchemaResponse) Unmarshal ¶ added in v0.1.0
func (m *QuerySchemaResponse) Unmarshal(dAtA []byte) error
func (*QuerySchemaResponse) XXX_DiscardUnknown ¶ added in v0.1.0
func (m *QuerySchemaResponse) XXX_DiscardUnknown()
func (*QuerySchemaResponse) XXX_Marshal ¶ added in v0.1.0
func (m *QuerySchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemaResponse) XXX_Merge ¶ added in v0.1.0
func (m *QuerySchemaResponse) XXX_Merge(src proto.Message)
func (*QuerySchemaResponse) XXX_Size ¶ added in v0.1.0
func (m *QuerySchemaResponse) XXX_Size() int
func (*QuerySchemaResponse) XXX_Unmarshal ¶ added in v0.1.0
func (m *QuerySchemaResponse) XXX_Unmarshal(b []byte) error
type QuerySchemasRequest ¶
type QuerySchemasRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QuerySchemasRequest) Descriptor ¶
func (*QuerySchemasRequest) Descriptor() ([]byte, []int)
func (*QuerySchemasRequest) GetPagination ¶
func (m *QuerySchemasRequest) GetPagination() *query.PageRequest
func (*QuerySchemasRequest) Marshal ¶
func (m *QuerySchemasRequest) Marshal() (dAtA []byte, err error)
func (*QuerySchemasRequest) MarshalTo ¶
func (m *QuerySchemasRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemasRequest) MarshalToSizedBuffer ¶
func (m *QuerySchemasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemasRequest) ProtoMessage ¶
func (*QuerySchemasRequest) ProtoMessage()
func (*QuerySchemasRequest) Reset ¶
func (m *QuerySchemasRequest) Reset()
func (*QuerySchemasRequest) Size ¶
func (m *QuerySchemasRequest) Size() (n int)
func (*QuerySchemasRequest) String ¶
func (m *QuerySchemasRequest) String() string
func (*QuerySchemasRequest) Unmarshal ¶
func (m *QuerySchemasRequest) Unmarshal(dAtA []byte) error
func (*QuerySchemasRequest) XXX_DiscardUnknown ¶
func (m *QuerySchemasRequest) XXX_DiscardUnknown()
func (*QuerySchemasRequest) XXX_Marshal ¶
func (m *QuerySchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemasRequest) XXX_Merge ¶
func (m *QuerySchemasRequest) XXX_Merge(src proto.Message)
func (*QuerySchemasRequest) XXX_Size ¶
func (m *QuerySchemasRequest) XXX_Size() int
func (*QuerySchemasRequest) XXX_Unmarshal ¶
func (m *QuerySchemasRequest) XXX_Unmarshal(b []byte) error
type QuerySchemasResponse ¶
type QuerySchemasResponse struct { TotalCount uint64 `protobuf:"varint,1,opt,name=totalCount,proto3" json:"totalCount,omitempty"` SchemaList []*Schema `protobuf:"bytes,2,rep,name=schemaList,proto3" json:"schemaList,omitempty"` }
func (*QuerySchemasResponse) Descriptor ¶
func (*QuerySchemasResponse) Descriptor() ([]byte, []int)
func (*QuerySchemasResponse) GetSchemaList ¶
func (m *QuerySchemasResponse) GetSchemaList() []*Schema
func (*QuerySchemasResponse) GetTotalCount ¶ added in v0.1.0
func (m *QuerySchemasResponse) GetTotalCount() uint64
func (*QuerySchemasResponse) Marshal ¶
func (m *QuerySchemasResponse) Marshal() (dAtA []byte, err error)
func (*QuerySchemasResponse) MarshalTo ¶
func (m *QuerySchemasResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemasResponse) MarshalToSizedBuffer ¶
func (m *QuerySchemasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemasResponse) ProtoMessage ¶
func (*QuerySchemasResponse) ProtoMessage()
func (*QuerySchemasResponse) Reset ¶
func (m *QuerySchemasResponse) Reset()
func (*QuerySchemasResponse) Size ¶
func (m *QuerySchemasResponse) Size() (n int)
func (*QuerySchemasResponse) String ¶
func (m *QuerySchemasResponse) String() string
func (*QuerySchemasResponse) Unmarshal ¶
func (m *QuerySchemasResponse) Unmarshal(dAtA []byte) error
func (*QuerySchemasResponse) XXX_DiscardUnknown ¶
func (m *QuerySchemasResponse) XXX_DiscardUnknown()
func (*QuerySchemasResponse) XXX_Marshal ¶
func (m *QuerySchemasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemasResponse) XXX_Merge ¶
func (m *QuerySchemasResponse) XXX_Merge(src proto.Message)
func (*QuerySchemasResponse) XXX_Size ¶
func (m *QuerySchemasResponse) XXX_Size() int
func (*QuerySchemasResponse) XXX_Unmarshal ¶
func (m *QuerySchemasResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Get the Schema Document for a specified schema id QuerySchema(context.Context, *QuerySchemaRequest) (*QuerySchemaResponse, error) // Get the count and list of registered Schemas QuerySchemas(context.Context, *QuerySchemasRequest) (*QuerySchemasResponse, error) // Get the Did Document for a specified DID id QueryDidDocument(context.Context, *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error) // Get the count and list of registered Did Documents QueryDidDocuments(context.Context, *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error) // Get the Credential Status for a given credential id QueryCredential(context.Context, *QueryCredentialRequest) (*QueryCredentialResponse, error) // Get all the registed Credential Statuses QueryCredentials(context.Context, *QueryCredentialsRequest) (*QueryCredentialsResponse, error) }
QueryServer is the server API for Query service.
type SSIProofInterface ¶ added in v0.1.7
type SSIProofInterface interface { GetProofValue() string GetType() string GetVerificationMethod() string }
Handle Proof Struct of SSI Docs
type Schema ¶
type Schema struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` ModelVersion string `protobuf:"bytes,2,opt,name=modelVersion,proto3" json:"modelVersion,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` Authored string `protobuf:"bytes,6,opt,name=authored,proto3" json:"authored,omitempty"` Schema *SchemaProperty `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"` Proof *SchemaProof `protobuf:"bytes,8,opt,name=proof,proto3" json:"proof,omitempty"` }
func (*Schema) Descriptor ¶
func (*Schema) GetAuthored ¶
func (*Schema) GetModelVersion ¶
func (*Schema) GetProof ¶ added in v0.0.6
func (m *Schema) GetProof() *SchemaProof
func (*Schema) GetSchema ¶
func (m *Schema) GetSchema() *SchemaProperty
func (*Schema) MarshalToSizedBuffer ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) XXX_DiscardUnknown ¶
func (m *Schema) XXX_DiscardUnknown()
func (*Schema) XXX_Marshal ¶
func (*Schema) XXX_Unmarshal ¶
type SchemaDocument ¶ added in v0.0.6
type SchemaDocument struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` ModelVersion string `protobuf:"bytes,2,opt,name=modelVersion,proto3" json:"modelVersion,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` Authored string `protobuf:"bytes,6,opt,name=authored,proto3" json:"authored,omitempty"` Schema *SchemaProperty `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"` }
func (*SchemaDocument) Descriptor ¶ added in v0.0.6
func (*SchemaDocument) Descriptor() ([]byte, []int)
func (*SchemaDocument) GetAuthor ¶ added in v0.0.6
func (m *SchemaDocument) GetAuthor() string
func (*SchemaDocument) GetAuthored ¶ added in v0.0.6
func (m *SchemaDocument) GetAuthored() string
func (*SchemaDocument) GetId ¶ added in v0.0.6
func (m *SchemaDocument) GetId() string
func (*SchemaDocument) GetModelVersion ¶ added in v0.0.6
func (m *SchemaDocument) GetModelVersion() string
func (*SchemaDocument) GetName ¶ added in v0.0.6
func (m *SchemaDocument) GetName() string
func (*SchemaDocument) GetSchema ¶ added in v0.0.6
func (m *SchemaDocument) GetSchema() *SchemaProperty
func (*SchemaDocument) GetSignBytes ¶ added in v0.0.6
func (msg *SchemaDocument) GetSignBytes() []byte
func (*SchemaDocument) GetType ¶ added in v0.0.6
func (m *SchemaDocument) GetType() string
func (*SchemaDocument) Marshal ¶ added in v0.0.6
func (m *SchemaDocument) Marshal() (dAtA []byte, err error)
func (*SchemaDocument) MarshalTo ¶ added in v0.0.6
func (m *SchemaDocument) MarshalTo(dAtA []byte) (int, error)
func (*SchemaDocument) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *SchemaDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SchemaDocument) ProtoMessage ¶ added in v0.0.6
func (*SchemaDocument) ProtoMessage()
func (*SchemaDocument) Reset ¶ added in v0.0.6
func (m *SchemaDocument) Reset()
func (*SchemaDocument) Size ¶ added in v0.0.6
func (m *SchemaDocument) Size() (n int)
func (*SchemaDocument) String ¶ added in v0.0.6
func (m *SchemaDocument) String() string
func (*SchemaDocument) Unmarshal ¶ added in v0.0.6
func (m *SchemaDocument) Unmarshal(dAtA []byte) error
func (*SchemaDocument) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *SchemaDocument) XXX_DiscardUnknown()
func (*SchemaDocument) XXX_Marshal ¶ added in v0.0.6
func (m *SchemaDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchemaDocument) XXX_Merge ¶ added in v0.0.6
func (m *SchemaDocument) XXX_Merge(src proto.Message)
func (*SchemaDocument) XXX_Size ¶ added in v0.0.6
func (m *SchemaDocument) XXX_Size() int
func (*SchemaDocument) XXX_Unmarshal ¶ added in v0.0.6
func (m *SchemaDocument) XXX_Unmarshal(b []byte) error
type SchemaProof ¶ added in v0.0.6
type SchemaProof struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Created string `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"` VerificationMethod string `protobuf:"bytes,4,opt,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` ProofPurpose string `protobuf:"bytes,5,opt,name=proofPurpose,proto3" json:"proofPurpose,omitempty"` ProofValue string `protobuf:"bytes,6,opt,name=proofValue,proto3" json:"proofValue,omitempty"` }
func (*SchemaProof) Descriptor ¶ added in v0.0.6
func (*SchemaProof) Descriptor() ([]byte, []int)
func (*SchemaProof) GetCreated ¶ added in v0.0.6
func (m *SchemaProof) GetCreated() string
func (*SchemaProof) GetProofPurpose ¶ added in v0.0.6
func (m *SchemaProof) GetProofPurpose() string
func (*SchemaProof) GetProofValue ¶ added in v0.0.6
func (m *SchemaProof) GetProofValue() string
func (*SchemaProof) GetType ¶ added in v0.0.6
func (m *SchemaProof) GetType() string
func (*SchemaProof) GetVerificationMethod ¶ added in v0.0.6
func (m *SchemaProof) GetVerificationMethod() string
func (*SchemaProof) Marshal ¶ added in v0.0.6
func (m *SchemaProof) Marshal() (dAtA []byte, err error)
func (*SchemaProof) MarshalTo ¶ added in v0.0.6
func (m *SchemaProof) MarshalTo(dAtA []byte) (int, error)
func (*SchemaProof) MarshalToSizedBuffer ¶ added in v0.0.6
func (m *SchemaProof) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SchemaProof) ProtoMessage ¶ added in v0.0.6
func (*SchemaProof) ProtoMessage()
func (*SchemaProof) Reset ¶ added in v0.0.6
func (m *SchemaProof) Reset()
func (*SchemaProof) Size ¶ added in v0.0.6
func (m *SchemaProof) Size() (n int)
func (*SchemaProof) String ¶ added in v0.0.6
func (m *SchemaProof) String() string
func (*SchemaProof) Unmarshal ¶ added in v0.0.6
func (m *SchemaProof) Unmarshal(dAtA []byte) error
func (*SchemaProof) XXX_DiscardUnknown ¶ added in v0.0.6
func (m *SchemaProof) XXX_DiscardUnknown()
func (*SchemaProof) XXX_Marshal ¶ added in v0.0.6
func (m *SchemaProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchemaProof) XXX_Merge ¶ added in v0.0.6
func (m *SchemaProof) XXX_Merge(src proto.Message)
func (*SchemaProof) XXX_Size ¶ added in v0.0.6
func (m *SchemaProof) XXX_Size() int
func (*SchemaProof) XXX_Unmarshal ¶ added in v0.0.6
func (m *SchemaProof) XXX_Unmarshal(b []byte) error
type SchemaProperty ¶
type SchemaProperty struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Properties string `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` Required []string `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"` AdditionalProperties bool `protobuf:"varint,6,opt,name=additionalProperties,proto3" json:"additionalProperties,omitempty"` }
func (*SchemaProperty) Descriptor ¶
func (*SchemaProperty) Descriptor() ([]byte, []int)
func (*SchemaProperty) GetAdditionalProperties ¶
func (m *SchemaProperty) GetAdditionalProperties() bool
func (*SchemaProperty) GetDescription ¶
func (m *SchemaProperty) GetDescription() string
func (*SchemaProperty) GetProperties ¶
func (m *SchemaProperty) GetProperties() string
func (*SchemaProperty) GetRequired ¶
func (m *SchemaProperty) GetRequired() []string
func (*SchemaProperty) GetSchema ¶
func (m *SchemaProperty) GetSchema() string
func (*SchemaProperty) GetType ¶
func (m *SchemaProperty) GetType() string
func (*SchemaProperty) Marshal ¶
func (m *SchemaProperty) Marshal() (dAtA []byte, err error)
func (*SchemaProperty) MarshalToSizedBuffer ¶
func (m *SchemaProperty) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SchemaProperty) ProtoMessage ¶
func (*SchemaProperty) ProtoMessage()
func (*SchemaProperty) Reset ¶
func (m *SchemaProperty) Reset()
func (*SchemaProperty) Size ¶
func (m *SchemaProperty) Size() (n int)
func (*SchemaProperty) String ¶
func (m *SchemaProperty) String() string
func (*SchemaProperty) Unmarshal ¶
func (m *SchemaProperty) Unmarshal(dAtA []byte) error
func (*SchemaProperty) XXX_DiscardUnknown ¶
func (m *SchemaProperty) XXX_DiscardUnknown()
func (*SchemaProperty) XXX_Marshal ¶
func (m *SchemaProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchemaProperty) XXX_Merge ¶
func (m *SchemaProperty) XXX_Merge(src proto.Message)
func (*SchemaProperty) XXX_Size ¶
func (m *SchemaProperty) XXX_Size() int
func (*SchemaProperty) XXX_Unmarshal ¶
func (m *SchemaProperty) XXX_Unmarshal(b []byte) error
type Service ¶ added in v0.0.2
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"` }
func (*Service) Descriptor ¶ added in v0.0.2
func (*Service) GetServiceEndpoint ¶ added in v0.0.2
func (*Service) MarshalToSizedBuffer ¶ added in v0.0.2
func (*Service) ProtoMessage ¶ added in v0.0.2
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶ added in v0.0.2
func (*Service) XXX_Unmarshal ¶ added in v0.0.2
type SignDoc ¶ added in v0.1.5
type SignDoc struct { AccountNumber string `json:"account_number"` ChainId string `json:"chain_id"` Fee Fees `json:"fee"` Memo string `json:"memo"` Msgs []Msg `json:"msgs"` Sequence string `json:"sequence"` }
Cosmos ADR SignDoc Struct Definitions
type SignInfo ¶
type SignInfo struct { VerificationMethodId string `protobuf:"bytes,1,opt,name=verification_method_id,json=verificationMethodId,proto3" json:"verification_method_id,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` ClientSpec *ClientSpec `protobuf:"bytes,3,opt,name=clientSpec,proto3" json:"clientSpec,omitempty"` }
func (*SignInfo) Descriptor ¶
func (*SignInfo) GetClientSpec ¶ added in v0.1.7
func (m *SignInfo) GetClientSpec() *ClientSpec
func (*SignInfo) GetSignature ¶
func (*SignInfo) GetVerificationMethodId ¶
func (*SignInfo) MarshalToSizedBuffer ¶
func (*SignInfo) ProtoMessage ¶
func (*SignInfo) ProtoMessage()
func (*SignInfo) XXX_DiscardUnknown ¶
func (m *SignInfo) XXX_DiscardUnknown()
func (*SignInfo) XXX_Marshal ¶
func (*SignInfo) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateDID ¶
func (*UnimplementedMsgServer) CreateDID(ctx context.Context, req *MsgCreateDID) (*MsgCreateDIDResponse, error)
func (*UnimplementedMsgServer) CreateSchema ¶
func (*UnimplementedMsgServer) CreateSchema(ctx context.Context, req *MsgCreateSchema) (*MsgCreateSchemaResponse, error)
func (*UnimplementedMsgServer) DeactivateDID ¶ added in v0.0.3
func (*UnimplementedMsgServer) DeactivateDID(ctx context.Context, req *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error)
func (*UnimplementedMsgServer) RegisterCredentialStatus ¶ added in v0.0.6
func (*UnimplementedMsgServer) RegisterCredentialStatus(ctx context.Context, req *MsgRegisterCredentialStatus) (*MsgRegisterCredentialStatusResponse, error)
func (*UnimplementedMsgServer) UpdateDID ¶
func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) QueryCredential ¶ added in v0.0.6
func (*UnimplementedQueryServer) QueryCredential(ctx context.Context, req *QueryCredentialRequest) (*QueryCredentialResponse, error)
func (*UnimplementedQueryServer) QueryCredentials ¶ added in v0.0.6
func (*UnimplementedQueryServer) QueryCredentials(ctx context.Context, req *QueryCredentialsRequest) (*QueryCredentialsResponse, error)
func (*UnimplementedQueryServer) QueryDidDocument ¶ added in v0.1.0
func (*UnimplementedQueryServer) QueryDidDocument(ctx context.Context, req *QueryDidDocumentRequest) (*QueryDidDocumentResponse, error)
func (*UnimplementedQueryServer) QueryDidDocuments ¶ added in v0.1.0
func (*UnimplementedQueryServer) QueryDidDocuments(ctx context.Context, req *QueryDidDocumentsRequest) (*QueryDidDocumentsResponse, error)
func (*UnimplementedQueryServer) QuerySchema ¶ added in v0.1.0
func (*UnimplementedQueryServer) QuerySchema(ctx context.Context, req *QuerySchemaRequest) (*QuerySchemaResponse, error)
func (*UnimplementedQueryServer) QuerySchemas ¶ added in v0.1.0
func (*UnimplementedQueryServer) QuerySchemas(ctx context.Context, req *QuerySchemasRequest) (*QuerySchemasResponse, error)
type VerificationMethod ¶ added in v0.0.2
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"` PublicKeyMultibase string `protobuf:"bytes,4,opt,name=publicKeyMultibase,proto3" json:"publicKeyMultibase,omitempty"` BlockchainAccountId string `protobuf:"bytes,5,opt,name=blockchainAccountId,proto3" json:"blockchainAccountId,omitempty"` }
func (*VerificationMethod) Descriptor ¶ added in v0.0.2
func (*VerificationMethod) Descriptor() ([]byte, []int)
func (*VerificationMethod) GetBlockchainAccountId ¶ added in v0.1.6
func (m *VerificationMethod) GetBlockchainAccountId() string
func (*VerificationMethod) GetController ¶ added in v0.0.2
func (m *VerificationMethod) GetController() string
func (*VerificationMethod) GetId ¶ added in v0.0.2
func (m *VerificationMethod) GetId() string
func (*VerificationMethod) GetPublicKeyMultibase ¶ added in v0.0.2
func (m *VerificationMethod) GetPublicKeyMultibase() string
func (*VerificationMethod) GetType ¶ added in v0.0.2
func (m *VerificationMethod) GetType() string
func (*VerificationMethod) Marshal ¶ added in v0.0.2
func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
func (*VerificationMethod) MarshalTo ¶ added in v0.0.2
func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
func (*VerificationMethod) MarshalToSizedBuffer ¶ added in v0.0.2
func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerificationMethod) ProtoMessage ¶ added in v0.0.2
func (*VerificationMethod) ProtoMessage()
func (*VerificationMethod) Reset ¶ added in v0.0.2
func (m *VerificationMethod) Reset()
func (*VerificationMethod) Size ¶ added in v0.0.2
func (m *VerificationMethod) Size() (n int)
func (*VerificationMethod) String ¶ added in v0.0.2
func (m *VerificationMethod) String() string
func (*VerificationMethod) Unmarshal ¶ added in v0.0.2
func (m *VerificationMethod) Unmarshal(dAtA []byte) error
func (*VerificationMethod) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerificationMethod) XXX_DiscardUnknown()
func (*VerificationMethod) XXX_Marshal ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerificationMethod) XXX_Merge ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Merge(src proto.Message)
func (*VerificationMethod) XXX_Size ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Size() int
func (*VerificationMethod) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Unmarshal(b []byte) error