Documentation ¶
Index ¶
- Variables
- type CreateProofRequest
- func (*CreateProofRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProofRequest) GetDocument() *structpb.Struct
- func (x *CreateProofRequest) GetKey() *keys.JsonWebKey
- func (x *CreateProofRequest) GetSuite() LdSuite
- func (*CreateProofRequest) ProtoMessage()
- func (x *CreateProofRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProofRequest) Reset()
- func (x *CreateProofRequest) String() string
- type CreateProofResponse
- func (*CreateProofResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProofResponse) GetSignedDocument() *structpb.Struct
- func (*CreateProofResponse) ProtoMessage()
- func (x *CreateProofResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProofResponse) Reset()
- func (x *CreateProofResponse) String() string
- type LdSuite
- type VerifyProofRequest
- type VerifyProofResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LdSuite_name = map[int32]string{ 0: "LD_SUITE_UNSPECIFIED", 1: "LD_SUITE_JCSED25519SIGNATURE2020", } LdSuite_value = map[string]int32{ "LD_SUITE_UNSPECIFIED": 0, "LD_SUITE_JCSED25519SIGNATURE2020": 1, } )
Enum value maps for LdSuite.
View Source
var File_okapi_proofs_v1_proofs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateProofRequest ¶
type CreateProofRequest struct { // The input JSON document that will be used // to create the LD Proof. This document must // also contain a "proof" object, with the desired // values filled in. Document *structpb.Struct `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` // The signer of the proof. This field must include // the 'kid' in full URI format. // Example: // // did:example:alice#key-1 Key *keys.JsonWebKey `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // The LD Suite to use to produce this proof Suite LdSuite `protobuf:"varint,4,opt,name=suite,proto3,enum=okapi.proofs.v1.LdSuite" json:"suite,omitempty"` // contains filtered or unexported fields }
func (*CreateProofRequest) Descriptor
deprecated
func (*CreateProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProofRequest.ProtoReflect.Descriptor instead.
func (*CreateProofRequest) GetDocument ¶
func (x *CreateProofRequest) GetDocument() *structpb.Struct
func (*CreateProofRequest) GetKey ¶
func (x *CreateProofRequest) GetKey() *keys.JsonWebKey
func (*CreateProofRequest) GetSuite ¶
func (x *CreateProofRequest) GetSuite() LdSuite
func (*CreateProofRequest) ProtoMessage ¶
func (*CreateProofRequest) ProtoMessage()
func (*CreateProofRequest) ProtoReflect ¶
func (x *CreateProofRequest) ProtoReflect() protoreflect.Message
func (*CreateProofRequest) Reset ¶
func (x *CreateProofRequest) Reset()
func (*CreateProofRequest) String ¶
func (x *CreateProofRequest) String() string
type CreateProofResponse ¶
type CreateProofResponse struct { SignedDocument *structpb.Struct `protobuf:"bytes,1,opt,name=signed_document,json=signedDocument,proto3" json:"signed_document,omitempty"` // contains filtered or unexported fields }
func (*CreateProofResponse) Descriptor
deprecated
func (*CreateProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProofResponse.ProtoReflect.Descriptor instead.
func (*CreateProofResponse) GetSignedDocument ¶
func (x *CreateProofResponse) GetSignedDocument() *structpb.Struct
func (*CreateProofResponse) ProtoMessage ¶
func (*CreateProofResponse) ProtoMessage()
func (*CreateProofResponse) ProtoReflect ¶
func (x *CreateProofResponse) ProtoReflect() protoreflect.Message
func (*CreateProofResponse) Reset ¶
func (x *CreateProofResponse) Reset()
func (*CreateProofResponse) String ¶
func (x *CreateProofResponse) String() string
type LdSuite ¶
type LdSuite int32
func (LdSuite) Descriptor ¶
func (LdSuite) Descriptor() protoreflect.EnumDescriptor
func (LdSuite) EnumDescriptor
deprecated
func (LdSuite) Number ¶
func (x LdSuite) Number() protoreflect.EnumNumber
func (LdSuite) Type ¶
func (LdSuite) Type() protoreflect.EnumType
type VerifyProofRequest ¶
type VerifyProofRequest struct {
// contains filtered or unexported fields
}
func (*VerifyProofRequest) Descriptor
deprecated
func (*VerifyProofRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProofRequest.ProtoReflect.Descriptor instead.
func (*VerifyProofRequest) ProtoMessage ¶
func (*VerifyProofRequest) ProtoMessage()
func (*VerifyProofRequest) ProtoReflect ¶
func (x *VerifyProofRequest) ProtoReflect() protoreflect.Message
func (*VerifyProofRequest) Reset ¶
func (x *VerifyProofRequest) Reset()
func (*VerifyProofRequest) String ¶
func (x *VerifyProofRequest) String() string
type VerifyProofResponse ¶
type VerifyProofResponse struct {
// contains filtered or unexported fields
}
func (*VerifyProofResponse) Descriptor
deprecated
func (*VerifyProofResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyProofResponse.ProtoReflect.Descriptor instead.
func (*VerifyProofResponse) ProtoMessage ¶
func (*VerifyProofResponse) ProtoMessage()
func (*VerifyProofResponse) ProtoReflect ¶
func (x *VerifyProofResponse) ProtoReflect() protoreflect.Message
func (*VerifyProofResponse) Reset ¶
func (x *VerifyProofResponse) Reset()
func (*VerifyProofResponse) String ¶
func (x *VerifyProofResponse) String() string
Click to show internal directories.
Click to hide internal directories.