types

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: Apache-2.0 Imports: 32 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
const (
	DidKey      = "Did-value-"
	DidCountKey = "Did-count-"

	ChainNamespaceKey = "Did-namespace-"

	SchemaKey      = "Schema-value-"
	SchemaCountKey = "Schema-count-"

	CredKey      = "Cred-value-"
	CredCountKey = "Cred-count-"
)
View Source
const TypeMsgCreateDID = "create_did"
View Source
const TypeMsgCreateSchema = "create_schema"
View Source
const TypeMsgDeactivateDID = "deactivate_did"
View Source
const TypeMsgRegisterCredentialStatus = "register_credential_status"
View Source
const TypeMsgUpdateDID = "update_did"

Variables

View Source
var (
	ErrInvalidLengthCredential        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCredential          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCredential = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDid        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDid          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDid = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrBadRequestIsRequired       = sdkerrors.Register(ModuleName, 101, "is required")
	ErrBadRequestIsNotDid         = sdkerrors.Register(ModuleName, 102, "is an invalid Hypersign DID format")
	ErrDidDocExists               = sdkerrors.Register(ModuleName, 103, "DidDoc already exists")
	ErrInvalidDidDoc              = sdkerrors.Register(ModuleName, 104, "DidDoc is invalid")
	ErrVerificationMethodNotFound = sdkerrors.Register(ModuleName, 105, "verification method not found")
	ErrInvalidPublicKey           = sdkerrors.Register(ModuleName, 106, "invalid public key")
	ErrInvalidSignature           = sdkerrors.Register(ModuleName, 107, "invalid signature detected")
	ErrDidDocNotFound             = sdkerrors.Register(ModuleName, 108, "DID Doc not found")
	ErrSchemaExists               = sdkerrors.Register(ModuleName, 109, "Schema already exists")
	ErrInvalidSchemaID            = sdkerrors.Register(ModuleName, 110, "Invalid schema Id")
	ErrBadRequestInvalidVerMethod = sdkerrors.Register(ModuleName, 111, "Invalid verification method")
	ErrInvalidService             = sdkerrors.Register(ModuleName, 112, "Invalid Service")
	ErrUnexpectedDidVersion       = sdkerrors.Register(ModuleName, 113, "Unexpected DID version")
	ErrDidDocDeactivated          = sdkerrors.Register(ModuleName, 114, "DID Document is deactivated")
	ErrInvalidDidElements         = sdkerrors.Register(ModuleName, 115, "Invalid DID elements")
	ErrInvalidDidMethod           = sdkerrors.Register(ModuleName, 116, "Invalid DID method")
	ErrInvalidMethodSpecificId    = sdkerrors.Register(ModuleName, 117, "Invalid DID method specific Id")
	ErrCredentialExists           = sdkerrors.Register(ModuleName, 118, "Credential Already Exists")
	ErrCredentialNotFound         = sdkerrors.Register(ModuleName, 119, "Credential Not Found")
	ErrInvalidCredentialStatus    = sdkerrors.Register(ModuleName, 120, "Invalid Credential Status")
	ErrInvalidDate                = sdkerrors.Register(ModuleName, 121, "Invalid Date")
	ErrInvalidCredentialField     = sdkerrors.Register(ModuleName, 122, "Invalid Credential Field")
	ErrInvalidCredentialHash      = sdkerrors.Register(ModuleName, 123, "Invalid Credential Hash")
	ErrInvalidSchemaModelVersion  = sdkerrors.Register(ModuleName, 124, "Invalid Schema Model Version")
	ErrNullSchemaField            = sdkerrors.Register(ModuleName, 125, "Null Schema Field")
	ErrInvalidClientSpecType      = sdkerrors.Register(ModuleName, 126, "Invalid Client Spec Type")
	ErrInvalidBlockchainAccountId = sdkerrors.Register(ModuleName, 127, "invalid blockchain account id")
)

x/ssi module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSchema        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSchema          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSchema = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func KeyPrefix

func KeyPrefix(p string) []byte

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
}

AccountKeeper defines the expected account keeper used for simulations (noalias)

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
}

