Documentation
¶
Index ¶
- Variables
- type AlumniCredential
- func (*AlumniCredential) Descriptor() ([]byte, []int)deprecated
- func (x *AlumniCredential) GetAlumniOf() *AlumniOf
- func (x *AlumniCredential) GetId() string
- func (x *AlumniCredential) GetImage() string
- func (*AlumniCredential) ProtoMessage()
- func (x *AlumniCredential) ProtoReflect() protoreflect.Message
- func (x *AlumniCredential) Reset()
- func (x *AlumniCredential) String() string
- type AlumniOf
- type Bool
- type Code
- type Color
- type CommandError
- func (*CommandError) Descriptor() ([]byte, []int)deprecated
- func (x *CommandError) GetCode() int32
- func (x *CommandError) GetMessage() string
- func (x *CommandError) GetType() int32
- func (*CommandError) ProtoMessage()
- func (x *CommandError) ProtoReflect() protoreflect.Message
- func (x *CommandError) Reset()
- func (x *CommandError) String() string
- type Constraints
- func (*Constraints) Descriptor() ([]byte, []int)deprecated
- func (x *Constraints) GetFields() []*Field
- func (x *Constraints) GetIsHolder() []*Holder
- func (x *Constraints) GetLimitDisclosure() string
- func (x *Constraints) GetSubjectIsIssuer() string
- func (*Constraints) ProtoMessage()
- func (x *Constraints) ProtoReflect() protoreflect.Message
- func (x *Constraints) Reset()
- func (x *Constraints) String() string
- type CredentialOptions
- func (*CredentialOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialOptions) GetChallenge() string
- func (x *CredentialOptions) GetCreated() *timestamppb.Timestamp
- func (x *CredentialOptions) GetCredentialStatus() *CredentialStatus
- func (x *CredentialOptions) GetCredentials() *VerifiableCredential
- func (x *CredentialOptions) GetDomain() string
- func (*CredentialOptions) ProtoMessage()
- func (x *CredentialOptions) ProtoReflect() protoreflect.Message
- func (x *CredentialOptions) Reset()
- func (x *CredentialOptions) String() string
- type CredentialProof
- func (*CredentialProof) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialProof) GetAttributes() string
- func (x *CredentialProof) GetCapabilityChain() []string
- func (x *CredentialProof) GetChallenge() string
- func (x *CredentialProof) GetCreated() *timestamppb.Timestamp
- func (x *CredentialProof) GetCreator() string
- func (x *CredentialProof) GetDomain() string
- func (x *CredentialProof) GetIssuerData() *timestamppb.Timestamp
- func (x *CredentialProof) GetJws() string
- func (x *CredentialProof) GetNonRevocationProof() string
- func (x *CredentialProof) GetNonce() string
- func (x *CredentialProof) GetPrimaryProof() string
- func (x *CredentialProof) GetProofPurpose() string
- func (x *CredentialProof) GetProofValue() string
- func (x *CredentialProof) GetSignature() string
- func (x *CredentialProof) GetSignatureCorrectnessProof() string
- func (x *CredentialProof) GetSignatureRepresentation() SignatureRepresentation
- func (x *CredentialProof) GetType() string
- func (x *CredentialProof) GetVerificationMethod() string
- func (*CredentialProof) ProtoMessage()
- func (x *CredentialProof) ProtoReflect() protoreflect.Message
- func (x *CredentialProof) Reset()
- func (x *CredentialProof) String() string
- type CredentialSchema
- func (*CredentialSchema) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialSchema) GetId() string
- func (x *CredentialSchema) GetType() string
- func (*CredentialSchema) ProtoMessage()
- func (x *CredentialSchema) ProtoReflect() protoreflect.Message
- func (x *CredentialSchema) Reset()
- func (x *CredentialSchema) String() string
- type CredentialStatus
- func (*CredentialStatus) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialStatus) GetStatus() string
- func (x *CredentialStatus) GetStatusReason() *LangValue
- func (x *CredentialStatus) GetType() string
- func (*CredentialStatus) ProtoMessage()
- func (x *CredentialStatus) ProtoReflect() protoreflect.Message
- func (x *CredentialStatus) Reset()
- func (x *CredentialStatus) String() string
- type DeriveCredentialOptions
- func (*DeriveCredentialOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveCredentialOptions) GetNonce() string
- func (*DeriveCredentialOptions) ProtoMessage()
- func (x *DeriveCredentialOptions) ProtoReflect() protoreflect.Message
- func (x *DeriveCredentialOptions) Reset()
- func (x *DeriveCredentialOptions) String() string
- type DocGenericError
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetFilter() *Filter
- func (x *Field) GetId() string
- func (x *Field) GetPath() []string
- func (x *Field) GetPredicate() string
- func (x *Field) GetPurpose() string
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (x *Field) String() string
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetConst() string
- func (x *Filter) GetEnum() string
- func (x *Filter) GetExclusiveMinimum() int64
- func (x *Filter) GetFormat() string
- func (x *Filter) GetMaxLength() int32
- func (x *Filter) GetMaximum() int64
- func (x *Filter) GetMinLength() int32
- func (x *Filter) GetMinimum() int64
- func (x *Filter) GetNot() map[string]*anypb.Any
- func (x *Filter) GetPattern() string
- func (x *Filter) GetType() string
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type GenericError
- func (*GenericError) Descriptor() ([]byte, []int)deprecated
- func (x *GenericError) GetCode() Code
- func (x *GenericError) GetMessage() string
- func (*GenericError) ProtoMessage()
- func (x *GenericError) ProtoReflect() protoreflect.Message
- func (x *GenericError) Reset()
- func (x *GenericError) String() string
- type Holder
- type ImageURIWithAltText
- func (*ImageURIWithAltText) Descriptor() ([]byte, []int)deprecated
- func (x *ImageURIWithAltText) GetAlt() string
- func (x *ImageURIWithAltText) GetUri() string
- func (*ImageURIWithAltText) ProtoMessage()
- func (x *ImageURIWithAltText) ProtoReflect() protoreflect.Message
- func (x *ImageURIWithAltText) Reset()
- func (x *ImageURIWithAltText) String() string
- type Issuer
- func (*Issuer) Descriptor() ([]byte, []int)deprecated
- func (x *Issuer) GetCustomFields() map[string]*anypb.Any
- func (x *Issuer) GetId() string
- func (x *Issuer) GetName() string
- func (x *Issuer) GetStyles() *Styles
- func (*Issuer) ProtoMessage()
- func (x *Issuer) ProtoReflect() protoreflect.Message
- func (x *Issuer) Reset()
- func (x *Issuer) String() string
- type JWTCredClaims
- func (*JWTCredClaims) Descriptor() ([]byte, []int)deprecated
- func (x *JWTCredClaims) GetAud() []string
- func (x *JWTCredClaims) GetExp() int64
- func (x *JWTCredClaims) GetIat() int64
- func (x *JWTCredClaims) GetIss() string
- func (x *JWTCredClaims) GetJti() string
- func (x *JWTCredClaims) GetNbf() int64
- func (x *JWTCredClaims) GetSub() string
- func (x *JWTCredClaims) GetVc() map[string]*anypb.Any
- func (*JWTCredClaims) ProtoMessage()
- func (x *JWTCredClaims) ProtoReflect() protoreflect.Message
- func (x *JWTCredClaims) Reset()
- func (x *JWTCredClaims) String() string
- type LangValue
- type PresentationOptions
- func (*PresentationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PresentationOptions) GetChallenge() string
- func (x *PresentationOptions) GetCreated() *timestamppb.Timestamp
- func (x *PresentationOptions) GetDomain() string
- func (x *PresentationOptions) GetProofPurpose() string
- func (x *PresentationOptions) GetType() string
- func (x *PresentationOptions) GetVerificationMethod() string
- func (*PresentationOptions) ProtoMessage()
- func (x *PresentationOptions) ProtoReflect() protoreflect.Message
- func (x *PresentationOptions) Reset()
- func (x *PresentationOptions) String() string
- type Prohibition
- func (*Prohibition) Descriptor() ([]byte, []int)deprecated
- func (x *Prohibition) GetActions() []string
- func (x *Prohibition) GetAssignee() string
- func (x *Prohibition) GetAssigner() string
- func (x *Prohibition) GetTarget() string
- func (*Prohibition) ProtoMessage()
- func (x *Prohibition) ProtoReflect() protoreflect.Message
- func (x *Prohibition) Reset()
- func (x *Prohibition) String() string
- type ProofOptions
- func (*ProofOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ProofOptions) GetChallenge() string
- func (x *ProofOptions) GetController() string
- func (x *ProofOptions) GetCreated() *timestamppb.Timestamp
- func (x *ProofOptions) GetDomain() string
- func (x *ProofOptions) GetKid() string
- func (x *ProofOptions) GetProofPurpose() string
- func (x *ProofOptions) GetProofRepresentation() SignatureRepresentation
- func (x *ProofOptions) GetProofType() string
- func (x *ProofOptions) GetSignatureType() string
- func (x *ProofOptions) GetVerificationMethod() string
- func (*ProofOptions) ProtoMessage()
- func (x *ProofOptions) ProtoReflect() protoreflect.Message
- func (x *ProofOptions) Reset()
- func (x *ProofOptions) String() string
- type RefreshService
- func (*RefreshService) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshService) GetId() string
- func (x *RefreshService) GetType() string
- func (x *RefreshService) GetValidAfter() *timestamppb.Timestamp
- func (x *RefreshService) GetValidUntil() *timestamppb.Timestamp
- func (*RefreshService) ProtoMessage()
- func (x *RefreshService) ProtoReflect() protoreflect.Message
- func (x *RefreshService) Reset()
- func (x *RefreshService) String() string
- type RefreshableVerifiableCredential
- func (*RefreshableVerifiableCredential) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshableVerifiableCredential) GetContext() []string
- func (x *RefreshableVerifiableCredential) GetCredentialSchema() *CredentialSchema
- func (x *RefreshableVerifiableCredential) GetCredentialSubject() *anypb.Any
- func (x *RefreshableVerifiableCredential) GetEvidence() []*anypb.Any
- func (x *RefreshableVerifiableCredential) GetExpirationDate() *timestamppb.Timestamp
- func (x *RefreshableVerifiableCredential) GetId() string
- func (x *RefreshableVerifiableCredential) GetIssuanceDate() *timestamppb.Timestamp
- func (m *RefreshableVerifiableCredential) GetIssuer() isRefreshableVerifiableCredential_Issuer
- func (x *RefreshableVerifiableCredential) GetIssuerObject() *Issuer
- func (x *RefreshableVerifiableCredential) GetIssuserId() string
- func (x *RefreshableVerifiableCredential) GetName() string
- func (x *RefreshableVerifiableCredential) GetProof() *CredentialProof
- func (x *RefreshableVerifiableCredential) GetRefreshService() *RefreshService
- func (x *RefreshableVerifiableCredential) GetTermsOfUse() *TermsOfUse
- func (x *RefreshableVerifiableCredential) GetType() []string
- func (*RefreshableVerifiableCredential) ProtoMessage()
- func (x *RefreshableVerifiableCredential) ProtoReflect() protoreflect.Message
- func (x *RefreshableVerifiableCredential) Reset()
- func (x *RefreshableVerifiableCredential) String() string
- type RefreshableVerifiableCredential_IssuerObject
- type RefreshableVerifiableCredential_IssuserId
- type RefreshableVerifiablePresentation
- func (*RefreshableVerifiablePresentation) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshableVerifiablePresentation) GetContext() []string
- func (x *RefreshableVerifiablePresentation) GetCustomContext() []*anypb.Any
- func (x *RefreshableVerifiablePresentation) GetCustomFields() map[string]*anypb.Any
- func (x *RefreshableVerifiablePresentation) GetHolder() *anypb.Any
- func (x *RefreshableVerifiablePresentation) GetId() string
- func (x *RefreshableVerifiablePresentation) GetName() string
- func (x *RefreshableVerifiablePresentation) GetProofs() []*CredentialProof
- func (x *RefreshableVerifiablePresentation) GetRefreshService() *RefreshService
- func (x *RefreshableVerifiablePresentation) GetType() []string
- func (x *RefreshableVerifiablePresentation) GetVerifiableCredential() []*VerifiableCredential
- func (*RefreshableVerifiablePresentation) ProtoMessage()
- func (x *RefreshableVerifiablePresentation) ProtoReflect() protoreflect.Message
- func (x *RefreshableVerifiablePresentation) Reset()
- func (x *RefreshableVerifiablePresentation) String() string
- type RequestEnvelope
- type ResponseEnvelope
- func (*ResponseEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseEnvelope) GetError() *CommandError
- func (x *ResponseEnvelope) GetPayload() []byte
- func (*ResponseEnvelope) ProtoMessage()
- func (x *ResponseEnvelope) ProtoReflect() protoreflect.Message
- func (x *ResponseEnvelope) Reset()
- func (x *ResponseEnvelope) String() string
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)deprecated
- func (x *Schema) GetFormat() string
- func (x *Schema) GetRequired() bool
- func (x *Schema) GetType() string
- func (x *Schema) GetUri() string
- func (*Schema) ProtoMessage()
- func (x *Schema) ProtoReflect() protoreflect.Message
- func (x *Schema) Reset()
- func (x *Schema) String() string
- type SignatureRepresentation
- func (SignatureRepresentation) Descriptor() protoreflect.EnumDescriptor
- func (x SignatureRepresentation) Enum() *SignatureRepresentation
- func (SignatureRepresentation) EnumDescriptor() ([]byte, []int)deprecated
- func (x SignatureRepresentation) Number() protoreflect.EnumNumber
- func (x SignatureRepresentation) String() string
- func (SignatureRepresentation) Type() protoreflect.EnumType
- type Styles
- func (*Styles) Descriptor() ([]byte, []int)deprecated
- func (x *Styles) GetBackground() *Color
- func (x *Styles) GetHero() *ImageURIWithAltText
- func (x *Styles) GetText() *Color
- func (x *Styles) GetThumbnail() *ImageURIWithAltText
- func (*Styles) ProtoMessage()
- func (x *Styles) ProtoReflect() protoreflect.Message
- func (x *Styles) Reset()
- func (x *Styles) String() string
- type Subject
- type TermsOfUse
- func (*TermsOfUse) Descriptor() ([]byte, []int)deprecated
- func (x *TermsOfUse) GetId() string
- func (x *TermsOfUse) GetProfile() string
- func (x *TermsOfUse) GetProhibition() []*Prohibition
- func (x *TermsOfUse) GetType() string
- func (*TermsOfUse) ProtoMessage()
- func (x *TermsOfUse) ProtoReflect() protoreflect.Message
- func (x *TermsOfUse) Reset()
- func (x *TermsOfUse) String() string
- type TypedID
- func (*TypedID) Descriptor() ([]byte, []int)deprecated
- func (x *TypedID) GetCustomFields() map[string]*anypb.Any
- func (x *TypedID) GetId() string
- func (x *TypedID) GetType() string
- func (*TypedID) ProtoMessage()
- func (x *TypedID) ProtoReflect() protoreflect.Message
- func (x *TypedID) Reset()
- func (x *TypedID) String() string
- type VerifiableCredential
- func (*VerifiableCredential) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableCredential) GetContext() []string
- func (x *VerifiableCredential) GetCredentialSchema() *CredentialSchema
- func (x *VerifiableCredential) GetCredentialSubject() *anypb.Any
- func (x *VerifiableCredential) GetEvidence() []*anypb.Any
- func (x *VerifiableCredential) GetExpirationDate() *timestamppb.Timestamp
- func (x *VerifiableCredential) GetId() string
- func (x *VerifiableCredential) GetIssuanceDate() *timestamppb.Timestamp
- func (m *VerifiableCredential) GetIssuer() isVerifiableCredential_Issuer
- func (x *VerifiableCredential) GetIssuerObject() *Issuer
- func (x *VerifiableCredential) GetIssuserId() string
- func (x *VerifiableCredential) GetName() string
- func (x *VerifiableCredential) GetProof() *CredentialProof
- func (x *VerifiableCredential) GetTermsOfUse() *TermsOfUse
- func (x *VerifiableCredential) GetType() []string
- func (*VerifiableCredential) ProtoMessage()
- func (x *VerifiableCredential) ProtoReflect() protoreflect.Message
- func (x *VerifiableCredential) Reset()
- func (x *VerifiableCredential) String() string
- type VerifiableCredentialOptions
- func (*VerifiableCredentialOptions) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiableCredentialOptions) GetChallenge() string
- func (x *VerifiableCredentialOptions) GetDomain() string
- func (*VerifiableCredentialOptions) ProtoMessage()
- func (x *VerifiableCredentialOptions) ProtoReflect() protoreflect.Message
- func (x *VerifiableCredentialOptions) Reset()
- func (x *VerifiableCredentialOptions) String() string
- type VerifiableCredential_IssuerObject
- type VerifiableCredential_IssuserId
- type VerifiablePresentation
- func (*VerifiablePresentation) Descriptor() ([]byte, []int)deprecated
- func (x *VerifiablePresentation) GetContext() []string
- func (x *VerifiablePresentation) GetCustomContext() []*anypb.Any
- func (x *VerifiablePresentation) GetCustomFields() map[string]*anypb.Any
- func (x *VerifiablePresentation) GetHolder() *anypb.Any
- func (x *VerifiablePresentation) GetId() string
- func (x *VerifiablePresentation) GetName() string
- func (x *VerifiablePresentation) GetProofs() []*CredentialProof
- func (x *VerifiablePresentation) GetType() []string
- func (x *VerifiablePresentation) GetVerifiableCredential() []*VerifiableCredential
- func (*VerifiablePresentation) ProtoMessage()
- func (x *VerifiablePresentation) ProtoReflect() protoreflect.Message
- func (x *VerifiablePresentation) Reset()
- func (x *VerifiablePresentation) String() string
- type Void
Constants ¶
This section is empty.
Variables ¶
var ( Code_name = map[int32]string{ 0: "DEFAULT", 1000: "Common", 2000: "DIDExchange", 3000: "Messaging", 4000: "VDR", 5000: "ROUTE", 6000: "VC", 7000: "KMS", 8000: "IssueCredential", 9000: "PresentProof", 10000: "Introduce", 11000: "Outofband", 11100: "OutofbandV2", 12000: "VCWallet", 13000: "RFC0593", 14000: "LD", 15000: "Connection", } Code_value = map[string]int32{ "DEFAULT": 0, "Common": 1000, "DIDExchange": 2000, "Messaging": 3000, "VDR": 4000, "ROUTE": 5000, "VC": 6000, "KMS": 7000, "IssueCredential": 8000, "PresentProof": 9000, "Introduce": 10000, "Outofband": 11000, "OutofbandV2": 11100, "VCWallet": 12000, "RFC0593": 13000, "LD": 14000, "Connection": 15000, } )
Enum value maps for Code.
var ( SignatureRepresentation_name = map[int32]string{ 0: "proofValue", 1: "jws", } SignatureRepresentation_value = map[string]int32{ "proofValue": 0, "jws": 1, } )
Enum value maps for SignatureRepresentation.
var File_api_vc_types_common_proto protoreflect.FileDescriptor
var File_api_vc_types_credential_proto protoreflect.FileDescriptor
var File_api_vc_types_presentation_proto protoreflect.FileDescriptor
var File_api_vc_types_subject_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AlumniCredential ¶
type AlumniCredential struct { // id, e.g. did:example:ebfeb1f712ebc6f1c276e12ec21 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // e.g. https://example.edu/images/58473 Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` AlumniOf *AlumniOf `protobuf:"bytes,3,opt,name=alumniOf,proto3" json:"alumniOf,omitempty"` // contains filtered or unexported fields }
AlumniCredential
func (*AlumniCredential) Descriptor
deprecated
func (*AlumniCredential) Descriptor() ([]byte, []int)
Deprecated: Use AlumniCredential.ProtoReflect.Descriptor instead.
func (*AlumniCredential) GetAlumniOf ¶
func (x *AlumniCredential) GetAlumniOf() *AlumniOf
func (*AlumniCredential) GetId ¶
func (x *AlumniCredential) GetId() string
func (*AlumniCredential) GetImage ¶
func (x *AlumniCredential) GetImage() string
func (*AlumniCredential) ProtoMessage ¶
func (*AlumniCredential) ProtoMessage()
func (*AlumniCredential) ProtoReflect ¶
func (x *AlumniCredential) ProtoReflect() protoreflect.Message
func (*AlumniCredential) Reset ¶
func (x *AlumniCredential) Reset()
func (*AlumniCredential) String ¶
func (x *AlumniCredential) String() string
type AlumniOf ¶
type AlumniOf struct { // id, e.g. did:example:c276e12ec21ebfeb1f712ebc6f1 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name []*LangValue `protobuf:"bytes,2,rep,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
AlumniOf
func (*AlumniOf) Descriptor
deprecated
func (*AlumniOf) ProtoMessage ¶
func (*AlumniOf) ProtoMessage()
func (*AlumniOf) ProtoReflect ¶
func (x *AlumniOf) ProtoReflect() protoreflect.Message
type Bool ¶
type Bool struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // contains filtered or unexported fields }
func (*Bool) Descriptor
deprecated
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
func (*Bool) ProtoReflect ¶
func (x *Bool) ProtoReflect() protoreflect.Message
type Code ¶
type Code int32
TODO command types shouldn't be mentioned in common error package, [Issue#1182].
const ( Code_DEFAULT Code = 0 // Common error group for general command errors. Code_Common Code = 1000 // DIDExchange error group for DID exchange command errors. Code_DIDExchange Code = 2000 // Messaging error group for messaging service errors. Code_Messaging Code = 3000 // VDR error group for VDR command errors. Code_VDR Code = 4000 // ROUTE error group for Route command errors. Code_ROUTE Code = 5000 // VC error group for Verifiable Credential command errors. Code_VC Code = 6000 // KMS error group for key management service errors. Code_KMS Code = 7000 // IssueCredential error group for issue credential command errors. Code_IssueCredential Code = 8000 // PresentProof error group for present proof command errors. Code_PresentProof Code = 9000 // Introduce error group for introduce command errors. Code_Introduce Code = 10000 // Outofband error group for outofband command errors. Code_Outofband Code = 11000 // OutofbandV2 error group for outofband command errors. Code_OutofbandV2 Code = 11100 // VCWallet error group for verifiable Credential wallet command errors. Code_VCWallet Code = 12000 // RFC0593 error group for RFC0593 command errors. Code_RFC0593 Code = 13000 // LD error group for JSON-LD command errors. Code_LD Code = 14000 // Connection error group for connection management errors. Code_Connection Code = 15000 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type Color ¶
type Color struct { Color string `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"` // contains filtered or unexported fields }
Color represents a single color in RGB hex code format. swagger:model
func (*Color) Descriptor
deprecated
func (*Color) ProtoMessage ¶
func (*Color) ProtoMessage()
func (*Color) ProtoReflect ¶
func (x *Color) ProtoReflect() protoreflect.Message
type CommandError ¶
type CommandError struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
CommandError contains a basic command Error. swagger:model
func (*CommandError) Descriptor
deprecated
func (*CommandError) Descriptor() ([]byte, []int)
Deprecated: Use CommandError.ProtoReflect.Descriptor instead.
func (*CommandError) GetCode ¶
func (x *CommandError) GetCode() int32
func (*CommandError) GetMessage ¶
func (x *CommandError) GetMessage() string
func (*CommandError) GetType ¶
func (x *CommandError) GetType() int32
func (*CommandError) ProtoMessage ¶
func (*CommandError) ProtoMessage()
func (*CommandError) ProtoReflect ¶
func (x *CommandError) ProtoReflect() protoreflect.Message
func (*CommandError) Reset ¶
func (x *CommandError) Reset()
func (*CommandError) String ¶
func (x *CommandError) String() string
type Constraints ¶
type Constraints struct { LimitDisclosure string `protobuf:"bytes,1,opt,name=limit_disclosure,json=limitDisclosure,proto3" json:"limit_disclosure,omitempty"` // preference SubjectIsIssuer string `protobuf:"bytes,2,opt,name=subject_is_issuer,json=subjectIsIssuer,proto3" json:"subject_is_issuer,omitempty"` // preference IsHolder []*Holder `protobuf:"bytes,3,rep,name=is_holder,json=isHolder,proto3" json:"is_holder,omitempty"` Fields []*Field `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
Constraints describes InputDescriptor`s Constraints field. swagger:model
func (*Constraints) Descriptor
deprecated
func (*Constraints) Descriptor() ([]byte, []int)
Deprecated: Use Constraints.ProtoReflect.Descriptor instead.
func (*Constraints) GetFields ¶
func (x *Constraints) GetFields() []*Field
func (*Constraints) GetIsHolder ¶
func (x *Constraints) GetIsHolder() []*Holder
func (*Constraints) GetLimitDisclosure ¶
func (x *Constraints) GetLimitDisclosure() string
func (*Constraints) GetSubjectIsIssuer ¶
func (x *Constraints) GetSubjectIsIssuer() string
func (*Constraints) ProtoMessage ¶
func (*Constraints) ProtoMessage()
func (*Constraints) ProtoReflect ¶
func (x *Constraints) ProtoReflect() protoreflect.Message
func (*Constraints) Reset ¶
func (x *Constraints) Reset()
func (*Constraints) String ¶
func (x *Constraints) String() string
type CredentialOptions ¶
type CredentialOptions struct { // The intended domain of validity for the proof. For example website.example Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // A challenge provided by the requesting party of the proof. For example 6e62f66e-67de-11eb-b490-ef3eeefa55f2 Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"` Credentials *VerifiableCredential `protobuf:"bytes,3,opt,name=credentials,proto3" json:"credentials,omitempty"` // without proof // The method of credential status to issue the credential including. If omitted credential status will be included. CredentialStatus *CredentialStatus `protobuf:"bytes,4,opt,name=credentialStatus,proto3" json:"credentialStatus,omitempty"` // The created string Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
CredentialOptions options
func (*CredentialOptions) Descriptor
deprecated
func (*CredentialOptions) Descriptor() ([]byte, []int)
Deprecated: Use CredentialOptions.ProtoReflect.Descriptor instead.
func (*CredentialOptions) GetChallenge ¶
func (x *CredentialOptions) GetChallenge() string
func (*CredentialOptions) GetCreated ¶
func (x *CredentialOptions) GetCreated() *timestamppb.Timestamp
func (*CredentialOptions) GetCredentialStatus ¶
func (x *CredentialOptions) GetCredentialStatus() *CredentialStatus
func (*CredentialOptions) GetCredentials ¶
func (x *CredentialOptions) GetCredentials() *VerifiableCredential
func (*CredentialOptions) GetDomain ¶
func (x *CredentialOptions) GetDomain() string
func (*CredentialOptions) ProtoMessage ¶
func (*CredentialOptions) ProtoMessage()
func (*CredentialOptions) ProtoReflect ¶
func (x *CredentialOptions) ProtoReflect() protoreflect.Message
func (*CredentialOptions) Reset ¶
func (x *CredentialOptions) Reset()
func (*CredentialOptions) String ¶
func (x *CredentialOptions) String() string
type CredentialProof ¶
type CredentialProof struct { // Linked Data Signature Suite used to produce proof. // e.g. RsaSignature2018 or CLSignature2019 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // A value chosen by the verifier to mitigate authentication proof replay attacks. Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"` // The domain of the proof to restrict its use to a particular target. Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // A value chosen by the creator of a proof to randomize proof values for privacy purposes. Nonce string `protobuf:"bytes,4,opt,name=nonce,proto3" json:"nonce,omitempty"` // Verification Method used to verify proof. // e.g. https://example.edu/issuers/14#key-1 or https://example.edu/issuers/565049#key-1 VerificationMethod string `protobuf:"bytes,5,opt,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` // The purpose of the proof to be used with verificationMethod // e.g. assertionMethod ProofPurpose string `protobuf:"bytes,6,opt,name=proofPurpose,proto3" json:"proofPurpose,omitempty"` // Detached JSON Web Signature Jws string `protobuf:"bytes,7,opt,name=jws,proto3" json:"jws,omitempty"` // Value of the Linked Data proof. // e.g. z2aArNcQKX9aqYK7GRZmV7c9xfGuwB5YAXhkYY9DTvLdTCQEsXaNpz1G ProofValue string `protobuf:"bytes,8,opt,name=proofValue,proto3" json:"proofValue,omitempty"` // e.g. "attributes": "pPYmqDvwwWBDPNykXVrBtKdsJDeZUGFA...tTERiLqsZ5oxCoCSodPQaggkDJy", Attributes string `protobuf:"bytes,9,opt,name=attributes,proto3" json:"attributes,omitempty"` Signature string `protobuf:"bytes,10,opt,name=signature,proto3" json:"signature,omitempty"` SignatureCorrectnessProof string `protobuf:"bytes,11,opt,name=signatureCorrectnessProof,proto3" json:"signatureCorrectnessProof,omitempty"` PrimaryProof string `protobuf:"bytes,12,opt,name=primaryProof,proto3" json:"primaryProof,omitempty"` NonRevocationProof string `protobuf:"bytes,13,opt,name=nonRevocationProof,proto3" json:"nonRevocationProof,omitempty"` // The issuerData string IssuerData *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=issuerData,proto3" json:"issuerData,omitempty"` Creator string `protobuf:"bytes,15,opt,name=creator,proto3" json:"creator,omitempty"` // The created string Created *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=created,proto3" json:"created,omitempty"` // CapabilityChain must be an array. Each element is either a string or an object. CapabilityChain []string `protobuf:"bytes,17,rep,name=capabilityChain,proto3" json:"capabilityChain,omitempty"` // oneof Any or string SignatureRepresentation SignatureRepresentation `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
CredentialProof for verifiable credentials swagger:model
func (*CredentialProof) Descriptor
deprecated
func (*CredentialProof) Descriptor() ([]byte, []int)
Deprecated: Use CredentialProof.ProtoReflect.Descriptor instead.
func (*CredentialProof) GetAttributes ¶
func (x *CredentialProof) GetAttributes() string
func (*CredentialProof) GetCapabilityChain ¶
func (x *CredentialProof) GetCapabilityChain() []string
func (*CredentialProof) GetChallenge ¶
func (x *CredentialProof) GetChallenge() string
func (*CredentialProof) GetCreated ¶
func (x *CredentialProof) GetCreated() *timestamppb.Timestamp
func (*CredentialProof) GetCreator ¶
func (x *CredentialProof) GetCreator() string
func (*CredentialProof) GetDomain ¶
func (x *CredentialProof) GetDomain() string
func (*CredentialProof) GetIssuerData ¶
func (x *CredentialProof) GetIssuerData() *timestamppb.Timestamp
func (*CredentialProof) GetJws ¶
func (x *CredentialProof) GetJws() string
func (*CredentialProof) GetNonRevocationProof ¶
func (x *CredentialProof) GetNonRevocationProof() string
func (*CredentialProof) GetNonce ¶
func (x *CredentialProof) GetNonce() string
func (*CredentialProof) GetPrimaryProof ¶
func (x *CredentialProof) GetPrimaryProof() string
func (*CredentialProof) GetProofPurpose ¶
func (x *CredentialProof) GetProofPurpose() string
func (*CredentialProof) GetProofValue ¶
func (x *CredentialProof) GetProofValue() string
func (*CredentialProof) GetSignature ¶
func (x *CredentialProof) GetSignature() string
func (*CredentialProof) GetSignatureCorrectnessProof ¶
func (x *CredentialProof) GetSignatureCorrectnessProof() string
func (*CredentialProof) GetSignatureRepresentation ¶
func (x *CredentialProof) GetSignatureRepresentation() SignatureRepresentation
func (*CredentialProof) GetType ¶
func (x *CredentialProof) GetType() string
func (*CredentialProof) GetVerificationMethod ¶
func (x *CredentialProof) GetVerificationMethod() string
func (*CredentialProof) ProtoMessage ¶
func (*CredentialProof) ProtoMessage()
func (*CredentialProof) ProtoReflect ¶
func (x *CredentialProof) ProtoReflect() protoreflect.Message
func (*CredentialProof) Reset ¶
func (x *CredentialProof) Reset()
func (*CredentialProof) String ¶
func (x *CredentialProof) String() string
type CredentialSchema ¶
type CredentialSchema struct { // id of schema // e.g. https://example.org/examples/degree.json Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // type of schema // e.g. JsonSchemaValidator2018 or ZkpExampleSchema2018 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*CredentialSchema) Descriptor
deprecated
func (*CredentialSchema) Descriptor() ([]byte, []int)
Deprecated: Use CredentialSchema.ProtoReflect.Descriptor instead.
func (*CredentialSchema) GetId ¶
func (x *CredentialSchema) GetId() string
func (*CredentialSchema) GetType ¶
func (x *CredentialSchema) GetType() string
func (*CredentialSchema) ProtoMessage ¶
func (*CredentialSchema) ProtoMessage()
func (*CredentialSchema) ProtoReflect ¶
func (x *CredentialSchema) ProtoReflect() protoreflect.Message
func (*CredentialSchema) Reset ¶
func (x *CredentialSchema) Reset()
func (*CredentialSchema) String ¶
func (x *CredentialSchema) String() string
type CredentialStatus ¶
type CredentialStatus struct { // The type of credential status to issue the credential with Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // The status of credential Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // statusReason // { // "value": "Address is out of date.", // "lang": "en" // }, StatusReason *LangValue `protobuf:"bytes,3,opt,name=statusReason,proto3" json:"statusReason,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*CredentialStatus) Descriptor
deprecated
func (*CredentialStatus) Descriptor() ([]byte, []int)
Deprecated: Use CredentialStatus.ProtoReflect.Descriptor instead.
func (*CredentialStatus) GetStatus ¶
func (x *CredentialStatus) GetStatus() string
func (*CredentialStatus) GetStatusReason ¶
func (x *CredentialStatus) GetStatusReason() *LangValue
func (*CredentialStatus) GetType ¶
func (x *CredentialStatus) GetType() string
func (*CredentialStatus) ProtoMessage ¶
func (*CredentialStatus) ProtoMessage()
func (*CredentialStatus) ProtoReflect ¶
func (x *CredentialStatus) ProtoReflect() protoreflect.Message
func (*CredentialStatus) Reset ¶
func (x *CredentialStatus) Reset()
func (*CredentialStatus) String ¶
func (x *CredentialStatus) String() string
type DeriveCredentialOptions ¶
type DeriveCredentialOptions struct { // An encoded nonce provided by the holder of the credential to be included into the LinkedDataProof. Nonce string `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*DeriveCredentialOptions) Descriptor
deprecated
func (*DeriveCredentialOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeriveCredentialOptions.ProtoReflect.Descriptor instead.
func (*DeriveCredentialOptions) GetNonce ¶
func (x *DeriveCredentialOptions) GetNonce() string
func (*DeriveCredentialOptions) ProtoMessage ¶
func (*DeriveCredentialOptions) ProtoMessage()
func (*DeriveCredentialOptions) ProtoReflect ¶
func (x *DeriveCredentialOptions) ProtoReflect() protoreflect.Message
func (*DeriveCredentialOptions) Reset ¶
func (x *DeriveCredentialOptions) Reset()
func (*DeriveCredentialOptions) String ¶
func (x *DeriveCredentialOptions) String() string
type DocGenericError ¶
type DocGenericError struct { // in: body Body *GenericError `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
swagger:response genericError
func (*DocGenericError) Descriptor
deprecated
func (*DocGenericError) Descriptor() ([]byte, []int)
Deprecated: Use DocGenericError.ProtoReflect.Descriptor instead.
func (*DocGenericError) GetBody ¶
func (x *DocGenericError) GetBody() *GenericError
func (*DocGenericError) ProtoMessage ¶
func (*DocGenericError) ProtoMessage()
func (*DocGenericError) ProtoReflect ¶
func (x *DocGenericError) ProtoReflect() protoreflect.Message
func (*DocGenericError) Reset ¶
func (x *DocGenericError) Reset()
func (*DocGenericError) String ¶
func (x *DocGenericError) String() string
type Field ¶
type Field struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` Purpose string `protobuf:"bytes,3,opt,name=purpose,proto3" json:"purpose,omitempty"` Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` Predicate string `protobuf:"bytes,5,opt,name=predicate,proto3" json:"predicate,omitempty"` // preference // contains filtered or unexported fields }
Field describes Constraints`s Fields field. swagger:model
func (*Field) Descriptor
deprecated
func (*Field) GetPredicate ¶
func (*Field) GetPurpose ¶
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type Filter ¶
type Filter struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Pattern string `protobuf:"bytes,3,opt,name=pattern,proto3" json:"pattern,omitempty"` Minimum int64 `protobuf:"varint,4,opt,name=minimum,proto3" json:"minimum,omitempty"` // StrOrInt Maximum int64 `protobuf:"varint,5,opt,name=maximum,proto3" json:"maximum,omitempty"` // StrOrInt MinLength int32 `protobuf:"varint,6,opt,name=minLength,proto3" json:"minLength,omitempty"` MaxLength int32 `protobuf:"varint,7,opt,name=maxLength,proto3" json:"maxLength,omitempty"` ExclusiveMinimum int64 `protobuf:"varint,8,opt,name=exclusiveMinimum,proto3" json:"exclusiveMinimum,omitempty"` Const string `protobuf:"bytes,9,opt,name=const,proto3" json:"const,omitempty"` // StrOrInt Enum string `protobuf:"bytes,10,opt,name=enum,proto3" json:"enum,omitempty"` // StrOrInt Not map[string]*anypb.Any `` /* 148-byte string literal not displayed */ // contains filtered or unexported fields }
Filter describes filter. swagger:model
func (*Filter) Descriptor
deprecated
func (*Filter) GetExclusiveMinimum ¶
func (*Filter) GetMaxLength ¶
func (*Filter) GetMaximum ¶
func (*Filter) GetMinLength ¶
func (*Filter) GetMinimum ¶
func (*Filter) GetPattern ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type GenericError ¶
type GenericError struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=api.vc.types.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
GenericError is aries rest api error response
func (*GenericError) Descriptor
deprecated
func (*GenericError) Descriptor() ([]byte, []int)
Deprecated: Use GenericError.ProtoReflect.Descriptor instead.
func (*GenericError) GetCode ¶
func (x *GenericError) GetCode() Code
func (*GenericError) GetMessage ¶
func (x *GenericError) GetMessage() string
func (*GenericError) ProtoMessage ¶
func (*GenericError) ProtoMessage()
func (*GenericError) ProtoReflect ¶
func (x *GenericError) ProtoReflect() protoreflect.Message
func (*GenericError) Reset ¶
func (x *GenericError) Reset()
func (*GenericError) String ¶
func (x *GenericError) String() string
type Holder ¶
type Holder struct { FieldId []string `protobuf:"bytes,1,rep,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` Directive string `protobuf:"bytes,2,opt,name=directive,proto3" json:"directive,omitempty"` // preference // contains filtered or unexported fields }
Holder describes Constraints`s holder object. swagger:model
func (*Holder) Descriptor
deprecated
func (*Holder) GetDirective ¶
func (*Holder) GetFieldId ¶
func (*Holder) ProtoMessage ¶
func (*Holder) ProtoMessage()
func (*Holder) ProtoReflect ¶
func (x *Holder) ProtoReflect() protoreflect.Message
type ImageURIWithAltText ¶
type ImageURIWithAltText struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` Alt string `protobuf:"bytes,2,opt,name=alt,proto3" json:"alt,omitempty"` // contains filtered or unexported fields }
ImageURIWithAltText represents a URI that points to an image along with the alt text for it. swagger:model
func (*ImageURIWithAltText) Descriptor
deprecated
func (*ImageURIWithAltText) Descriptor() ([]byte, []int)
Deprecated: Use ImageURIWithAltText.ProtoReflect.Descriptor instead.
func (*ImageURIWithAltText) GetAlt ¶
func (x *ImageURIWithAltText) GetAlt() string
func (*ImageURIWithAltText) GetUri ¶
func (x *ImageURIWithAltText) GetUri() string
func (*ImageURIWithAltText) ProtoMessage ¶
func (*ImageURIWithAltText) ProtoMessage()
func (*ImageURIWithAltText) ProtoReflect ¶
func (x *ImageURIWithAltText) ProtoReflect() protoreflect.Message
func (*ImageURIWithAltText) Reset ¶
func (x *ImageURIWithAltText) Reset()
func (*ImageURIWithAltText) String ¶
func (x *ImageURIWithAltText) String() string
type Issuer ¶
type Issuer struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Must be a valid URI Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Styles *Styles `protobuf:"bytes,3,opt,name=styles,proto3" json:"styles,omitempty"` CustomFields map[string]*anypb.Any `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
Issuer - A JSON-LD Verifiable Credential Issuer. Issuer represents the issuer object defined in https://identity.foundation/credential-manifest/#general-composition. swagger:model
func (*Issuer) Descriptor
deprecated
func (*Issuer) ProtoMessage ¶
func (*Issuer) ProtoMessage()
func (*Issuer) ProtoReflect ¶
func (x *Issuer) ProtoReflect() protoreflect.Message
type JWTCredClaims ¶
type JWTCredClaims struct { Iss string `protobuf:"bytes,1,opt,name=iss,proto3" json:"iss,omitempty"` // issuer Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` // subject Aud []string `protobuf:"bytes,3,rep,name=aud,proto3" json:"aud,omitempty"` // audience Exp int64 `protobuf:"varint,4,opt,name=exp,proto3" json:"exp,omitempty"` // expiry Nbf int64 `protobuf:"varint,5,opt,name=nbf,proto3" json:"nbf,omitempty"` // NotBefore Iat int64 `protobuf:"varint,6,opt,name=iat,proto3" json:"iat,omitempty"` // IssuedAt Jti string `protobuf:"bytes,7,opt,name=jti,proto3" json:"jti,omitempty"` // id Vc map[string]*anypb.Any `` // VerifiableCredential /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
JWTCredClaims is JWT Claims extension by Verifiable Credential (with custom "vc" claim). swagger:model
func (*JWTCredClaims) Descriptor
deprecated
func (*JWTCredClaims) Descriptor() ([]byte, []int)
Deprecated: Use JWTCredClaims.ProtoReflect.Descriptor instead.
func (*JWTCredClaims) GetAud ¶
func (x *JWTCredClaims) GetAud() []string
func (*JWTCredClaims) GetExp ¶
func (x *JWTCredClaims) GetExp() int64
func (*JWTCredClaims) GetIat ¶
func (x *JWTCredClaims) GetIat() int64
func (*JWTCredClaims) GetIss ¶
func (x *JWTCredClaims) GetIss() string
func (*JWTCredClaims) GetJti ¶
func (x *JWTCredClaims) GetJti() string
func (*JWTCredClaims) GetNbf ¶
func (x *JWTCredClaims) GetNbf() int64
func (*JWTCredClaims) GetSub ¶
func (x *JWTCredClaims) GetSub() string
func (*JWTCredClaims) ProtoMessage ¶
func (*JWTCredClaims) ProtoMessage()
func (*JWTCredClaims) ProtoReflect ¶
func (x *JWTCredClaims) ProtoReflect() protoreflect.Message
func (*JWTCredClaims) Reset ¶
func (x *JWTCredClaims) Reset()
func (*JWTCredClaims) String ¶
func (x *JWTCredClaims) String() string
type LangValue ¶
type LangValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Lang string `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"` // contains filtered or unexported fields }
LangValue
func (*LangValue) Descriptor
deprecated
func (*LangValue) ProtoMessage ¶
func (*LangValue) ProtoMessage()
func (*LangValue) ProtoReflect ¶
func (x *LangValue) ProtoReflect() protoreflect.Message
type PresentationOptions ¶
type PresentationOptions struct { // The type of the proof. Default is an appropriate proof type corresponding to the verification method. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // The URI of the verificationMethod used for the proof. If omitted, a default verification method will be used. VerificationMethod string `protobuf:"bytes,2,opt,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` // The purpose of the proof. Default 'assertionMethod'. ProofPurpose string `protobuf:"bytes,3,opt,name=proofPurpose,proto3" json:"proofPurpose,omitempty"` // A challenge provided by the requesting party of the proof. For example 6e62f66e-67de-11eb-b490-ef3eeefa55f2 Challenge string `protobuf:"bytes,4,opt,name=challenge,proto3" json:"challenge,omitempty"` // The intended domain of validity for the proof. For example website.example Domain string `protobuf:"bytes,5,opt,name=domain,proto3" json:"domain,omitempty"` // The created string Created *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
PresentationOptions for verifiable credentials
func (*PresentationOptions) Descriptor
deprecated
func (*PresentationOptions) Descriptor() ([]byte, []int)
Deprecated: Use PresentationOptions.ProtoReflect.Descriptor instead.
func (*PresentationOptions) GetChallenge ¶
func (x *PresentationOptions) GetChallenge() string
func (*PresentationOptions) GetCreated ¶
func (x *PresentationOptions) GetCreated() *timestamppb.Timestamp
func (*PresentationOptions) GetDomain ¶
func (x *PresentationOptions) GetDomain() string
func (*PresentationOptions) GetProofPurpose ¶
func (x *PresentationOptions) GetProofPurpose() string
func (*PresentationOptions) GetType ¶
func (x *PresentationOptions) GetType() string
func (*PresentationOptions) GetVerificationMethod ¶
func (x *PresentationOptions) GetVerificationMethod() string
func (*PresentationOptions) ProtoMessage ¶
func (*PresentationOptions) ProtoMessage()
func (*PresentationOptions) ProtoReflect ¶
func (x *PresentationOptions) ProtoReflect() protoreflect.Message
func (*PresentationOptions) Reset ¶
func (x *PresentationOptions) Reset()
func (*PresentationOptions) String ¶
func (x *PresentationOptions) String() string
type Prohibition ¶
type Prohibition struct { // The assigner, e.g. https://example.edu/issuers/14 Assigner string `protobuf:"bytes,1,opt,name=assigner,proto3" json:"assigner,omitempty"` // The assignee, e.g. AllVerifiers Assignee string `protobuf:"bytes,2,opt,name=assignee,proto3" json:"assignee,omitempty"` // The target, e.g. http://example.edu/credentials/3732 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // The actions, e.g ["Archival"] Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*Prohibition) Descriptor
deprecated
func (*Prohibition) Descriptor() ([]byte, []int)
Deprecated: Use Prohibition.ProtoReflect.Descriptor instead.
func (*Prohibition) GetActions ¶
func (x *Prohibition) GetActions() []string
func (*Prohibition) GetAssignee ¶
func (x *Prohibition) GetAssignee() string
func (*Prohibition) GetAssigner ¶
func (x *Prohibition) GetAssigner() string
func (*Prohibition) GetTarget ¶
func (x *Prohibition) GetTarget() string
func (*Prohibition) ProtoMessage ¶
func (*Prohibition) ProtoMessage()
func (*Prohibition) ProtoReflect ¶
func (x *Prohibition) ProtoReflect() protoreflect.Message
func (*Prohibition) Reset ¶
func (x *Prohibition) Reset()
func (*Prohibition) String ¶
func (x *Prohibition) String() string
type ProofOptions ¶
type ProofOptions struct { Kid string `protobuf:"bytes,1,opt,name=kid,proto3" json:"kid,omitempty"` // Controller is a DID to be for signing. This option is required for issue/prove wallet features. Controller string `protobuf:"bytes,2,opt,name=controller,proto3" json:"controller,omitempty"` // VerificationMethod is the URI of the verificationMethod used for the proof. // Optional, by default Controller public key matching 'assertion' for issue or 'authentication' for prove functions. VerificationMethod string `protobuf:"bytes,3,opt,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` // Domain is operational domain of a digital proof. // Optional, by default domain will not be part of proof. Domain string `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` // Challenge is a random or pseudo-random value option authentication. // Optional, by default challenge will not be part of proof. Challenge string `protobuf:"bytes,5,opt,name=challenge,proto3" json:"challenge,omitempty"` // ProofType is signature type used for signing. // Optional, by default proof will be generated in Ed25519Signature2018 format. ProofType string `protobuf:"bytes,6,opt,name=proofType,proto3" json:"proofType,omitempty"` // proofPurpose is purpose of the proof. ProofPurpose string `protobuf:"bytes,7,opt,name=proofPurpose,proto3" json:"proofPurpose,omitempty"` // ProofRepresentation is type of proof data expected, (Refer verifiable.SignatureProofValue) // Optional, by default proof will be represented as 'verifiable.SignatureProofValue'. ProofRepresentation SignatureRepresentation `` /* 134-byte string literal not displayed */ // SignatureType signature type used for signing SignatureType string `protobuf:"bytes,9,opt,name=signatureType,proto3" json:"signatureType,omitempty"` // Created date of the proof. // Optional, current system time will be used. Created *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created,proto3" json:"created,omitempty"` // contains filtered or unexported fields }
ProofOptions model
Options for adding linked data proofs to a verifiable credential or a verifiable presentation. To be used as options for issue/prove wallet features.
swagger:model
func (*ProofOptions) Descriptor
deprecated
func (*ProofOptions) Descriptor() ([]byte, []int)
Deprecated: Use ProofOptions.ProtoReflect.Descriptor instead.
func (*ProofOptions) GetChallenge ¶
func (x *ProofOptions) GetChallenge() string
func (*ProofOptions) GetController ¶
func (x *ProofOptions) GetController() string
func (*ProofOptions) GetCreated ¶
func (x *ProofOptions) GetCreated() *timestamppb.Timestamp
func (*ProofOptions) GetDomain ¶
func (x *ProofOptions) GetDomain() string
func (*ProofOptions) GetKid ¶
func (x *ProofOptions) GetKid() string
func (*ProofOptions) GetProofPurpose ¶
func (x *ProofOptions) GetProofPurpose() string
func (*ProofOptions) GetProofRepresentation ¶
func (x *ProofOptions) GetProofRepresentation() SignatureRepresentation
func (*ProofOptions) GetProofType ¶
func (x *ProofOptions) GetProofType() string
func (*ProofOptions) GetSignatureType ¶
func (x *ProofOptions) GetSignatureType() string
func (*ProofOptions) GetVerificationMethod ¶
func (x *ProofOptions) GetVerificationMethod() string
func (*ProofOptions) ProtoMessage ¶
func (*ProofOptions) ProtoMessage()
func (*ProofOptions) ProtoReflect ¶
func (x *ProofOptions) ProtoReflect() protoreflect.Message
func (*ProofOptions) Reset ¶
func (x *ProofOptions) Reset()
func (*ProofOptions) String ¶
func (x *ProofOptions) String() string
type RefreshService ¶
type RefreshService struct { // The id for refresh // e.g. https://example.edu/exchanges/refresh-degree or https://example.edu/refresh/3732 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // type of refresh, e.g. ManualRefreshService2018 Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // validAfter ValidAfter *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=validAfter,proto3" json:"validAfter,omitempty"` // validUntil ValidUntil *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=validUntil,proto3" json:"validUntil,omitempty"` // contains filtered or unexported fields }
RefreshService for Verifiable Credential swagger:model
func (*RefreshService) Descriptor
deprecated
func (*RefreshService) Descriptor() ([]byte, []int)
Deprecated: Use RefreshService.ProtoReflect.Descriptor instead.
func (*RefreshService) GetId ¶
func (x *RefreshService) GetId() string
func (*RefreshService) GetType ¶
func (x *RefreshService) GetType() string
func (*RefreshService) GetValidAfter ¶
func (x *RefreshService) GetValidAfter() *timestamppb.Timestamp
func (*RefreshService) GetValidUntil ¶
func (x *RefreshService) GetValidUntil() *timestamppb.Timestamp
func (*RefreshService) ProtoMessage ¶
func (*RefreshService) ProtoMessage()
func (*RefreshService) ProtoReflect ¶
func (x *RefreshService) ProtoReflect() protoreflect.Message
func (*RefreshService) Reset ¶
func (x *RefreshService) Reset()
func (*RefreshService) String ¶
func (x *RefreshService) String() string
type RefreshableVerifiableCredential ¶
type RefreshableVerifiableCredential struct { // The ID of the credential. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The JSON-LD context of the credential. Each item in the @context array MUST be a string. // "@context": [ // "https://www.w3.org/2018/credentials/v1", // "https://www.w3.org/2018/credentials/examples/v1" // ] Context []string `protobuf:"bytes,2,rep,name=context,proto3" json:"context,omitempty"` // The JSON-LD type of the credential. Each item in the type array MUST be a string. Type []string `protobuf:"bytes,3,rep,name=type,proto3" json:"type,omitempty"` // A JSON-LD Verifiable Credential Issuer. The issuer object MUST be either a string or an object of the following form: // // Types that are assignable to Issuer: // *RefreshableVerifiableCredential_IssuserId // *RefreshableVerifiableCredential_IssuerObject Issuer isRefreshableVerifiableCredential_Issuer `protobuf_oneof:"issuer"` // The issuanceDate string IssuanceDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=issuanceDate,proto3" json:"issuanceDate,omitempty"` // The expirationDate string ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expirationDate,proto3" json:"expirationDate,omitempty"` // The method of credential status to issue the credential including. If omitted credential status will be included. CredentialSubject *anypb.Any `protobuf:"bytes,8,opt,name=credentialSubject,proto3" json:"credentialSubject,omitempty"` CredentialSchema *CredentialSchema `protobuf:"bytes,9,opt,name=credentialSchema,proto3" json:"credentialSchema,omitempty"` TermsOfUse *TermsOfUse `protobuf:"bytes,10,opt,name=termsOfUse,proto3" json:"termsOfUse,omitempty"` // Evidence can be included by an issuer to provide the verifier with additional supporting information in a // verifiable credential. This could be used by the verifier to establish the confidence with which // it relies on the claims in the verifiable credential. Evidence []*anypb.Any `protobuf:"bytes,11,rep,name=evidence,proto3" json:"evidence,omitempty"` // A JSON-LD Linked Data proof Proof *CredentialProof `protobuf:"bytes,12,opt,name=proof,proto3" json:"proof,omitempty"` Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // non-standard // RefreshService RefreshService *RefreshService `protobuf:"bytes,14,opt,name=refreshService,proto3" json:"refreshService,omitempty"` // contains filtered or unexported fields }
RefreshableVerifiableCredential for verifiable credentials swagger:model
func (*RefreshableVerifiableCredential) Descriptor
deprecated
func (*RefreshableVerifiableCredential) Descriptor() ([]byte, []int)
Deprecated: Use RefreshableVerifiableCredential.ProtoReflect.Descriptor instead.
func (*RefreshableVerifiableCredential) GetContext ¶
func (x *RefreshableVerifiableCredential) GetContext() []string
func (*RefreshableVerifiableCredential) GetCredentialSchema ¶
func (x *RefreshableVerifiableCredential) GetCredentialSchema() *CredentialSchema
func (*RefreshableVerifiableCredential) GetCredentialSubject ¶
func (x *RefreshableVerifiableCredential) GetCredentialSubject() *anypb.Any
func (*RefreshableVerifiableCredential) GetEvidence ¶
func (x *RefreshableVerifiableCredential) GetEvidence() []*anypb.Any
func (*RefreshableVerifiableCredential) GetExpirationDate ¶
func (x *RefreshableVerifiableCredential) GetExpirationDate() *timestamppb.Timestamp
func (*RefreshableVerifiableCredential) GetId ¶
func (x *RefreshableVerifiableCredential) GetId() string
func (*RefreshableVerifiableCredential) GetIssuanceDate ¶
func (x *RefreshableVerifiableCredential) GetIssuanceDate() *timestamppb.Timestamp
func (*RefreshableVerifiableCredential) GetIssuer ¶
func (m *RefreshableVerifiableCredential) GetIssuer() isRefreshableVerifiableCredential_Issuer
func (*RefreshableVerifiableCredential) GetIssuerObject ¶
func (x *RefreshableVerifiableCredential) GetIssuerObject() *Issuer
func (*RefreshableVerifiableCredential) GetIssuserId ¶
func (x *RefreshableVerifiableCredential) GetIssuserId() string
func (*RefreshableVerifiableCredential) GetName ¶
func (x *RefreshableVerifiableCredential) GetName() string
func (*RefreshableVerifiableCredential) GetProof ¶
func (x *RefreshableVerifiableCredential) GetProof() *CredentialProof
func (*RefreshableVerifiableCredential) GetRefreshService ¶
func (x *RefreshableVerifiableCredential) GetRefreshService() *RefreshService
func (*RefreshableVerifiableCredential) GetTermsOfUse ¶
func (x *RefreshableVerifiableCredential) GetTermsOfUse() *TermsOfUse
func (*RefreshableVerifiableCredential) GetType ¶
func (x *RefreshableVerifiableCredential) GetType() []string
func (*RefreshableVerifiableCredential) ProtoMessage ¶
func (*RefreshableVerifiableCredential) ProtoMessage()
func (*RefreshableVerifiableCredential) ProtoReflect ¶
func (x *RefreshableVerifiableCredential) ProtoReflect() protoreflect.Message
func (*RefreshableVerifiableCredential) Reset ¶
func (x *RefreshableVerifiableCredential) Reset()
func (*RefreshableVerifiableCredential) String ¶
func (x *RefreshableVerifiableCredential) String() string
type RefreshableVerifiableCredential_IssuerObject ¶
type RefreshableVerifiableCredential_IssuerObject struct {
IssuerObject *Issuer `protobuf:"bytes,5,opt,name=issuerObject,proto3,oneof"`
}
type RefreshableVerifiableCredential_IssuserId ¶
type RefreshableVerifiableCredential_IssuserId struct {
IssuserId string `protobuf:"bytes,4,opt,name=issuserId,proto3,oneof"`
}
type RefreshableVerifiablePresentation ¶
type RefreshableVerifiablePresentation struct { // The ID of the presentation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The JSON-LD context of the credential. Each item in the @context array MUST be a string. Context []string `protobuf:"bytes,2,rep,name=context,proto3" json:"context,omitempty"` CustomContext []*anypb.Any `protobuf:"bytes,3,rep,name=customContext,proto3" json:"customContext,omitempty"` // could be stirng // The JSON-LD type of the credential. Each item in the type array MUST be a string. Type []string `protobuf:"bytes,4,rep,name=type,proto3" json:"type,omitempty"` // The holder - will be ignored if no proof is present since there is no proof of authority over the credentials. // The holder object MUST be The holder - will be ignored if no proof is present since there is no proof of authority // over the credentials (an object) // The JSON-LD type of the credential. Each item in the type array MUST be a string. // The holder - will be ignored if no proof is present since there is no proof of authority over the credentials. // The holder object MUST be The holder - will be ignored if no proof is present since there is no proof of authority // over the credentials (an object) Holder *anypb.Any `protobuf:"bytes,5,opt,name=holder,proto3" json:"holder,omitempty"` // could be stirng // The Verifiable Credentials Each item in the verifiableCredential array MUST be an object of the following form: VerifiableCredential []*VerifiableCredential `protobuf:"bytes,6,rep,name=verifiableCredential,proto3" json:"verifiableCredential,omitempty"` // also referred as credentials // A JSON-LD Linked Data proof. Proofs []*CredentialProof `protobuf:"bytes,7,rep,name=proofs,proto3" json:"proofs,omitempty"` CustomFields map[string]*anypb.Any `` /* 165-byte string literal not displayed */ Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // non-standard // RefreshService RefreshService *RefreshService `protobuf:"bytes,10,opt,name=refreshService,proto3" json:"refreshService,omitempty"` // contains filtered or unexported fields }
RefreshableVerifiablePresentation for verifiable presentation swagger:model
func (*RefreshableVerifiablePresentation) Descriptor
deprecated
func (*RefreshableVerifiablePresentation) Descriptor() ([]byte, []int)
Deprecated: Use RefreshableVerifiablePresentation.ProtoReflect.Descriptor instead.
func (*RefreshableVerifiablePresentation) GetContext ¶
func (x *RefreshableVerifiablePresentation) GetContext() []string
func (*RefreshableVerifiablePresentation) GetCustomContext ¶
func (x *RefreshableVerifiablePresentation) GetCustomContext() []*anypb.Any
func (*RefreshableVerifiablePresentation) GetCustomFields ¶
func (x *RefreshableVerifiablePresentation) GetCustomFields() map[string]*anypb.Any
func (*RefreshableVerifiablePresentation) GetHolder ¶
func (x *RefreshableVerifiablePresentation) GetHolder() *anypb.Any
func (*RefreshableVerifiablePresentation) GetId ¶
func (x *RefreshableVerifiablePresentation) GetId() string
func (*RefreshableVerifiablePresentation) GetName ¶
func (x *RefreshableVerifiablePresentation) GetName() string
func (*RefreshableVerifiablePresentation) GetProofs ¶
func (x *RefreshableVerifiablePresentation) GetProofs() []*CredentialProof
func (*RefreshableVerifiablePresentation) GetRefreshService ¶
func (x *RefreshableVerifiablePresentation) GetRefreshService() *RefreshService
func (*RefreshableVerifiablePresentation) GetType ¶
func (x *RefreshableVerifiablePresentation) GetType() []string
func (*RefreshableVerifiablePresentation) GetVerifiableCredential ¶
func (x *RefreshableVerifiablePresentation) GetVerifiableCredential() []*VerifiableCredential
func (*RefreshableVerifiablePresentation) ProtoMessage ¶
func (*RefreshableVerifiablePresentation) ProtoMessage()
func (*RefreshableVerifiablePresentation) ProtoReflect ¶
func (x *RefreshableVerifiablePresentation) ProtoReflect() protoreflect.Message
func (*RefreshableVerifiablePresentation) Reset ¶
func (x *RefreshableVerifiablePresentation) Reset()
func (*RefreshableVerifiablePresentation) String ¶
func (x *RefreshableVerifiablePresentation) String() string
type RequestEnvelope ¶
type RequestEnvelope struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
RequestEnvelope contains a payload representing parameters for each operation on a protocol.
func (*RequestEnvelope) Descriptor
deprecated
func (*RequestEnvelope) Descriptor() ([]byte, []int)
Deprecated: Use RequestEnvelope.ProtoReflect.Descriptor instead.
func (*RequestEnvelope) GetPayload ¶
func (x *RequestEnvelope) GetPayload() []byte
func (*RequestEnvelope) ProtoMessage ¶
func (*RequestEnvelope) ProtoMessage()
func (*RequestEnvelope) ProtoReflect ¶
func (x *RequestEnvelope) ProtoReflect() protoreflect.Message
func (*RequestEnvelope) Reset ¶
func (x *RequestEnvelope) Reset()
func (*RequestEnvelope) String ¶
func (x *RequestEnvelope) String() string
type ResponseEnvelope ¶
type ResponseEnvelope struct { Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` Error *CommandError `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
ResponseEnvelope contains a payload and an error from performing an operation on a protocol.
func (*ResponseEnvelope) Descriptor
deprecated
func (*ResponseEnvelope) Descriptor() ([]byte, []int)
Deprecated: Use ResponseEnvelope.ProtoReflect.Descriptor instead.
func (*ResponseEnvelope) GetError ¶
func (x *ResponseEnvelope) GetError() *CommandError
func (*ResponseEnvelope) GetPayload ¶
func (x *ResponseEnvelope) GetPayload() []byte
func (*ResponseEnvelope) ProtoMessage ¶
func (*ResponseEnvelope) ProtoMessage()
func (*ResponseEnvelope) ProtoReflect ¶
func (x *ResponseEnvelope) ProtoReflect() protoreflect.Message
func (*ResponseEnvelope) Reset ¶
func (x *ResponseEnvelope) Reset()
func (*ResponseEnvelope) String ¶
func (x *ResponseEnvelope) String() string
type Schema ¶
type Schema struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"` // from presexch Required bool `protobuf:"varint,4,opt,name=required,proto3" json:"required,omitempty"` // from presexch // contains filtered or unexported fields }
Schema represents Type and (optional) Format information for a DisplayMappingObject that uses the Paths field, as defined in https://identity.foundation/credential-manifest/wallet-rendering/#using-path. swagger:model
func (*Schema) Descriptor
deprecated
func (*Schema) GetRequired ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type SignatureRepresentation ¶
type SignatureRepresentation int32
SignatureRepresentation is a signature value holder type (e.g. "proofValue" or "jws").
const ( SignatureRepresentation_proofValue SignatureRepresentation = 0 SignatureRepresentation_jws SignatureRepresentation = 1 )
func (SignatureRepresentation) Descriptor ¶
func (SignatureRepresentation) Descriptor() protoreflect.EnumDescriptor
func (SignatureRepresentation) Enum ¶
func (x SignatureRepresentation) Enum() *SignatureRepresentation
func (SignatureRepresentation) EnumDescriptor
deprecated
func (SignatureRepresentation) EnumDescriptor() ([]byte, []int)
Deprecated: Use SignatureRepresentation.Descriptor instead.
func (SignatureRepresentation) Number ¶
func (x SignatureRepresentation) Number() protoreflect.EnumNumber
func (SignatureRepresentation) String ¶
func (x SignatureRepresentation) String() string
func (SignatureRepresentation) Type ¶
func (SignatureRepresentation) Type() protoreflect.EnumType
type Styles ¶
type Styles struct { Thumbnail *ImageURIWithAltText `protobuf:"bytes,1,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"` Hero *ImageURIWithAltText `protobuf:"bytes,2,opt,name=hero,proto3" json:"hero,omitempty"` Background *Color `protobuf:"bytes,3,opt,name=background,proto3" json:"background,omitempty"` Text *Color `protobuf:"bytes,4,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Styles represents an Entity Styles object as defined in https://identity.foundation/credential-manifest/wallet-rendering/#entity-styles. swagger:model
func (*Styles) Descriptor
deprecated
func (*Styles) GetBackground ¶
func (*Styles) GetHero ¶
func (x *Styles) GetHero() *ImageURIWithAltText
func (*Styles) GetThumbnail ¶
func (x *Styles) GetThumbnail() *ImageURIWithAltText
func (*Styles) ProtoMessage ¶
func (*Styles) ProtoMessage()
func (*Styles) ProtoReflect ¶
func (x *Styles) ProtoReflect() protoreflect.Message
type Subject ¶
type Subject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CustomFields map[string]*anypb.Any `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
Subject of the Verifiable Credential. swagger:model
func (*Subject) Descriptor
deprecated
func (*Subject) ProtoMessage ¶
func (*Subject) ProtoMessage()
func (*Subject) ProtoReflect ¶
func (x *Subject) ProtoReflect() protoreflect.Message
type TermsOfUse ¶
type TermsOfUse struct { // The id for terms // e.g. http://example.com/policies/credential/4 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // type of terms , e.g. IssuerPolicy Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // profile, http://example.com/profiles/credential Profile string `protobuf:"bytes,3,opt,name=profile,proto3" json:"profile,omitempty"` // prohibition Prohibition []*Prohibition `protobuf:"bytes,4,rep,name=prohibition,proto3" json:"prohibition,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*TermsOfUse) Descriptor
deprecated
func (*TermsOfUse) Descriptor() ([]byte, []int)
Deprecated: Use TermsOfUse.ProtoReflect.Descriptor instead.
func (*TermsOfUse) GetId ¶
func (x *TermsOfUse) GetId() string
func (*TermsOfUse) GetProfile ¶
func (x *TermsOfUse) GetProfile() string
func (*TermsOfUse) GetProhibition ¶
func (x *TermsOfUse) GetProhibition() []*Prohibition
func (*TermsOfUse) GetType ¶
func (x *TermsOfUse) GetType() string
func (*TermsOfUse) ProtoMessage ¶
func (*TermsOfUse) ProtoMessage()
func (*TermsOfUse) ProtoReflect ¶
func (x *TermsOfUse) ProtoReflect() protoreflect.Message
func (*TermsOfUse) Reset ¶
func (x *TermsOfUse) Reset()
func (*TermsOfUse) String ¶
func (x *TermsOfUse) String() string
type TypedID ¶
type TypedID 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"` CustomFields map[string]*anypb.Any `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
TypedID defines a flexible structure with id and name fields and arbitrary extra fields swagger:model
func (*TypedID) Descriptor
deprecated
func (*TypedID) ProtoMessage ¶
func (*TypedID) ProtoMessage()
func (*TypedID) ProtoReflect ¶
func (x *TypedID) ProtoReflect() protoreflect.Message
type VerifiableCredential ¶
type VerifiableCredential struct { // The ID of the credential. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The JSON-LD context of the credential. Each item in the @context array MUST be a string. // "@context": [ // "https://www.w3.org/2018/credentials/v1", // "https://www.w3.org/2018/credentials/examples/v1" // ] Context []string `protobuf:"bytes,2,rep,name=context,proto3" json:"context,omitempty"` // The JSON-LD type of the credential. Each item in the type array MUST be a string. // e.g. ["VerifiableCredential", "AlumniCredential"] Type []string `protobuf:"bytes,3,rep,name=type,proto3" json:"type,omitempty"` // A JSON-LD Verifiable Credential Issuer. The issuer object MUST be either a string or an object of the following form: // e.g. https://example.edu/issuers/565049 // // Types that are assignable to Issuer: // *VerifiableCredential_IssuserId // *VerifiableCredential_IssuerObject Issuer isVerifiableCredential_Issuer `protobuf_oneof:"issuer"` // The issuanceDate string IssuanceDate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=issuanceDate,proto3" json:"issuanceDate,omitempty"` // The expirationDate string ExpirationDate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expirationDate,proto3" json:"expirationDate,omitempty"` // The method of credential status to issue the credential including. If omitted credential status will be included. CredentialSubject *anypb.Any `protobuf:"bytes,8,opt,name=credentialSubject,proto3" json:"credentialSubject,omitempty"` CredentialSchema *CredentialSchema `protobuf:"bytes,9,opt,name=credentialSchema,proto3" json:"credentialSchema,omitempty"` TermsOfUse *TermsOfUse `protobuf:"bytes,10,opt,name=termsOfUse,proto3" json:"termsOfUse,omitempty"` // Evidence can be included by an issuer to provide the verifier with additional supporting information in a // verifiable credential. This could be used by the verifier to establish the confidence with which // it relies on the claims in the verifiable credential. // "evidence": [{ // "id": "https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231", // "type": ["DocumentVerification"], // "verifier": "https://example.edu/issuers/14", // "evidenceDocument": "DriversLicense", // "subjectPresence": "Physical", // "documentPresence": "Physical", // "licenseNumber": "123AB4567" // }], Evidence []*anypb.Any `protobuf:"bytes,11,rep,name=evidence,proto3" json:"evidence,omitempty"` // A JSON-LD Linked Data proof Proof *CredentialProof `protobuf:"bytes,12,opt,name=proof,proto3" json:"proof,omitempty"` Name string `protobuf:"bytes,13,opt,name=name,proto3" json:"name,omitempty"` // non-standard // contains filtered or unexported fields }
A verifiable credential is a set of one or more claims made by the same entity. Credentials might also include an identifier and metadata to describe properties of the credential, such as the issuer, the expiry date and time, a representative image, a public key to use for verification purposes, the revocation mechanism, and so on. The metadata might be signed by the issuer. A verifiable credential is a set of tamper-evident claims and metadata that cryptographically prove who issued it. Verifiable credentials = Credential Metadata + Claims + Proofs Examples of verifiable credentials include digital employee identification cards, digital birth certificates, and digital educational certificates. swagger:model
func (*VerifiableCredential) Descriptor
deprecated
func (*VerifiableCredential) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableCredential.ProtoReflect.Descriptor instead.
func (*VerifiableCredential) GetContext ¶
func (x *VerifiableCredential) GetContext() []string
func (*VerifiableCredential) GetCredentialSchema ¶
func (x *VerifiableCredential) GetCredentialSchema() *CredentialSchema
func (*VerifiableCredential) GetCredentialSubject ¶
func (x *VerifiableCredential) GetCredentialSubject() *anypb.Any
func (*VerifiableCredential) GetEvidence ¶
func (x *VerifiableCredential) GetEvidence() []*anypb.Any
func (*VerifiableCredential) GetExpirationDate ¶
func (x *VerifiableCredential) GetExpirationDate() *timestamppb.Timestamp
func (*VerifiableCredential) GetId ¶
func (x *VerifiableCredential) GetId() string
func (*VerifiableCredential) GetIssuanceDate ¶
func (x *VerifiableCredential) GetIssuanceDate() *timestamppb.Timestamp
func (*VerifiableCredential) GetIssuer ¶
func (m *VerifiableCredential) GetIssuer() isVerifiableCredential_Issuer
func (*VerifiableCredential) GetIssuerObject ¶
func (x *VerifiableCredential) GetIssuerObject() *Issuer
func (*VerifiableCredential) GetIssuserId ¶
func (x *VerifiableCredential) GetIssuserId() string
func (*VerifiableCredential) GetName ¶
func (x *VerifiableCredential) GetName() string
func (*VerifiableCredential) GetProof ¶
func (x *VerifiableCredential) GetProof() *CredentialProof
func (*VerifiableCredential) GetTermsOfUse ¶
func (x *VerifiableCredential) GetTermsOfUse() *TermsOfUse
func (*VerifiableCredential) GetType ¶
func (x *VerifiableCredential) GetType() []string
func (*VerifiableCredential) ProtoMessage ¶
func (*VerifiableCredential) ProtoMessage()
func (*VerifiableCredential) ProtoReflect ¶
func (x *VerifiableCredential) ProtoReflect() protoreflect.Message
func (*VerifiableCredential) Reset ¶
func (x *VerifiableCredential) Reset()
func (*VerifiableCredential) String ¶
func (x *VerifiableCredential) String() string
type VerifiableCredentialOptions ¶
type VerifiableCredentialOptions struct { // The intended domain of validity for the proof. For example website.example Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // A challenge provided by the requesting party of the proof. For example 6e62f66e-67de-11eb-b490-ef3eeefa55f2 Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"` // contains filtered or unexported fields }
VerifiableCredentialOptions options
func (*VerifiableCredentialOptions) Descriptor
deprecated
func (*VerifiableCredentialOptions) Descriptor() ([]byte, []int)
Deprecated: Use VerifiableCredentialOptions.ProtoReflect.Descriptor instead.
func (*VerifiableCredentialOptions) GetChallenge ¶
func (x *VerifiableCredentialOptions) GetChallenge() string
func (*VerifiableCredentialOptions) GetDomain ¶
func (x *VerifiableCredentialOptions) GetDomain() string
func (*VerifiableCredentialOptions) ProtoMessage ¶
func (*VerifiableCredentialOptions) ProtoMessage()
func (*VerifiableCredentialOptions) ProtoReflect ¶
func (x *VerifiableCredentialOptions) ProtoReflect() protoreflect.Message
func (*VerifiableCredentialOptions) Reset ¶
func (x *VerifiableCredentialOptions) Reset()
func (*VerifiableCredentialOptions) String ¶
func (x *VerifiableCredentialOptions) String() string
type VerifiableCredential_IssuerObject ¶
type VerifiableCredential_IssuerObject struct {
IssuerObject *Issuer `protobuf:"bytes,5,opt,name=issuerObject,proto3,oneof"`
}
type VerifiableCredential_IssuserId ¶
type VerifiableCredential_IssuserId struct {
IssuserId string `protobuf:"bytes,4,opt,name=issuserId,proto3,oneof"`
}
type VerifiablePresentation ¶
type VerifiablePresentation struct { // The ID of the presentation. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The JSON-LD context of the credential. Each item in the @context array MUST be a string. Context []string `protobuf:"bytes,2,rep,name=context,proto3" json:"context,omitempty"` CustomContext []*anypb.Any `protobuf:"bytes,3,rep,name=customContext,proto3" json:"customContext,omitempty"` // could be stirng // The JSON-LD type of the credential. Each item in the type array MUST be a string. Type []string `protobuf:"bytes,4,rep,name=type,proto3" json:"type,omitempty"` // The holder - will be ignored if no proof is present since there is no proof of authority over the credentials. // The holder object MUST be The holder - will be ignored if no proof is present since there is no proof of authority // over the credentials (an object) // The JSON-LD type of the credential. Each item in the type array MUST be a string. // The holder - will be ignored if no proof is present since there is no proof of authority over the credentials. // The holder object MUST be The holder - will be ignored if no proof is present since there is no proof of authority // over the credentials (an object) Holder *anypb.Any `protobuf:"bytes,5,opt,name=holder,proto3" json:"holder,omitempty"` // could be stirng // The Verifiable Credentials Each item in the verifiableCredential array MUST be an object of the following form: VerifiableCredential []*VerifiableCredential `protobuf:"bytes,6,rep,name=verifiableCredential,proto3" json:"verifiableCredential,omitempty"` // also referred as credentials // A JSON-LD Linked Data proof. Proofs []*CredentialProof `protobuf:"bytes,7,rep,name=proofs,proto3" json:"proofs,omitempty"` CustomFields map[string]*anypb.Any `` /* 165-byte string literal not displayed */ Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"` // non-standard // contains filtered or unexported fields }
VerifiablePresentation - Verifies a Presentation with or without proofs attached A verifiable presentation expresses data from one or more verifiable credentials, and is packaged in such a way that the authorship of the data is verifiable. If verifiable credentials are presented directly, they become verifiable presentations. Data formats derived from verifiable credentials that are cryptographically verifiable, but do not of themselves contain verifiable credentials, might also be verifiable presentations. VerifiablePresentation = Presentation metadata + VerifiableCredentials + Proofs swagger:model
func (*VerifiablePresentation) Descriptor
deprecated
func (*VerifiablePresentation) Descriptor() ([]byte, []int)
Deprecated: Use VerifiablePresentation.ProtoReflect.Descriptor instead.
func (*VerifiablePresentation) GetContext ¶
func (x *VerifiablePresentation) GetContext() []string
func (*VerifiablePresentation) GetCustomContext ¶
func (x *VerifiablePresentation) GetCustomContext() []*anypb.Any
func (*VerifiablePresentation) GetCustomFields ¶
func (x *VerifiablePresentation) GetCustomFields() map[string]*anypb.Any
func (*VerifiablePresentation) GetHolder ¶
func (x *VerifiablePresentation) GetHolder() *anypb.Any
func (*VerifiablePresentation) GetId ¶
func (x *VerifiablePresentation) GetId() string
func (*VerifiablePresentation) GetName ¶
func (x *VerifiablePresentation) GetName() string
func (*VerifiablePresentation) GetProofs ¶
func (x *VerifiablePresentation) GetProofs() []*CredentialProof
func (*VerifiablePresentation) GetType ¶
func (x *VerifiablePresentation) GetType() []string
func (*VerifiablePresentation) GetVerifiableCredential ¶
func (x *VerifiablePresentation) GetVerifiableCredential() []*VerifiableCredential
func (*VerifiablePresentation) ProtoMessage ¶
func (*VerifiablePresentation) ProtoMessage()
func (*VerifiablePresentation) ProtoReflect ¶
func (x *VerifiablePresentation) ProtoReflect() protoreflect.Message
func (*VerifiablePresentation) Reset ¶
func (x *VerifiablePresentation) Reset()
func (*VerifiablePresentation) String ¶
func (x *VerifiablePresentation) String() string
type Void ¶
type Void struct {
// contains filtered or unexported fields
}
func (*Void) Descriptor
deprecated
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) ProtoReflect ¶
func (x *Void) ProtoReflect() protoreflect.Message