Versions in this module Expand all Collapse all v0 v0.1.0 May 23, 2023 Changes in this version + var DIDDoc_ServiceDesc = grpc.ServiceDesc + var File_v1_diddoc_did_document_proto protoreflect.FileDescriptor + var File_v1_diddoc_service_proto protoreflect.FileDescriptor + func RegisterDIDDocHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterDIDDocHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DIDDocClient) error + func RegisterDIDDocHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterDIDDocHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DIDDocServer) error + func RegisterDIDDocServer(s grpc.ServiceRegistrar, srv DIDDocServer) + type DIDDocClient interface + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) + GetMetadataHistory func(ctx context.Context, in *GetMetadataHistoryRequest, opts ...grpc.CallOption) (*GetMetadataHistoryResponse, error) + Register func(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) + SaveMetadata func(ctx context.Context, in *SaveMetadataRequest, opts ...grpc.CallOption) (*SaveMetadataResponse, error) + SaveVerificationMethods func(ctx context.Context, in *MsgSaveVerificationMethods, opts ...grpc.CallOption) (*SaveVerificationMethodsResponse, error) + func NewDIDDocClient(cc grpc.ClientConnInterface) DIDDocClient + type DIDDocServer interface + Get func(context.Context, *GetRequest) (*GetResponse, error) + GetMetadataHistory func(context.Context, *GetMetadataHistoryRequest) (*GetMetadataHistoryResponse, error) + Register func(context.Context, *RegisterRequest) (*RegisterResponse, error) + SaveMetadata func(context.Context, *SaveMetadataRequest) (*SaveMetadataResponse, error) + SaveVerificationMethods func(context.Context, *MsgSaveVerificationMethods) (*SaveVerificationMethodsResponse, error) + type DIDDocument struct + AlsoKnownAs []string + AssertionMethod []string + Authentication []string + CapabilityDelegation []string + CapabilityInvocation []string + Context []string + Controller []string + Id string + KeyAgreement []string + Metadata *Metadata + Service []*Service + VerificationMethod []*VerificationMethod + func (*DIDDocument) Descriptor() ([]byte, []int) + func (*DIDDocument) ProtoMessage() + func (x *DIDDocument) GetAlsoKnownAs() []string + func (x *DIDDocument) GetAssertionMethod() []string + func (x *DIDDocument) GetAuthentication() []string + func (x *DIDDocument) GetCapabilityDelegation() []string + func (x *DIDDocument) GetCapabilityInvocation() []string + func (x *DIDDocument) GetContext() []string + func (x *DIDDocument) GetController() []string + func (x *DIDDocument) GetId() string + func (x *DIDDocument) GetKeyAgreement() []string + func (x *DIDDocument) GetMetadata() *Metadata + func (x *DIDDocument) GetService() []*Service + func (x *DIDDocument) GetVerificationMethod() []*VerificationMethod + func (x *DIDDocument) ProtoReflect() protoreflect.Message + func (x *DIDDocument) Reset() + func (x *DIDDocument) String() string + type DataArray struct + Objects []*Object + RootHash string + VersionHash string + func (*DataArray) Descriptor() ([]byte, []int) + func (*DataArray) ProtoMessage() + func (x *DataArray) GetObjects() []*Object + func (x *DataArray) GetRootHash() string + func (x *DataArray) GetVersionHash() string + func (x *DataArray) ProtoReflect() protoreflect.Message + func (x *DataArray) Reset() + func (x *DataArray) String() string + type GetMetadataHistoryRequest struct + Did string + func (*GetMetadataHistoryRequest) Descriptor() ([]byte, []int) + func (*GetMetadataHistoryRequest) ProtoMessage() + func (x *GetMetadataHistoryRequest) GetDid() string + func (x *GetMetadataHistoryRequest) ProtoReflect() protoreflect.Message + func (x *GetMetadataHistoryRequest) Reset() + func (x *GetMetadataHistoryRequest) String() string + type GetMetadataHistoryResponse struct + MetadataHistory map[int32]*DataArray + func (*GetMetadataHistoryResponse) Descriptor() ([]byte, []int) + func (*GetMetadataHistoryResponse) ProtoMessage() + func (x *GetMetadataHistoryResponse) GetMetadataHistory() map[int32]*DataArray + func (x *GetMetadataHistoryResponse) ProtoReflect() protoreflect.Message + func (x *GetMetadataHistoryResponse) Reset() + func (x *GetMetadataHistoryResponse) String() string + type GetRequest struct + Did string + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (x *GetRequest) GetDid() string + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetResponse struct + Document *DIDDocument + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetDocument() *DIDDocument + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type Metadata struct + Objects []*Object + RootHash string + VersionHash string + VersionId int32 + func (*Metadata) Descriptor() ([]byte, []int) + func (*Metadata) ProtoMessage() + func (x *Metadata) GetObjects() []*Object + func (x *Metadata) GetRootHash() string + func (x *Metadata) GetVersionHash() string + func (x *Metadata) GetVersionId() int32 + func (x *Metadata) ProtoReflect() protoreflect.Message + func (x *Metadata) Reset() + func (x *Metadata) String() string + type MsgSaveVerificationMethods struct + Data *MsgSaveVerificationMethods_Data + Signature []byte + func (*MsgSaveVerificationMethods) Descriptor() ([]byte, []int) + func (*MsgSaveVerificationMethods) ProtoMessage() + func (x *MsgSaveVerificationMethods) GetData() *MsgSaveVerificationMethods_Data + func (x *MsgSaveVerificationMethods) GetSignature() []byte + func (x *MsgSaveVerificationMethods) ProtoReflect() protoreflect.Message + func (x *MsgSaveVerificationMethods) Reset() + func (x *MsgSaveVerificationMethods) String() string + type MsgSaveVerificationMethods_Data struct + Authentication []string + AuthenticationKeyId string + Did string + VerificationMethods []*VerificationMethod + func (*MsgSaveVerificationMethods_Data) Descriptor() ([]byte, []int) + func (*MsgSaveVerificationMethods_Data) ProtoMessage() + func (x *MsgSaveVerificationMethods_Data) GetAuthentication() []string + func (x *MsgSaveVerificationMethods_Data) GetAuthenticationKeyId() string + func (x *MsgSaveVerificationMethods_Data) GetDid() string + func (x *MsgSaveVerificationMethods_Data) GetVerificationMethods() []*VerificationMethod + func (x *MsgSaveVerificationMethods_Data) ProtoReflect() protoreflect.Message + func (x *MsgSaveVerificationMethods_Data) Reset() + func (x *MsgSaveVerificationMethods_Data) String() string + type Object struct + DataObjectHash string + HashEncryptedDataObject string + HashEncryptedMetadata string + HashUnencryptedMetadata string + HashUnencryptedObject string + Metadata map[string]string + Url string + func (*Object) Descriptor() ([]byte, []int) + func (*Object) ProtoMessage() + func (x *Object) GetDataObjectHash() string + func (x *Object) GetHashEncryptedDataObject() string + func (x *Object) GetHashEncryptedMetadata() string + func (x *Object) GetHashUnencryptedMetadata() string + func (x *Object) GetHashUnencryptedObject() string + func (x *Object) GetMetadata() map[string]string + func (x *Object) GetUrl() string + func (x *Object) ProtoReflect() protoreflect.Message + func (x *Object) Reset() + func (x *Object) String() string + type RegisterRequest struct + Authentication []string + Did string + Service []*Service + VerificationMethod []*VerificationMethod + func (*RegisterRequest) Descriptor() ([]byte, []int) + func (*RegisterRequest) ProtoMessage() + func (x *RegisterRequest) GetAuthentication() []string + func (x *RegisterRequest) GetDid() string + func (x *RegisterRequest) GetService() []*Service + func (x *RegisterRequest) GetVerificationMethod() []*VerificationMethod + func (x *RegisterRequest) ProtoReflect() protoreflect.Message + func (x *RegisterRequest) Reset() + func (x *RegisterRequest) String() string + type RegisterResponse struct + func (*RegisterResponse) Descriptor() ([]byte, []int) + func (*RegisterResponse) ProtoMessage() + func (x *RegisterResponse) ProtoReflect() protoreflect.Message + func (x *RegisterResponse) Reset() + func (x *RegisterResponse) String() string + type SaveMetadataRequest struct + Data *SaveMetadataRequest_Data + Signature []byte + func (*SaveMetadataRequest) Descriptor() ([]byte, []int) + func (*SaveMetadataRequest) ProtoMessage() + func (x *SaveMetadataRequest) GetData() *SaveMetadataRequest_Data + func (x *SaveMetadataRequest) GetSignature() []byte + func (x *SaveMetadataRequest) ProtoReflect() protoreflect.Message + func (x *SaveMetadataRequest) Reset() + func (x *SaveMetadataRequest) String() string + type SaveMetadataRequest_Data struct + AuthenticationKeyId string + Did string + Objects []*Object + func (*SaveMetadataRequest_Data) Descriptor() ([]byte, []int) + func (*SaveMetadataRequest_Data) ProtoMessage() + func (x *SaveMetadataRequest_Data) GetAuthenticationKeyId() string + func (x *SaveMetadataRequest_Data) GetDid() string + func (x *SaveMetadataRequest_Data) GetObjects() []*Object + func (x *SaveMetadataRequest_Data) ProtoReflect() protoreflect.Message + func (x *SaveMetadataRequest_Data) Reset() + func (x *SaveMetadataRequest_Data) String() string + type SaveMetadataResponse struct + func (*SaveMetadataResponse) Descriptor() ([]byte, []int) + func (*SaveMetadataResponse) ProtoMessage() + func (x *SaveMetadataResponse) ProtoReflect() protoreflect.Message + func (x *SaveMetadataResponse) Reset() + func (x *SaveMetadataResponse) String() string + type SaveVerificationMethodsResponse struct + func (*SaveVerificationMethodsResponse) Descriptor() ([]byte, []int) + func (*SaveVerificationMethodsResponse) ProtoMessage() + func (x *SaveVerificationMethodsResponse) ProtoReflect() protoreflect.Message + func (x *SaveVerificationMethodsResponse) Reset() + func (x *SaveVerificationMethodsResponse) String() string + type Service struct + Context string + Id string + ServiceEndpoint []string + Type string + func (*Service) Descriptor() ([]byte, []int) + func (*Service) ProtoMessage() + func (x *Service) GetContext() string + func (x *Service) GetId() string + func (x *Service) GetServiceEndpoint() []string + func (x *Service) GetType() string + func (x *Service) ProtoReflect() protoreflect.Message + func (x *Service) Reset() + func (x *Service) String() string + type UnimplementedDIDDocServer struct + func (UnimplementedDIDDocServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (UnimplementedDIDDocServer) GetMetadataHistory(context.Context, *GetMetadataHistoryRequest) (*GetMetadataHistoryResponse, error) + func (UnimplementedDIDDocServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) + func (UnimplementedDIDDocServer) SaveMetadata(context.Context, *SaveMetadataRequest) (*SaveMetadataResponse, error) + func (UnimplementedDIDDocServer) SaveVerificationMethods(context.Context, *MsgSaveVerificationMethods) (*SaveVerificationMethodsResponse, error) + type UnsafeDIDDocServer interface + type VerificationMethod struct + Context []string + Controller string + Id string + PublicKeyBase58 string + PublicKeyJwk map[string]string + PublicKeyMultibase string + Type string + func (*VerificationMethod) Descriptor() ([]byte, []int) + func (*VerificationMethod) ProtoMessage() + func (x *VerificationMethod) GetContext() []string + func (x *VerificationMethod) GetController() string + func (x *VerificationMethod) GetId() string + func (x *VerificationMethod) GetPublicKeyBase58() string + func (x *VerificationMethod) GetPublicKeyJwk() map[string]string + func (x *VerificationMethod) GetPublicKeyMultibase() string + func (x *VerificationMethod) GetType() string + func (x *VerificationMethod) ProtoReflect() protoreflect.Message + func (x *VerificationMethod) Reset() + func (x *VerificationMethod) String() string