BankKeeper defines the expected interface needed to retrieve account balances.

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) Descriptor() ([]byte, []int)

func (*Claim) GetCurrentStatus added in v0.0.6

func (m *Claim) GetCurrentStatus() string

func (*Claim) GetId added in v0.0.6

func (m *Claim) GetId() string

func (*Claim) GetStatusReason added in v0.0.6

func (m *Claim) GetStatusReason() string

func (*Claim) Marshal added in v0.0.6

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

func (*Claim) MarshalTo added in v0.0.6

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

func (*Claim) MarshalToSizedBuffer added in v0.0.6

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

func (*Claim) ProtoMessage added in v0.0.6

func (*Claim) ProtoMessage()

func (*Claim) Reset added in v0.0.6

func (m *Claim) Reset()

func (*Claim) Size added in v0.0.6

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

func (*Claim) String added in v0.0.6

func (m *Claim) String() string

func (*Claim) Unmarshal added in v0.0.6

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

func (*Claim) XXX_DiscardUnknown added in v0.0.6

func (m *Claim) XXX_DiscardUnknown()

func (*Claim) XXX_Marshal added in v0.0.6

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

func (*Claim) XXX_Merge added in v0.0.6

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

func (*Claim) XXX_Size added in v0.0.6

func (m *Claim) XXX_Size() int

func (*Claim) XXX_Unmarshal added in v0.0.6

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

type ClientSpecOpts added in v0.1.5

type ClientSpecOpts struct {
	SSIDoc        SsiMsg
	SignerAddress string
}

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) Descriptor() ([]byte, []int)

func (*Did) GetAlsoKnownAs added in v0.0.2

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

func (*Did) GetAssertionMethod

func (m *Did) GetAssertionMethod() []string

func (*Did) GetAuthentication

func (m *Did) GetAuthentication() []string

func (*Did) GetCapabilityDelegation added in v0.0.2

func (m *Did) GetCapabilityDelegation() []string

func (*Did) GetCapabilityInvocation

func (m *Did) GetCapabilityInvocation() []string

func (*Did) GetContext

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

func (*Did) GetController added in v0.0.2

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

func (*Did) GetId

func (m *Did) GetId() string

func (*Did) GetKeyAgreement

func (m *Did) GetKeyAgreement() []string

func (*Did) GetService added in v0.0.2

func (m *Did) GetService() []*Service

func (*Did) GetSignBytes added in v0.0.2

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

func (*Did) GetSigners added in v0.0.2

func (msg *Did) GetSigners() []Signer

Returns a list of controllers present in the Did document along with their verification methods.

func (*Did) GetVerificationMethod added in v0.0.2

func (m *Did) GetVerificationMethod() []*VerificationMethod

func (*Did) Marshal

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

func (*Did) MarshalTo

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

func (*Did) MarshalToSizedBuffer

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

func (*Did) ProtoMessage

func (*Did) ProtoMessage()

func (*Did) Reset

func (m *Did) Reset()

func (*Did) Size

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

func (*Did) String

func (m *Did) String() string

func (*Did) Unmarshal

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

func (*Did) XXX_DiscardUnknown

func (m *Did) XXX_DiscardUnknown()

func (*Did) XXX_Marshal

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

func (*Did) XXX_Merge

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

func (*Did) XXX_Size

func (m *Did) XXX_Size() int

func (*Did) XXX_Unmarshal

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

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 Fees added in v0.1.5

type Fees struct {
	Amount []string `json:"amount"`
	Gas    string   `json:"gas"`
}

Cosmos ADR SignDoc Struct Definitions

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

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

func (*GenesisState) MarshalToSizedBuffer

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

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

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

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

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

func (GenesisState) Validate

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

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

func (*GenesisState) XXX_Merge

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

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

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

type 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 CreateNewMetadata(ctx sdk.Context) Metadata

func (*Metadata) Descriptor added in v0.0.3

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

func (*Metadata) GetCreated added in v0.0.3

func (m *Metadata) GetCreated() string

func (*Metadata) GetDeactivated added in v0.0.3

func (m *Metadata) GetDeactivated() bool

