Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func VerifyIdentitySignature(signer types.Signer, signatures []*types.SignInfo, signingInput []byte) (bool, error)
- type Keeper
- func (k Keeper) AppendDID(ctx sdk.Context, didSpec types.Did) uint64
- func (k Keeper) AppendSchema(ctx sdk.Context, schema types.Schema) uint64
- func (k Keeper) DidDocCount(goCtx context.Context, req *types.QueryDidDocCountRequest) (*types.QueryDidDocCountResponse, error)
- func (k Keeper) GetDid(ctx *sdk.Context, id string) (*types.DidDocStructCreateDID, error)
- func (k Keeper) GetDidCount(ctx sdk.Context) uint64
- func (k Keeper) GetDidDocById(goCtx context.Context, req *types.QueryGetDidDocByIdRequest) (*types.QueryGetDidDocByIdResponse, error)
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetSchema(goCtx context.Context, req *types.QueryGetSchemaRequest) (*types.QueryGetSchemaResponse, error)
- func (k Keeper) GetSchemaCount(ctx sdk.Context) uint64
- func (k Keeper) HasDid(ctx sdk.Context, id string) bool
- func (k Keeper) HasSchema(ctx sdk.Context, id string) bool
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SchemaCount(goCtx context.Context, req *types.QuerySchemaCountRequest) (*types.QuerySchemaCountResponse, error)
- func (k Keeper) Schemas(goCtx context.Context, req *types.QuerySchemasRequest) (*types.QuerySchemasResponse, error)
- func (k Keeper) SetDid(ctx sdk.Context, did types.Did) error
- func (k Keeper) SetDidCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetSchemaCount(ctx sdk.Context, count uint64)
- func (k *Keeper) VerifySignature(ctx *sdk.Context, msg types.IdentityMsg, signers []types.Signer, ...) error
- func (k *Keeper) VerifySignatureOnCreateSchema(ctx *sdk.Context, msg *types.Schema, signers []types.Signer, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey sdk.StoreKey, ps paramtypes.Subspace, ) *Keeper
func (Keeper) AppendSchema ¶
func (Keeper) DidDocCount ¶
func (k Keeper) DidDocCount(goCtx context.Context, req *types.QueryDidDocCountRequest) (*types.QueryDidDocCountResponse, error)
func (Keeper) GetDidDocById ¶
func (k Keeper) GetDidDocById(goCtx context.Context, req *types.QueryGetDidDocByIdRequest) (*types.QueryGetDidDocByIdResponse, error)
func (Keeper) GetSchema ¶
func (k Keeper) GetSchema(goCtx context.Context, req *types.QueryGetSchemaRequest) (*types.QueryGetSchemaResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SchemaCount ¶
func (k Keeper) SchemaCount(goCtx context.Context, req *types.QuerySchemaCountRequest) (*types.QuerySchemaCountResponse, error)
func (Keeper) Schemas ¶
func (k Keeper) Schemas(goCtx context.Context, req *types.QuerySchemasRequest) (*types.QuerySchemasResponse, error)
func (*Keeper) VerifySignature ¶
Source Files ¶
- did.go
- grpc_query.go
- grpc_query_did_doc_count.go
- grpc_query_get_did_doc_by_id.go
- grpc_query_get_schema.go
- grpc_query_params.go
- grpc_query_schema_count.go
- grpc_query_schemas.go
- keeper.go
- msg_server.go
- msg_server_create_did.go
- msg_server_create_schema.go
- msg_server_update_did.go
- params.go
- schema.go
- verify.go
Click to show internal directories.
Click to hide internal directories.