func (*Metadata) GetUpdated added in v0.0.3

func (m *Metadata) GetUpdated() string

func (*Metadata) GetVersionId added in v0.0.3

func (m *Metadata) GetVersionId() string

func (*Metadata) Marshal added in v0.0.3

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

func (*Metadata) MarshalTo added in v0.0.3

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

func (*Metadata) MarshalToSizedBuffer added in v0.0.3

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

func (*Metadata) ProtoMessage added in v0.0.3

func (*Metadata) ProtoMessage()

func (*Metadata) Reset added in v0.0.3

func (m *Metadata) Reset()

func (*Metadata) Size added in v0.0.3

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

func (*Metadata) String added in v0.0.3

func (m *Metadata) String() string

func (*Metadata) Unmarshal added in v0.0.3

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

func (*Metadata) XXX_DiscardUnknown added in v0.0.3

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal added in v0.0.3

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

func (*Metadata) XXX_Merge added in v0.0.3

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

func (*Metadata) XXX_Size added in v0.0.3

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal added in v0.0.3

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

type Msg added in v0.1.5

type Msg struct {
	Type  string `json:"type"`
	Value Val    `json:"value"`
}

Cosmos ADR SignDoc Struct Definitions

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"`
	ClientSpec   string      `protobuf:"bytes,4,opt,name=clientSpec,proto3" json:"clientSpec,omitempty"`
}

func NewMsgCreateDID

func NewMsgCreateDID(did string, didDocString *Did) *MsgCreateDID

func (*MsgCreateDID) Descriptor

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

func (*MsgCreateDID) GetClientSpec added in v0.1.5

func (m *MsgCreateDID) GetClientSpec() string

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

func (m *MsgCreateDID) MarshalTo(dAtA []byte) (int, 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  string          `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() string

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

func (m *MsgCreateSchema) MarshalTo(dAtA []byte) (int, 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"`
	ClientSpec string      `protobuf:"bytes,5,opt,name=clientSpec,proto3" json:"clientSpec,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) GetClientSpec added in v0.1.5

func (m *MsgDeactivateDID) GetClientSpec() string

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       string            `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() string

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 (*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 (*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 (*MsgRegisterCredentialStatusResponse) Size added in v0.0.6

func (*MsgRegisterCredentialStatusResponse) String added in v0.0.6

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 (*MsgRegisterCredentialStatusResponse) XXX_Size added in v0.0.6

func (*MsgRegisterCredentialStatusResponse) XXX_Unmarshal added in v0.0.6

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

type MsgServer

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"`
	ClientSpec   string      `protobuf:"bytes,5,opt,name=clientSpec,proto3" json:"clientSpec,omitempty"`
}

func NewMsgUpdateDID

func NewMsgUpdateDID(creator string, didDocString *Did, signatures []*SignInfo) *MsgUpdateDID

func (*MsgUpdateDID) Descriptor

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

func (*MsgUpdateDID) GetClientSpec added in v0.1.5

func (m *MsgUpdateDID) GetClientSpec() string

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

func (m *MsgUpdateDID) MarshalTo(dAtA []byte) (int, 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 (*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 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) Descriptor() ([]byte, []int)

func (*Schema) GetAuthor

func (m *Schema) GetAuthor() string

func (*Schema) GetAuthored

func (m *Schema) GetAuthored() string

func (*Schema) GetId

func (m *Schema) GetId() string

func (*Schema) GetModelVersion

func (m *Schema) GetModelVersion() string

func (*Schema) GetName

func (m *Schema) GetName() string

func (*Schema) GetProof added in v0.0.6

func (m *Schema) GetProof() *SchemaProof

func (*Schema) GetSchema

func (m *Schema) GetSchema() *SchemaProperty

func (*Schema) GetType

func (m *Schema) GetType() string

func (*Schema) Marshal

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

func (*Schema) MarshalTo

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

func (*Schema) MarshalToSizedBuffer

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

func (*Schema) ProtoMessage

func (*Schema) ProtoMessage()

func (*Schema) Reset

func (m *Schema) Reset()

func (*Schema) Size

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

func (*Schema) String

func (m *Schema) String() string

func (*Schema) Unmarshal

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

func (*Schema) XXX_DiscardUnknown

func (m *Schema) XXX_DiscardUnknown()

func (*Schema) XXX_Marshal

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

func (*Schema) XXX_Merge

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

func (*Schema) XXX_Size

func (m *Schema) XXX_Size() int

func (*Schema) XXX_Unmarshal

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

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

func (m *SchemaProperty) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Service) GetId added in v0.0.2

func (m *Service) GetId() string

func (*Service) GetServiceEndpoint added in v0.0.2

func (m *Service) GetServiceEndpoint() string

func (*Service) GetType added in v0.0.2

func (m *Service) GetType() string

func (*Service) Marshal added in v0.0.2

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

func (*Service) MarshalTo added in v0.0.2

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

func (*Service) MarshalToSizedBuffer added in v0.0.2

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

func (*Service) ProtoMessage added in v0.0.2

func (*Service) ProtoMessage()

func (*Service) Reset added in v0.0.2

func (m *Service) Reset()

func (*Service) Size added in v0.0.2

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

func (*Service) String added in v0.0.2

func (m *Service) String() string

func (*Service) Unmarshal added in v0.0.2

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

func (*Service) XXX_DiscardUnknown added in v0.0.2

func (m *Service) XXX_DiscardUnknown()

func (*Service) XXX_Marshal added in v0.0.2

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

func (*Service) XXX_Merge added in v0.0.2

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

func (*Service) XXX_Size added in v0.0.2

func (m *Service) XXX_Size() int

func (*Service) XXX_Unmarshal added in v0.0.2

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

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"`
}

func (*SignInfo) Descriptor

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

func (*SignInfo) GetSignature

func (m *SignInfo) GetSignature() string

func (*SignInfo) GetVerificationMethodId

func (m *SignInfo) GetVerificationMethodId() string

func (*SignInfo) Marshal

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

func (*SignInfo) MarshalTo

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

func (*SignInfo) MarshalToSizedBuffer

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

func (*SignInfo) ProtoMessage

func (*SignInfo) ProtoMessage()

func (*SignInfo) Reset

func (m *SignInfo) Reset()

func (*SignInfo) Size

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

func (*SignInfo) String

func (m *SignInfo) String() string

func (*SignInfo) Unmarshal

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

func (*SignInfo) XXX_DiscardUnknown

func (m *SignInfo) XXX_DiscardUnknown()

func (*SignInfo) XXX_Marshal

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

func (*SignInfo) XXX_Merge

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

func (*SignInfo) XXX_Size

func (m *SignInfo) XXX_Size() int

func (*SignInfo) XXX_Unmarshal

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

type Signer

type Signer struct {
	Signer               string
	Authentication       []string
	AssertionMethod      []string
	VerificationMethod   []*VerificationMethod
	KeyAgreement         []string
	CapabilityInvocation []string
	CapabilityDelegation []string
}

type SsiMsg added in v0.1.6

type SsiMsg interface {
	proto.Message
	GetSignBytes() []byte
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) CreateDID

func (*UnimplementedMsgServer) CreateSchema

func (*UnimplementedMsgServer) DeactivateDID added in v0.0.3

func (*UnimplementedMsgServer) RegisterCredentialStatus added in v0.0.6

func (*UnimplementedMsgServer) UpdateDID

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) QueryCredential added in v0.0.6

func (*UnimplementedQueryServer) QueryCredentials added in v0.0.6

func (*UnimplementedQueryServer) QueryDidDocument added in v0.1.0

func (*UnimplementedQueryServer) QueryDidDocuments added in v0.1.0

func (*UnimplementedQueryServer) QuerySchema added in v0.1.0

func (*UnimplementedQueryServer) QuerySchemas added in v0.1.0

type Val added in v0.1.5

type Val struct {
	Data   string `json:"data"`
	Signer string `json:"signer"`
}

Cosmos ADR SignDoc Struct Definitions

type ValidDid added in v0.0.2

type ValidDid struct {
	DidId   string
	IsValid bool
}

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

Jump to

Keyboard shortcuts

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