Documentation ¶
Index ¶
- Variables
- type CredentialFulfillment
- func (*CredentialFulfillment) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialFulfillment) GetDescriptorMap() []*InputDescriptor
- func (x *CredentialFulfillment) GetId() string
- func (x *CredentialFulfillment) GetManifestId() string
- func (*CredentialFulfillment) ProtoMessage()
- func (x *CredentialFulfillment) ProtoReflect() protoreflect.Message
- func (x *CredentialFulfillment) Reset()
- func (x *CredentialFulfillment) String() string
- type CredentialManifest
- func (*CredentialManifest) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialManifest) GetFormat() *Format
- func (x *CredentialManifest) GetId() string
- func (x *CredentialManifest) GetIssuer() *types1.Issuer
- func (x *CredentialManifest) GetOutputDescriptors() []*OutputDescriptor
- func (x *CredentialManifest) GetPresentationDefinition() *PresentationDefinition
- func (x *CredentialManifest) GetVersion() string
- func (*CredentialManifest) ProtoMessage()
- func (x *CredentialManifest) ProtoReflect() protoreflect.Message
- func (x *CredentialManifest) Reset()
- func (x *CredentialManifest) String() string
- type DataDisplayDescriptor
- func (*DataDisplayDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *DataDisplayDescriptor) GetDescription() *DisplayMappingObject
- func (x *DataDisplayDescriptor) GetProperties() []*LabeledDisplayMappingObject
- func (x *DataDisplayDescriptor) GetSubtitle() *DisplayMappingObject
- func (x *DataDisplayDescriptor) GetTitle() *DisplayMappingObject
- func (*DataDisplayDescriptor) ProtoMessage()
- func (x *DataDisplayDescriptor) ProtoReflect() protoreflect.Message
- func (x *DataDisplayDescriptor) Reset()
- func (x *DataDisplayDescriptor) String() string
- type DisplayMappingObject
- func (*DisplayMappingObject) Descriptor() ([]byte, []int)deprecated
- func (x *DisplayMappingObject) GetFallback() string
- func (x *DisplayMappingObject) GetPath() []string
- func (x *DisplayMappingObject) GetSchema() *Schema
- func (x *DisplayMappingObject) GetText() string
- func (*DisplayMappingObject) ProtoMessage()
- func (x *DisplayMappingObject) ProtoReflect() protoreflect.Message
- func (x *DisplayMappingObject) Reset()
- func (x *DisplayMappingObject) String() string
- type Format
- type GenericPresentation
- func (*GenericPresentation) Descriptor() ([]byte, []int)deprecated
- func (x *GenericPresentation) GetAttachments() []*types.AttachmentV2
- func (x *GenericPresentation) GetBody() *PresentationV3Body
- func (x *GenericPresentation) GetComment() string
- func (x *GenericPresentation) GetFormats() []*Format
- func (x *GenericPresentation) GetId() string
- func (x *GenericPresentation) GetPresentationsAttach() []*types.Attachment
- func (x *GenericPresentation) GetType() string
- func (*GenericPresentation) ProtoMessage()
- func (x *GenericPresentation) ProtoReflect() protoreflect.Message
- func (x *GenericPresentation) Reset()
- func (x *GenericPresentation) String() string
- type GenericProposePresentation
- func (*GenericProposePresentation) Descriptor() ([]byte, []int)deprecated
- func (x *GenericProposePresentation) GetAttachments() []*types.AttachmentV2
- func (x *GenericProposePresentation) GetBody() *ProposePresentationV3Body
- func (x *GenericProposePresentation) GetComment() string
- func (x *GenericProposePresentation) GetFormats() []*Format
- func (x *GenericProposePresentation) GetId() string
- func (x *GenericProposePresentation) GetProposalAttach() []*types.Attachment
- func (x *GenericProposePresentation) GetType() string
- func (*GenericProposePresentation) ProtoMessage()
- func (x *GenericProposePresentation) ProtoReflect() protoreflect.Message
- func (x *GenericProposePresentation) Reset()
- func (x *GenericProposePresentation) String() string
- type GenericRequestPresentation
- func (*GenericRequestPresentation) Descriptor() ([]byte, []int)deprecated
- func (x *GenericRequestPresentation) GetAttachments() []*types.AttachmentV2
- func (x *GenericRequestPresentation) GetBody() *RequestPresentationV3Body
- func (x *GenericRequestPresentation) GetComment() string
- func (x *GenericRequestPresentation) GetFormats() []*Format
- func (x *GenericRequestPresentation) GetId() string
- func (x *GenericRequestPresentation) GetRequestPresentationsAttach() []*types.Attachment
- func (x *GenericRequestPresentation) GetType() string
- func (x *GenericRequestPresentation) GetWillConfirm() bool
- func (*GenericRequestPresentation) ProtoMessage()
- func (x *GenericRequestPresentation) ProtoReflect() protoreflect.Message
- func (x *GenericRequestPresentation) Reset()
- func (x *GenericRequestPresentation) String() string
- type InputDescriptor
- func (*InputDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *InputDescriptor) GetConstraints() *types1.Constraints
- func (x *InputDescriptor) GetGroup() []string
- func (x *InputDescriptor) GetId() string
- func (x *InputDescriptor) GetMetadata() map[string]*anypb.Any
- func (x *InputDescriptor) GetName() string
- func (x *InputDescriptor) GetPurpose() string
- func (x *InputDescriptor) GetSchema() []*Schema
- func (*InputDescriptor) ProtoMessage()
- func (x *InputDescriptor) ProtoReflect() protoreflect.Message
- func (x *InputDescriptor) Reset()
- func (x *InputDescriptor) String() string
- type InputDescriptorMapping
- func (*InputDescriptorMapping) Descriptor() ([]byte, []int)deprecated
- func (x *InputDescriptorMapping) GetFormat() string
- func (x *InputDescriptorMapping) GetId() string
- func (x *InputDescriptorMapping) GetPath() string
- func (x *InputDescriptorMapping) GetPathNested() *InputDescriptorMapping
- func (*InputDescriptorMapping) ProtoMessage()
- func (x *InputDescriptorMapping) ProtoReflect() protoreflect.Message
- func (x *InputDescriptorMapping) Reset()
- func (x *InputDescriptorMapping) String() string
- type JWTPresClaims
- func (*JWTPresClaims) Descriptor() ([]byte, []int)deprecated
- func (x *JWTPresClaims) GetAud() []string
- func (x *JWTPresClaims) GetExp() int64
- func (x *JWTPresClaims) GetIat() int64
- func (x *JWTPresClaims) GetIss() string
- func (x *JWTPresClaims) GetJti() string
- func (x *JWTPresClaims) GetNbf() int64
- func (x *JWTPresClaims) GetSub() string
- func (x *JWTPresClaims) GetVp() *RawPresentation
- func (*JWTPresClaims) ProtoMessage()
- func (x *JWTPresClaims) ProtoReflect() protoreflect.Message
- func (x *JWTPresClaims) Reset()
- func (x *JWTPresClaims) String() string
- type LabeledDisplayMappingObject
- func (*LabeledDisplayMappingObject) Descriptor() ([]byte, []int)deprecated
- func (x *LabeledDisplayMappingObject) GetFallback() string
- func (x *LabeledDisplayMappingObject) GetLabel() string
- func (x *LabeledDisplayMappingObject) GetPath() []string
- func (x *LabeledDisplayMappingObject) GetSchema() *Schema
- func (x *LabeledDisplayMappingObject) GetText() string
- func (*LabeledDisplayMappingObject) ProtoMessage()
- func (x *LabeledDisplayMappingObject) ProtoReflect() protoreflect.Message
- func (x *LabeledDisplayMappingObject) Reset()
- func (x *LabeledDisplayMappingObject) String() string
- type OutputDescriptor
- func (*OutputDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *OutputDescriptor) GetDescription() string
- func (x *OutputDescriptor) GetDisplay() *DataDisplayDescriptor
- func (x *OutputDescriptor) GetId() string
- func (x *OutputDescriptor) GetName() string
- func (x *OutputDescriptor) GetSchema() string
- func (x *OutputDescriptor) GetStyles() *types1.Styles
- func (*OutputDescriptor) ProtoMessage()
- func (x *OutputDescriptor) ProtoReflect() protoreflect.Message
- func (x *OutputDescriptor) Reset()
- func (x *OutputDescriptor) String() string
- type PresentationDefinition
- func (*PresentationDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *PresentationDefinition) GetFormat() *Format
- func (x *PresentationDefinition) GetId() string
- func (x *PresentationDefinition) GetInputDescriptors() []*InputDescriptor
- func (x *PresentationDefinition) GetLocale() string
- func (x *PresentationDefinition) GetName() string
- func (x *PresentationDefinition) GetPurpose() string
- func (x *PresentationDefinition) GetSubmissionRequirements() []*SubmissionRequirement
- func (*PresentationDefinition) ProtoMessage()
- func (x *PresentationDefinition) ProtoReflect() protoreflect.Message
- func (x *PresentationDefinition) Reset()
- func (x *PresentationDefinition) String() string
- type PresentationV2
- func (*PresentationV2) Descriptor() ([]byte, []int)deprecated
- func (x *PresentationV2) GetComment() string
- func (x *PresentationV2) GetFormats() []*Format
- func (x *PresentationV2) GetId() string
- func (x *PresentationV2) GetPresentationsAttach() []*types.Attachment
- func (x *PresentationV2) GetType() string
- func (*PresentationV2) ProtoMessage()
- func (x *PresentationV2) ProtoReflect() protoreflect.Message
- func (x *PresentationV2) Reset()
- func (x *PresentationV2) String() string
- type PresentationV3
- func (*PresentationV3) Descriptor() ([]byte, []int)deprecated
- func (x *PresentationV3) GetAttachments() []*types.AttachmentV2
- func (x *PresentationV3) GetBody() *PresentationV3Body
- func (x *PresentationV3) GetType() string
- func (*PresentationV3) ProtoMessage()
- func (x *PresentationV3) ProtoReflect() protoreflect.Message
- func (x *PresentationV3) Reset()
- func (x *PresentationV3) String() string
- type PresentationV3Body
- func (*PresentationV3Body) Descriptor() ([]byte, []int)deprecated
- func (x *PresentationV3Body) GetComment() string
- func (x *PresentationV3Body) GetGoalCode() string
- func (*PresentationV3Body) ProtoMessage()
- func (x *PresentationV3Body) ProtoReflect() protoreflect.Message
- func (x *PresentationV3Body) Reset()
- func (x *PresentationV3Body) String() string
- type ProposePresentationV2
- func (*ProposePresentationV2) Descriptor() ([]byte, []int)deprecated
- func (x *ProposePresentationV2) GetComment() string
- func (x *ProposePresentationV2) GetFormats() []*Format
- func (x *ProposePresentationV2) GetId() string
- func (x *ProposePresentationV2) GetProposalAttach() []*types.Attachment
- func (x *ProposePresentationV2) GetType() string
- func (*ProposePresentationV2) ProtoMessage()
- func (x *ProposePresentationV2) ProtoReflect() protoreflect.Message
- func (x *ProposePresentationV2) Reset()
- func (x *ProposePresentationV2) String() string
- type ProposePresentationV3
- func (*ProposePresentationV3) Descriptor() ([]byte, []int)deprecated
- func (x *ProposePresentationV3) GetAttachments() []*types.AttachmentV2
- func (x *ProposePresentationV3) GetBody() *ProposePresentationV3Body
- func (x *ProposePresentationV3) GetId() string
- func (x *ProposePresentationV3) GetType() string
- func (*ProposePresentationV3) ProtoMessage()
- func (x *ProposePresentationV3) ProtoReflect() protoreflect.Message
- func (x *ProposePresentationV3) Reset()
- func (x *ProposePresentationV3) String() string
- type ProposePresentationV3Body
- func (*ProposePresentationV3Body) Descriptor() ([]byte, []int)deprecated
- func (x *ProposePresentationV3Body) GetComment() string
- func (x *ProposePresentationV3Body) GetGoalCode() string
- func (*ProposePresentationV3Body) ProtoMessage()
- func (x *ProposePresentationV3Body) ProtoReflect() protoreflect.Message
- func (x *ProposePresentationV3Body) Reset()
- func (x *ProposePresentationV3Body) String() string
- type RawPresentation
- func (*RawPresentation) Descriptor() ([]byte, []int)deprecated
- func (x *RawPresentation) GetContext() *anypb.Any
- func (x *RawPresentation) GetCustomFields() map[string]*anypb.Any
- func (x *RawPresentation) GetHolder() string
- func (x *RawPresentation) GetId() string
- func (x *RawPresentation) GetProof() []byte
- func (x *RawPresentation) GetType() string
- func (x *RawPresentation) GetVerifiableCredential() *anypb.Any
- func (*RawPresentation) ProtoMessage()
- func (x *RawPresentation) ProtoReflect() protoreflect.Message
- func (x *RawPresentation) Reset()
- func (x *RawPresentation) String() string
- type RequestPresentationV2
- func (*RequestPresentationV2) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPresentationV2) GetComment() string
- func (x *RequestPresentationV2) GetFormats() []*Format
- func (x *RequestPresentationV2) GetId() string
- func (x *RequestPresentationV2) GetRequestPresentationsAttach() []*types.Attachment
- func (x *RequestPresentationV2) GetType() string
- func (x *RequestPresentationV2) GetWillConfirm() bool
- func (*RequestPresentationV2) ProtoMessage()
- func (x *RequestPresentationV2) ProtoReflect() protoreflect.Message
- func (x *RequestPresentationV2) Reset()
- func (x *RequestPresentationV2) String() string
- type RequestPresentationV3
- func (*RequestPresentationV3) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPresentationV3) GetAttachments() []*types.AttachmentV2
- func (x *RequestPresentationV3) GetBody() *RequestPresentationV3Body
- func (x *RequestPresentationV3) GetId() string
- func (x *RequestPresentationV3) GetType() string
- func (*RequestPresentationV3) ProtoMessage()
- func (x *RequestPresentationV3) ProtoReflect() protoreflect.Message
- func (x *RequestPresentationV3) Reset()
- func (x *RequestPresentationV3) String() string
- type RequestPresentationV3Body
- func (*RequestPresentationV3Body) Descriptor() ([]byte, []int)deprecated
- func (x *RequestPresentationV3Body) GetComment() string
- func (x *RequestPresentationV3Body) GetGoalCode() string
- func (x *RequestPresentationV3Body) GetWillConfirm() bool
- func (*RequestPresentationV3Body) ProtoMessage()
- func (x *RequestPresentationV3Body) ProtoReflect() protoreflect.Message
- func (x *RequestPresentationV3Body) Reset()
- func (x *RequestPresentationV3Body) String() string
- type ResolvedDescriptor
- func (*ResolvedDescriptor) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedDescriptor) GetDescription() string
- func (x *ResolvedDescriptor) GetDescriptorId() string
- func (x *ResolvedDescriptor) GetProperties() []*ResolvedProperty
- func (x *ResolvedDescriptor) GetStyles() *types1.Styles
- func (x *ResolvedDescriptor) GetSubtitle() string
- func (x *ResolvedDescriptor) GetTitle() string
- func (*ResolvedDescriptor) ProtoMessage()
- func (x *ResolvedDescriptor) ProtoReflect() protoreflect.Message
- func (x *ResolvedDescriptor) Reset()
- func (x *ResolvedDescriptor) String() string
- type ResolvedProperty
- func (*ResolvedProperty) Descriptor() ([]byte, []int)deprecated
- func (x *ResolvedProperty) GetLabel() string
- func (x *ResolvedProperty) GetSchema() *Schema
- func (x *ResolvedProperty) GetValue() *anypb.Any
- func (*ResolvedProperty) ProtoMessage()
- func (x *ResolvedProperty) ProtoReflect() protoreflect.Message
- func (x *ResolvedProperty) Reset()
- func (x *ResolvedProperty) String() string
- type Schema
- type SubmissionRequirement
- func (*SubmissionRequirement) Descriptor() ([]byte, []int)deprecated
- func (x *SubmissionRequirement) GetCount() int64
- func (x *SubmissionRequirement) GetFrom() string
- func (x *SubmissionRequirement) GetFromNested() []*SubmissionRequirement
- func (x *SubmissionRequirement) GetMax() int64
- func (x *SubmissionRequirement) GetMin() int64
- func (x *SubmissionRequirement) GetName() string
- func (x *SubmissionRequirement) GetPurpose() string
- func (x *SubmissionRequirement) GetRule() string
- func (*SubmissionRequirement) ProtoMessage()
- func (x *SubmissionRequirement) ProtoReflect() protoreflect.Message
- func (x *SubmissionRequirement) Reset()
- func (x *SubmissionRequirement) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_did_presentproof_types_presentproof_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CredentialFulfillment ¶
type CredentialFulfillment struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id ManifestId string `protobuf:"bytes,2,opt,name=manifest_id,json=manifestId,proto3" json:"manifest_id,omitempty"` DescriptorMap []*InputDescriptor `protobuf:"bytes,3,rep,name=descriptor_map,json=descriptorMap,proto3" json:"descriptor_map,omitempty"` // contains filtered or unexported fields }
CredentialFulfillment represents a Credential Fulfillment object as defined in https://identity.foundation/credential-manifest/#credential-fulfillment. swagger:model
func (*CredentialFulfillment) Descriptor
deprecated
func (*CredentialFulfillment) Descriptor() ([]byte, []int)
Deprecated: Use CredentialFulfillment.ProtoReflect.Descriptor instead.
func (*CredentialFulfillment) GetDescriptorMap ¶
func (x *CredentialFulfillment) GetDescriptorMap() []*InputDescriptor
func (*CredentialFulfillment) GetId ¶
func (x *CredentialFulfillment) GetId() string
func (*CredentialFulfillment) GetManifestId ¶
func (x *CredentialFulfillment) GetManifestId() string
func (*CredentialFulfillment) ProtoMessage ¶
func (*CredentialFulfillment) ProtoMessage()
func (*CredentialFulfillment) ProtoReflect ¶
func (x *CredentialFulfillment) ProtoReflect() protoreflect.Message
func (*CredentialFulfillment) Reset ¶
func (x *CredentialFulfillment) Reset()
func (*CredentialFulfillment) String ¶
func (x *CredentialFulfillment) String() string
type CredentialManifest ¶
type CredentialManifest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Issuer *types1.Issuer `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` OutputDescriptors []*OutputDescriptor `protobuf:"bytes,4,rep,name=output_descriptors,json=outputDescriptors,proto3" json:"output_descriptors,omitempty"` Format *Format `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` PresentationDefinition *PresentationDefinition `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
CredentialManifest represents a Credential Manifest object as defined in https://identity.foundation/credential-manifest/#credential-manifest-2. swagger:model
func (*CredentialManifest) Descriptor
deprecated
func (*CredentialManifest) Descriptor() ([]byte, []int)
Deprecated: Use CredentialManifest.ProtoReflect.Descriptor instead.
func (*CredentialManifest) GetFormat ¶
func (x *CredentialManifest) GetFormat() *Format
func (*CredentialManifest) GetId ¶
func (x *CredentialManifest) GetId() string
func (*CredentialManifest) GetIssuer ¶
func (x *CredentialManifest) GetIssuer() *types1.Issuer
func (*CredentialManifest) GetOutputDescriptors ¶
func (x *CredentialManifest) GetOutputDescriptors() []*OutputDescriptor
func (*CredentialManifest) GetPresentationDefinition ¶
func (x *CredentialManifest) GetPresentationDefinition() *PresentationDefinition
func (*CredentialManifest) GetVersion ¶
func (x *CredentialManifest) GetVersion() string
func (*CredentialManifest) ProtoMessage ¶
func (*CredentialManifest) ProtoMessage()
func (*CredentialManifest) ProtoReflect ¶
func (x *CredentialManifest) ProtoReflect() protoreflect.Message
func (*CredentialManifest) Reset ¶
func (x *CredentialManifest) Reset()
func (*CredentialManifest) String ¶
func (x *CredentialManifest) String() string
type DataDisplayDescriptor ¶
type DataDisplayDescriptor struct { Title *DisplayMappingObject `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Subtitle *DisplayMappingObject `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` Description *DisplayMappingObject `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Properties []*LabeledDisplayMappingObject `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
DataDisplayDescriptor represents a Data Display Descriptor as defined in https://identity.foundation/credential-manifest/wallet-rendering/#data-display. swagger:model
func (*DataDisplayDescriptor) Descriptor
deprecated
func (*DataDisplayDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use DataDisplayDescriptor.ProtoReflect.Descriptor instead.
func (*DataDisplayDescriptor) GetDescription ¶
func (x *DataDisplayDescriptor) GetDescription() *DisplayMappingObject
func (*DataDisplayDescriptor) GetProperties ¶
func (x *DataDisplayDescriptor) GetProperties() []*LabeledDisplayMappingObject
func (*DataDisplayDescriptor) GetSubtitle ¶
func (x *DataDisplayDescriptor) GetSubtitle() *DisplayMappingObject
func (*DataDisplayDescriptor) GetTitle ¶
func (x *DataDisplayDescriptor) GetTitle() *DisplayMappingObject
func (*DataDisplayDescriptor) ProtoMessage ¶
func (*DataDisplayDescriptor) ProtoMessage()
func (*DataDisplayDescriptor) ProtoReflect ¶
func (x *DataDisplayDescriptor) ProtoReflect() protoreflect.Message
func (*DataDisplayDescriptor) Reset ¶
func (x *DataDisplayDescriptor) Reset()
func (*DataDisplayDescriptor) String ¶
func (x *DataDisplayDescriptor) String() string
type DisplayMappingObject ¶
type DisplayMappingObject struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` Schema *Schema `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` Fallback string `protobuf:"bytes,4,opt,name=fallback,proto3" json:"fallback,omitempty"` // contains filtered or unexported fields }
DisplayMappingObject represents a Display Mapping Object as defined in https://identity.foundation/credential-manifest/wallet-rendering/#display-mapping-object There are two possibilities here: If the text field is used, then schema is not needed. If the path field is used, then schema is required. TODO (#3045) Support for JSONPath bracket notation. swagger:model
func (*DisplayMappingObject) Descriptor
deprecated
func (*DisplayMappingObject) Descriptor() ([]byte, []int)
Deprecated: Use DisplayMappingObject.ProtoReflect.Descriptor instead.
func (*DisplayMappingObject) GetFallback ¶
func (x *DisplayMappingObject) GetFallback() string
func (*DisplayMappingObject) GetPath ¶
func (x *DisplayMappingObject) GetPath() []string
func (*DisplayMappingObject) GetSchema ¶
func (x *DisplayMappingObject) GetSchema() *Schema
func (*DisplayMappingObject) GetText ¶
func (x *DisplayMappingObject) GetText() string
func (*DisplayMappingObject) ProtoMessage ¶
func (*DisplayMappingObject) ProtoMessage()
func (*DisplayMappingObject) ProtoReflect ¶
func (x *DisplayMappingObject) ProtoReflect() protoreflect.Message
func (*DisplayMappingObject) Reset ¶
func (x *DisplayMappingObject) Reset()
func (*DisplayMappingObject) String ¶
func (x *DisplayMappingObject) String() string
type Format ¶
type Format struct { AttachId string `protobuf:"bytes,1,opt,name=attach_id,json=attachId,proto3" json:"attach_id,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` // contains filtered or unexported fields }
Format contains the value of the attachment @id and the verifiable credential format of the attachment.
func (*Format) Descriptor
deprecated
func (*Format) GetAttachId ¶
func (*Format) ProtoMessage ¶
func (*Format) ProtoMessage()
func (*Format) ProtoReflect ¶
func (x *Format) ProtoReflect() protoreflect.Message
type GenericPresentation ¶
type GenericPresentation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300]. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // Formats contains an entry for each presentations~attach array entry, providing the the value of the attachment // @id and the verifiable presentation format and version of the attachment. Formats []*Format `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats,omitempty"` // PresentationsAttach an array of attachments containing the presentation in the requested format(s). PresentationsAttach []*types.Attachment `protobuf:"bytes,5,rep,name=presentations_attach,json=presentationsAttach,proto3" json:"presentations_attach,omitempty"` //presentations~attach // Attachments is an array of attachments that further define the presentation request being proposed. // This might be used to clarify which formats or format versions are wanted. Attachments []*types.AttachmentV2 `protobuf:"bytes,6,rep,name=attachments,proto3" json:"attachments,omitempty"` // Body *PresentationV3Body `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
Combination of V2 and V3 swagger:model
func (*GenericPresentation) Descriptor
deprecated
func (*GenericPresentation) Descriptor() ([]byte, []int)
Deprecated: Use GenericPresentation.ProtoReflect.Descriptor instead.
func (*GenericPresentation) GetAttachments ¶
func (x *GenericPresentation) GetAttachments() []*types.AttachmentV2
func (*GenericPresentation) GetBody ¶
func (x *GenericPresentation) GetBody() *PresentationV3Body
func (*GenericPresentation) GetComment ¶
func (x *GenericPresentation) GetComment() string
func (*GenericPresentation) GetFormats ¶
func (x *GenericPresentation) GetFormats() []*Format
func (*GenericPresentation) GetId ¶
func (x *GenericPresentation) GetId() string
func (*GenericPresentation) GetPresentationsAttach ¶
func (x *GenericPresentation) GetPresentationsAttach() []*types.Attachment
func (*GenericPresentation) GetType ¶
func (x *GenericPresentation) GetType() string
func (*GenericPresentation) ProtoMessage ¶
func (*GenericPresentation) ProtoMessage()
func (*GenericPresentation) ProtoReflect ¶
func (x *GenericPresentation) ProtoReflect() protoreflect.Message
func (*GenericPresentation) Reset ¶
func (x *GenericPresentation) Reset()
func (*GenericPresentation) String ¶
func (x *GenericPresentation) String() string
type GenericProposePresentation ¶
type GenericProposePresentation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // Formats contains an entry for each proposal~attach array entry, including an optional value of the // attachment @id (if attachments are present) and the verifiable presentation format and version of the attachment. Formats []*Format `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats,omitempty"` // ProposalsAttach is an array of attachments that further define the presentation request being proposed. // This might be used to clarify which formats or format versions are wanted. ProposalAttach []*types.Attachment `protobuf:"bytes,5,rep,name=proposal_attach,json=proposalAttach,proto3" json:"proposal_attach,omitempty"` //proposals~attach // V3 Body *ProposePresentationV3Body `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` // Attachments is an array of attachments that further define the presentation request being proposed. // This might be used to clarify which formats or format versions are wanted. Attachments []*types.AttachmentV2 `protobuf:"bytes,7,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
GenericProposePresentation combination of V2 and V3 swagger:model
func (*GenericProposePresentation) Descriptor
deprecated
func (*GenericProposePresentation) Descriptor() ([]byte, []int)
Deprecated: Use GenericProposePresentation.ProtoReflect.Descriptor instead.
func (*GenericProposePresentation) GetAttachments ¶
func (x *GenericProposePresentation) GetAttachments() []*types.AttachmentV2
func (*GenericProposePresentation) GetBody ¶
func (x *GenericProposePresentation) GetBody() *ProposePresentationV3Body
func (*GenericProposePresentation) GetComment ¶
func (x *GenericProposePresentation) GetComment() string
func (*GenericProposePresentation) GetFormats ¶
func (x *GenericProposePresentation) GetFormats() []*Format
func (*GenericProposePresentation) GetId ¶
func (x *GenericProposePresentation) GetId() string
func (*GenericProposePresentation) GetProposalAttach ¶
func (x *GenericProposePresentation) GetProposalAttach() []*types.Attachment
func (*GenericProposePresentation) GetType ¶
func (x *GenericProposePresentation) GetType() string
func (*GenericProposePresentation) ProtoMessage ¶
func (*GenericProposePresentation) ProtoMessage()
func (*GenericProposePresentation) ProtoReflect ¶
func (x *GenericProposePresentation) ProtoReflect() protoreflect.Message
func (*GenericProposePresentation) Reset ¶
func (x *GenericProposePresentation) Reset()
func (*GenericProposePresentation) String ¶
func (x *GenericProposePresentation) String() string
type GenericRequestPresentation ¶
type GenericRequestPresentation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // WillConfirm is a field that defaults to "false" to indicate that the verifier will or will not // send a post-presentation confirmation ack message. WillConfirm bool `protobuf:"varint,4,opt,name=will_confirm,json=willConfirm,proto3" json:"will_confirm,omitempty"` // Formats contains an entry for each request_presentations~attach array entry, providing the the value of the // attachment @id and the verifiable presentation request format and version of the attachment. Formats []*Format `protobuf:"bytes,5,rep,name=formats,proto3" json:"formats,omitempty"` // RequestPresentationsAttach is an array of attachments containing the acceptable verifiable presentation requests. RequestPresentationsAttach []*types.Attachment `` // request_presentations~attach /* 141-byte string literal not displayed */ // V3 Body *RequestPresentationV3Body `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"` // Attachments is an array of attachments containing the acceptable verifiable presentation requests. Attachments []*types.AttachmentV2 `protobuf:"bytes,8,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
GenericRequestPresentation combination of V2 and V3 swagger:model
func (*GenericRequestPresentation) Descriptor
deprecated
func (*GenericRequestPresentation) Descriptor() ([]byte, []int)
Deprecated: Use GenericRequestPresentation.ProtoReflect.Descriptor instead.
func (*GenericRequestPresentation) GetAttachments ¶
func (x *GenericRequestPresentation) GetAttachments() []*types.AttachmentV2
func (*GenericRequestPresentation) GetBody ¶
func (x *GenericRequestPresentation) GetBody() *RequestPresentationV3Body
func (*GenericRequestPresentation) GetComment ¶
func (x *GenericRequestPresentation) GetComment() string
func (*GenericRequestPresentation) GetFormats ¶
func (x *GenericRequestPresentation) GetFormats() []*Format
func (*GenericRequestPresentation) GetId ¶
func (x *GenericRequestPresentation) GetId() string
func (*GenericRequestPresentation) GetRequestPresentationsAttach ¶
func (x *GenericRequestPresentation) GetRequestPresentationsAttach() []*types.Attachment
func (*GenericRequestPresentation) GetType ¶
func (x *GenericRequestPresentation) GetType() string
func (*GenericRequestPresentation) GetWillConfirm ¶
func (x *GenericRequestPresentation) GetWillConfirm() bool
func (*GenericRequestPresentation) ProtoMessage ¶
func (*GenericRequestPresentation) ProtoMessage()
func (*GenericRequestPresentation) ProtoReflect ¶
func (x *GenericRequestPresentation) ProtoReflect() protoreflect.Message
func (*GenericRequestPresentation) Reset ¶
func (x *GenericRequestPresentation) Reset()
func (*GenericRequestPresentation) String ¶
func (x *GenericRequestPresentation) String() string
type InputDescriptor ¶
type InputDescriptor struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Group []string `protobuf:"bytes,2,rep,name=group,proto3" json:"group,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Purpose string `protobuf:"bytes,4,opt,name=purpose,proto3" json:"purpose,omitempty"` Metadata map[string]*anypb.Any `` /* 157-byte string literal not displayed */ Schema []*Schema `protobuf:"bytes,6,rep,name=schema,proto3" json:"schema,omitempty"` // uri and required Constraints *types1.Constraints `protobuf:"bytes,7,opt,name=constraints,proto3" json:"constraints,omitempty"` // contains filtered or unexported fields }
InputDescriptor input descriptors. swagger:model
func (*InputDescriptor) Descriptor
deprecated
func (*InputDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use InputDescriptor.ProtoReflect.Descriptor instead.
func (*InputDescriptor) GetConstraints ¶
func (x *InputDescriptor) GetConstraints() *types1.Constraints
func (*InputDescriptor) GetGroup ¶
func (x *InputDescriptor) GetGroup() []string
func (*InputDescriptor) GetId ¶
func (x *InputDescriptor) GetId() string
func (*InputDescriptor) GetMetadata ¶
func (x *InputDescriptor) GetMetadata() map[string]*anypb.Any
func (*InputDescriptor) GetName ¶
func (x *InputDescriptor) GetName() string
func (*InputDescriptor) GetPurpose ¶
func (x *InputDescriptor) GetPurpose() string
func (*InputDescriptor) GetSchema ¶
func (x *InputDescriptor) GetSchema() []*Schema
func (*InputDescriptor) ProtoMessage ¶
func (*InputDescriptor) ProtoMessage()
func (*InputDescriptor) ProtoReflect ¶
func (x *InputDescriptor) ProtoReflect() protoreflect.Message
func (*InputDescriptor) Reset ¶
func (x *InputDescriptor) Reset()
func (*InputDescriptor) String ¶
func (x *InputDescriptor) String() string
type InputDescriptorMapping ¶
type InputDescriptorMapping struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` PathNested *InputDescriptorMapping `protobuf:"bytes,4,opt,name=path_nested,json=pathNested,proto3" json:"path_nested,omitempty"` // contains filtered or unexported fields }
InputDescriptorMapping maps an InputDescriptor to a verifiable credential pointed to by the JSONPath in `Path`.
func (*InputDescriptorMapping) Descriptor
deprecated
func (*InputDescriptorMapping) Descriptor() ([]byte, []int)
Deprecated: Use InputDescriptorMapping.ProtoReflect.Descriptor instead.
func (*InputDescriptorMapping) GetFormat ¶
func (x *InputDescriptorMapping) GetFormat() string
func (*InputDescriptorMapping) GetId ¶
func (x *InputDescriptorMapping) GetId() string
func (*InputDescriptorMapping) GetPath ¶
func (x *InputDescriptorMapping) GetPath() string
func (*InputDescriptorMapping) GetPathNested ¶
func (x *InputDescriptorMapping) GetPathNested() *InputDescriptorMapping
func (*InputDescriptorMapping) ProtoMessage ¶
func (*InputDescriptorMapping) ProtoMessage()
func (*InputDescriptorMapping) ProtoReflect ¶
func (x *InputDescriptorMapping) ProtoReflect() protoreflect.Message
func (*InputDescriptorMapping) Reset ¶
func (x *InputDescriptorMapping) Reset()
func (*InputDescriptorMapping) String ¶
func (x *InputDescriptorMapping) String() string
type JWTPresClaims ¶
type JWTPresClaims 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 Vp *RawPresentation `protobuf:"bytes,8,opt,name=vp,proto3" json:"vp,omitempty"` // contains filtered or unexported fields }
JWTPresClaims is JWT Claims extension by Verifiable Presentation (with custom "vp" claim). swagger:model
func (*JWTPresClaims) Descriptor
deprecated
func (*JWTPresClaims) Descriptor() ([]byte, []int)
Deprecated: Use JWTPresClaims.ProtoReflect.Descriptor instead.
func (*JWTPresClaims) GetAud ¶
func (x *JWTPresClaims) GetAud() []string
func (*JWTPresClaims) GetExp ¶
func (x *JWTPresClaims) GetExp() int64
func (*JWTPresClaims) GetIat ¶
func (x *JWTPresClaims) GetIat() int64
func (*JWTPresClaims) GetIss ¶
func (x *JWTPresClaims) GetIss() string
func (*JWTPresClaims) GetJti ¶
func (x *JWTPresClaims) GetJti() string
func (*JWTPresClaims) GetNbf ¶
func (x *JWTPresClaims) GetNbf() int64
func (*JWTPresClaims) GetSub ¶
func (x *JWTPresClaims) GetSub() string
func (*JWTPresClaims) GetVp ¶
func (x *JWTPresClaims) GetVp() *RawPresentation
func (*JWTPresClaims) ProtoMessage ¶
func (*JWTPresClaims) ProtoMessage()
func (*JWTPresClaims) ProtoReflect ¶
func (x *JWTPresClaims) ProtoReflect() protoreflect.Message
func (*JWTPresClaims) Reset ¶
func (x *JWTPresClaims) Reset()
func (*JWTPresClaims) String ¶
func (x *JWTPresClaims) String() string
type LabeledDisplayMappingObject ¶
type LabeledDisplayMappingObject struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` Path []string `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"` Schema *Schema `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` Fallback string `protobuf:"bytes,4,opt,name=fallback,proto3" json:"fallback,omitempty"` Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"` // contains filtered or unexported fields }
LabeledDisplayMappingObject is a DisplayMappingObject with an additional Label field. They are used for the dynamic Properties array in a DataDisplayDescriptor. swagger:model
func (*LabeledDisplayMappingObject) Descriptor
deprecated
func (*LabeledDisplayMappingObject) Descriptor() ([]byte, []int)
Deprecated: Use LabeledDisplayMappingObject.ProtoReflect.Descriptor instead.
func (*LabeledDisplayMappingObject) GetFallback ¶
func (x *LabeledDisplayMappingObject) GetFallback() string
func (*LabeledDisplayMappingObject) GetLabel ¶
func (x *LabeledDisplayMappingObject) GetLabel() string
func (*LabeledDisplayMappingObject) GetPath ¶
func (x *LabeledDisplayMappingObject) GetPath() []string
func (*LabeledDisplayMappingObject) GetSchema ¶
func (x *LabeledDisplayMappingObject) GetSchema() *Schema
func (*LabeledDisplayMappingObject) GetText ¶
func (x *LabeledDisplayMappingObject) GetText() string
func (*LabeledDisplayMappingObject) ProtoMessage ¶
func (*LabeledDisplayMappingObject) ProtoMessage()
func (*LabeledDisplayMappingObject) ProtoReflect ¶
func (x *LabeledDisplayMappingObject) ProtoReflect() protoreflect.Message
func (*LabeledDisplayMappingObject) Reset ¶
func (x *LabeledDisplayMappingObject) Reset()
func (*LabeledDisplayMappingObject) String ¶
func (x *LabeledDisplayMappingObject) String() string
type OutputDescriptor ¶
type OutputDescriptor struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Display *DataDisplayDescriptor `protobuf:"bytes,5,opt,name=display,proto3" json:"display,omitempty"` Styles *types1.Styles `protobuf:"bytes,6,opt,name=styles,proto3" json:"styles,omitempty"` // contains filtered or unexported fields }
OutputDescriptor represents an Output Descriptor object as defined in https://identity.foundation/credential-manifest/#output-descriptor. swagger:model
func (*OutputDescriptor) Descriptor
deprecated
func (*OutputDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use OutputDescriptor.ProtoReflect.Descriptor instead.
func (*OutputDescriptor) GetDescription ¶
func (x *OutputDescriptor) GetDescription() string
func (*OutputDescriptor) GetDisplay ¶
func (x *OutputDescriptor) GetDisplay() *DataDisplayDescriptor
func (*OutputDescriptor) GetId ¶
func (x *OutputDescriptor) GetId() string
func (*OutputDescriptor) GetName ¶
func (x *OutputDescriptor) GetName() string
func (*OutputDescriptor) GetSchema ¶
func (x *OutputDescriptor) GetSchema() string
func (*OutputDescriptor) GetStyles ¶
func (x *OutputDescriptor) GetStyles() *types1.Styles
func (*OutputDescriptor) ProtoMessage ¶
func (*OutputDescriptor) ProtoMessage()
func (*OutputDescriptor) ProtoReflect ¶
func (x *OutputDescriptor) ProtoReflect() protoreflect.Message
func (*OutputDescriptor) Reset ¶
func (x *OutputDescriptor) Reset()
func (*OutputDescriptor) String ¶
func (x *OutputDescriptor) String() string
type PresentationDefinition ¶
type PresentationDefinition struct { // ID unique resource identifier. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name human-friendly name that describes what the Presentation Definition pertains to. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Purpose describes the purpose for which the Presentation Definition’s inputs are being requested. Purpose string `protobuf:"bytes,3,opt,name=purpose,proto3" json:"purpose,omitempty"` Locale string `protobuf:"bytes,4,opt,name=locale,proto3" json:"locale,omitempty"` // Format is an object with one or more properties matching the registered Claim Format Designations // (jwt, jwt_vc, jwt_vp, etc.) to inform the Holder of the claim format configurations the Verifier can process. Format *Format `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` // SubmissionRequirements must conform to the Submission Requirement Format. // If not present, all inputs listed in the InputDescriptors array are required for submission. SubmissionRequirements []*SubmissionRequirement `` /* 127-byte string literal not displayed */ InputDescriptors []*InputDescriptor `protobuf:"bytes,7,rep,name=input_descriptors,json=inputDescriptors,proto3" json:"input_descriptors,omitempty"` // contains filtered or unexported fields }
PresentationDefinition presentation definitions (https://identity.foundation/presentation-exchange/). swagger:model
func (*PresentationDefinition) Descriptor
deprecated
func (*PresentationDefinition) Descriptor() ([]byte, []int)
Deprecated: Use PresentationDefinition.ProtoReflect.Descriptor instead.
func (*PresentationDefinition) GetFormat ¶
func (x *PresentationDefinition) GetFormat() *Format
func (*PresentationDefinition) GetId ¶
func (x *PresentationDefinition) GetId() string
func (*PresentationDefinition) GetInputDescriptors ¶
func (x *PresentationDefinition) GetInputDescriptors() []*InputDescriptor
func (*PresentationDefinition) GetLocale ¶
func (x *PresentationDefinition) GetLocale() string
func (*PresentationDefinition) GetName ¶
func (x *PresentationDefinition) GetName() string
func (*PresentationDefinition) GetPurpose ¶
func (x *PresentationDefinition) GetPurpose() string
func (*PresentationDefinition) GetSubmissionRequirements ¶
func (x *PresentationDefinition) GetSubmissionRequirements() []*SubmissionRequirement
func (*PresentationDefinition) ProtoMessage ¶
func (*PresentationDefinition) ProtoMessage()
func (*PresentationDefinition) ProtoReflect ¶
func (x *PresentationDefinition) ProtoReflect() protoreflect.Message
func (*PresentationDefinition) Reset ¶
func (x *PresentationDefinition) Reset()
func (*PresentationDefinition) String ¶
func (x *PresentationDefinition) String() string
type PresentationV2 ¶
type PresentationV2 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300]. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // Formats contains an entry for each presentations~attach array entry, providing the the value of the attachment // @id and the verifiable presentation format and version of the attachment. Formats []*Format `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats,omitempty"` // PresentationsAttach an array of attachments containing the presentation in the requested format(s). PresentationsAttach []*types.Attachment `protobuf:"bytes,5,rep,name=presentations_attach,json=presentationsAttach,proto3" json:"presentations_attach,omitempty"` //presentations~attach // contains filtered or unexported fields }
PresentationV2 is a response to a RequestPresentationV2 message and contains signed presentations. TODO: Add ~please_ack decorator support for the protocol [Issue #2047]. swagger:model
func (*PresentationV2) Descriptor
deprecated
func (*PresentationV2) Descriptor() ([]byte, []int)
Deprecated: Use PresentationV2.ProtoReflect.Descriptor instead.
func (*PresentationV2) GetComment ¶
func (x *PresentationV2) GetComment() string
func (*PresentationV2) GetFormats ¶
func (x *PresentationV2) GetFormats() []*Format
func (*PresentationV2) GetId ¶
func (x *PresentationV2) GetId() string
func (*PresentationV2) GetPresentationsAttach ¶
func (x *PresentationV2) GetPresentationsAttach() []*types.Attachment
func (*PresentationV2) GetType ¶
func (x *PresentationV2) GetType() string
func (*PresentationV2) ProtoMessage ¶
func (*PresentationV2) ProtoMessage()
func (*PresentationV2) ProtoReflect ¶
func (x *PresentationV2) ProtoReflect() protoreflect.Message
func (*PresentationV2) Reset ¶
func (x *PresentationV2) Reset()
func (*PresentationV2) String ¶
func (x *PresentationV2) String() string
type PresentationV3 ¶
type PresentationV3 struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // @type Body *PresentationV3Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` // Attachments is an array of attachments that further define the presentation request being proposed. // This might be used to clarify which formats or format versions are wanted. Attachments []*types.AttachmentV2 `protobuf:"bytes,3,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
PresentationV3 is a response to a RequestPresentationV3 message and contains signed presentations. swagger:model
func (*PresentationV3) Descriptor
deprecated
func (*PresentationV3) Descriptor() ([]byte, []int)
Deprecated: Use PresentationV3.ProtoReflect.Descriptor instead.
func (*PresentationV3) GetAttachments ¶
func (x *PresentationV3) GetAttachments() []*types.AttachmentV2
func (*PresentationV3) GetBody ¶
func (x *PresentationV3) GetBody() *PresentationV3Body
func (*PresentationV3) GetType ¶
func (x *PresentationV3) GetType() string
func (*PresentationV3) ProtoMessage ¶
func (*PresentationV3) ProtoMessage()
func (*PresentationV3) ProtoReflect ¶
func (x *PresentationV3) ProtoReflect() protoreflect.Message
func (*PresentationV3) Reset ¶
func (x *PresentationV3) Reset()
func (*PresentationV3) String ¶
func (x *PresentationV3) String() string
type PresentationV3Body ¶
type PresentationV3Body struct { GoalCode string `protobuf:"bytes,1,opt,name=goal_code,json=goalCode,proto3" json:"goal_code,omitempty"` // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
PresentationV3Body represents body for PresentationV3.
func (*PresentationV3Body) Descriptor
deprecated
func (*PresentationV3Body) Descriptor() ([]byte, []int)
Deprecated: Use PresentationV3Body.ProtoReflect.Descriptor instead.
func (*PresentationV3Body) GetComment ¶
func (x *PresentationV3Body) GetComment() string
func (*PresentationV3Body) GetGoalCode ¶
func (x *PresentationV3Body) GetGoalCode() string
func (*PresentationV3Body) ProtoMessage ¶
func (*PresentationV3Body) ProtoMessage()
func (*PresentationV3Body) ProtoReflect ¶
func (x *PresentationV3Body) ProtoReflect() protoreflect.Message
func (*PresentationV3Body) Reset ¶
func (x *PresentationV3Body) Reset()
func (*PresentationV3Body) String ¶
func (x *PresentationV3Body) String() string
type ProposePresentationV2 ¶
type ProposePresentationV2 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // Formats contains an entry for each proposal~attach array entry, including an optional value of the // attachment @id (if attachments are present) and the verifiable presentation format and version of the attachment. Formats []*Format `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats,omitempty"` // ProposalsAttach is an array of attachments that further define the presentation request being proposed. // This might be used to clarify which formats or format versions are wanted. ProposalAttach []*types.Attachment `protobuf:"bytes,5,rep,name=proposal_attach,json=proposalAttach,proto3" json:"proposal_attach,omitempty"` //proposals~attach // contains filtered or unexported fields }
ProposePresentationV2 is an optional message sent by the prover to the verifier to initiate a proof presentation process, or in response to a request-presentation message when the prover wants to propose using a different presentation format or request. swagger:model
func (*ProposePresentationV2) Descriptor
deprecated
func (*ProposePresentationV2) Descriptor() ([]byte, []int)
Deprecated: Use ProposePresentationV2.ProtoReflect.Descriptor instead.
func (*ProposePresentationV2) GetComment ¶
func (x *ProposePresentationV2) GetComment() string
func (*ProposePresentationV2) GetFormats ¶
func (x *ProposePresentationV2) GetFormats() []*Format
func (*ProposePresentationV2) GetId ¶
func (x *ProposePresentationV2) GetId() string
func (*ProposePresentationV2) GetProposalAttach ¶
func (x *ProposePresentationV2) GetProposalAttach() []*types.Attachment
func (*ProposePresentationV2) GetType ¶
func (x *ProposePresentationV2) GetType() string
func (*ProposePresentationV2) ProtoMessage ¶
func (*ProposePresentationV2) ProtoMessage()
func (*ProposePresentationV2) ProtoReflect ¶
func (x *ProposePresentationV2) ProtoReflect() protoreflect.Message
func (*ProposePresentationV2) Reset ¶
func (x *ProposePresentationV2) Reset()
func (*ProposePresentationV2) String ¶
func (x *ProposePresentationV2) String() string
type ProposePresentationV3 ¶
type ProposePresentationV3 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type Body *ProposePresentationV3Body `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // Attachments is an array of attachments that further define the presentation request being proposed. // This might be used to clarify which formats or format versions are wanted. Attachments []*types.AttachmentV2 `protobuf:"bytes,4,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
ProposePresentationV3 is an optional message sent by the prover to the verifier to initiate a proof presentation process, or in response to a request-presentation message when the prover wants to propose using a different presentation format or request. swagger:model
func (*ProposePresentationV3) Descriptor
deprecated
func (*ProposePresentationV3) Descriptor() ([]byte, []int)
Deprecated: Use ProposePresentationV3.ProtoReflect.Descriptor instead.
func (*ProposePresentationV3) GetAttachments ¶
func (x *ProposePresentationV3) GetAttachments() []*types.AttachmentV2
func (*ProposePresentationV3) GetBody ¶
func (x *ProposePresentationV3) GetBody() *ProposePresentationV3Body
func (*ProposePresentationV3) GetId ¶
func (x *ProposePresentationV3) GetId() string
func (*ProposePresentationV3) GetType ¶
func (x *ProposePresentationV3) GetType() string
func (*ProposePresentationV3) ProtoMessage ¶
func (*ProposePresentationV3) ProtoMessage()
func (*ProposePresentationV3) ProtoReflect ¶
func (x *ProposePresentationV3) ProtoReflect() protoreflect.Message
func (*ProposePresentationV3) Reset ¶
func (x *ProposePresentationV3) Reset()
func (*ProposePresentationV3) String ¶
func (x *ProposePresentationV3) String() string
type ProposePresentationV3Body ¶
type ProposePresentationV3Body struct { GoalCode string `protobuf:"bytes,1,opt,name=goal_code,json=goalCode,proto3" json:"goal_code,omitempty"` // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
ProposePresentationV3Body represents body for ProposePresentationV3.
func (*ProposePresentationV3Body) Descriptor
deprecated
func (*ProposePresentationV3Body) Descriptor() ([]byte, []int)
Deprecated: Use ProposePresentationV3Body.ProtoReflect.Descriptor instead.
func (*ProposePresentationV3Body) GetComment ¶
func (x *ProposePresentationV3Body) GetComment() string
func (*ProposePresentationV3Body) GetGoalCode ¶
func (x *ProposePresentationV3Body) GetGoalCode() string
func (*ProposePresentationV3Body) ProtoMessage ¶
func (*ProposePresentationV3Body) ProtoMessage()
func (*ProposePresentationV3Body) ProtoReflect ¶
func (x *ProposePresentationV3Body) ProtoReflect() protoreflect.Message
func (*ProposePresentationV3Body) Reset ¶
func (x *ProposePresentationV3Body) Reset()
func (*ProposePresentationV3Body) String ¶
func (x *ProposePresentationV3Body) String() string
type RawPresentation ¶
type RawPresentation struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type Holder string `protobuf:"bytes,3,opt,name=holder,proto3" json:"holder,omitempty"` Context *anypb.Any `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // interface{} context VerifiableCredential *anypb.Any `protobuf:"bytes,5,opt,name=verifiableCredential,proto3" json:"verifiableCredential,omitempty"` // interface Proof []byte `protobuf:"bytes,6,opt,name=proof,proto3" json:"proof,omitempty"` // json.RawMessage // All unmapped fields are put here. CustomFields map[string]*anypb.Any `` /* 165-byte string literal not displayed */ // contains filtered or unexported fields }
RawPresentation is a basic verifiable credential. swagger:model
func (*RawPresentation) Descriptor
deprecated
func (*RawPresentation) Descriptor() ([]byte, []int)
Deprecated: Use RawPresentation.ProtoReflect.Descriptor instead.
func (*RawPresentation) GetContext ¶
func (x *RawPresentation) GetContext() *anypb.Any
func (*RawPresentation) GetCustomFields ¶
func (x *RawPresentation) GetCustomFields() map[string]*anypb.Any
func (*RawPresentation) GetHolder ¶
func (x *RawPresentation) GetHolder() string
func (*RawPresentation) GetId ¶
func (x *RawPresentation) GetId() string
func (*RawPresentation) GetProof ¶
func (x *RawPresentation) GetProof() []byte
func (*RawPresentation) GetType ¶
func (x *RawPresentation) GetType() string
func (*RawPresentation) GetVerifiableCredential ¶
func (x *RawPresentation) GetVerifiableCredential() *anypb.Any
func (*RawPresentation) ProtoMessage ¶
func (*RawPresentation) ProtoMessage()
func (*RawPresentation) ProtoReflect ¶
func (x *RawPresentation) ProtoReflect() protoreflect.Message
func (*RawPresentation) Reset ¶
func (x *RawPresentation) Reset()
func (*RawPresentation) String ¶
func (x *RawPresentation) String() string
type RequestPresentationV2 ¶
type RequestPresentationV2 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // WillConfirm is a field that defaults to "false" to indicate that the verifier will or will not // send a post-presentation confirmation ack message. WillConfirm bool `protobuf:"varint,4,opt,name=will_confirm,json=willConfirm,proto3" json:"will_confirm,omitempty"` // Formats contains an entry for each request_presentations~attach array entry, providing the the value of the // attachment @id and the verifiable presentation request format and version of the attachment. Formats []*Format `protobuf:"bytes,5,rep,name=formats,proto3" json:"formats,omitempty"` // RequestPresentationsAttach is an array of attachments containing the acceptable verifiable presentation requests. RequestPresentationsAttach []*types.Attachment `` // request_presentations~attach /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
RequestPresentationV2 describes values that need to be revealed and predicates that need to be fulfilled. swagger:model
func (*RequestPresentationV2) Descriptor
deprecated
func (*RequestPresentationV2) Descriptor() ([]byte, []int)
Deprecated: Use RequestPresentationV2.ProtoReflect.Descriptor instead.
func (*RequestPresentationV2) GetComment ¶
func (x *RequestPresentationV2) GetComment() string
func (*RequestPresentationV2) GetFormats ¶
func (x *RequestPresentationV2) GetFormats() []*Format
func (*RequestPresentationV2) GetId ¶
func (x *RequestPresentationV2) GetId() string
func (*RequestPresentationV2) GetRequestPresentationsAttach ¶
func (x *RequestPresentationV2) GetRequestPresentationsAttach() []*types.Attachment
func (*RequestPresentationV2) GetType ¶
func (x *RequestPresentationV2) GetType() string
func (*RequestPresentationV2) GetWillConfirm ¶
func (x *RequestPresentationV2) GetWillConfirm() bool
func (*RequestPresentationV2) ProtoMessage ¶
func (*RequestPresentationV2) ProtoMessage()
func (*RequestPresentationV2) ProtoReflect ¶
func (x *RequestPresentationV2) ProtoReflect() protoreflect.Message
func (*RequestPresentationV2) Reset ¶
func (x *RequestPresentationV2) Reset()
func (*RequestPresentationV2) String ¶
func (x *RequestPresentationV2) String() string
type RequestPresentationV3 ¶
type RequestPresentationV3 struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type Body *RequestPresentationV3Body `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // Attachments is an array of attachments containing the acceptable verifiable presentation requests. Attachments []*types.AttachmentV2 `protobuf:"bytes,4,rep,name=attachments,proto3" json:"attachments,omitempty"` // contains filtered or unexported fields }
RequestPresentationV3 describes values that need to be revealed and predicates that need to be fulfilled. swagger:model
func (*RequestPresentationV3) Descriptor
deprecated
func (*RequestPresentationV3) Descriptor() ([]byte, []int)
Deprecated: Use RequestPresentationV3.ProtoReflect.Descriptor instead.
func (*RequestPresentationV3) GetAttachments ¶
func (x *RequestPresentationV3) GetAttachments() []*types.AttachmentV2
func (*RequestPresentationV3) GetBody ¶
func (x *RequestPresentationV3) GetBody() *RequestPresentationV3Body
func (*RequestPresentationV3) GetId ¶
func (x *RequestPresentationV3) GetId() string
func (*RequestPresentationV3) GetType ¶
func (x *RequestPresentationV3) GetType() string
func (*RequestPresentationV3) ProtoMessage ¶
func (*RequestPresentationV3) ProtoMessage()
func (*RequestPresentationV3) ProtoReflect ¶
func (x *RequestPresentationV3) ProtoReflect() protoreflect.Message
func (*RequestPresentationV3) Reset ¶
func (x *RequestPresentationV3) Reset()
func (*RequestPresentationV3) String ¶
func (x *RequestPresentationV3) String() string
type RequestPresentationV3Body ¶
type RequestPresentationV3Body struct { GoalCode string `protobuf:"bytes,1,opt,name=goal_code,json=goalCode,proto3" json:"goal_code,omitempty"` // Comment is a field that provides some human readable information about the proposed presentation. // TODO: Should follow DIDComm conventions for l10n. [Issue #1300] Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // WillConfirm is a field that defaults to "false" to indicate that the verifier will or will not // send a post-presentation confirmation ack message. WillConfirm bool `protobuf:"varint,3,opt,name=will_confirm,json=willConfirm,proto3" json:"will_confirm,omitempty"` // contains filtered or unexported fields }
RequestPresentationV3Body represents body for RequestPresentationV3.
func (*RequestPresentationV3Body) Descriptor
deprecated
func (*RequestPresentationV3Body) Descriptor() ([]byte, []int)
Deprecated: Use RequestPresentationV3Body.ProtoReflect.Descriptor instead.
func (*RequestPresentationV3Body) GetComment ¶
func (x *RequestPresentationV3Body) GetComment() string
func (*RequestPresentationV3Body) GetGoalCode ¶
func (x *RequestPresentationV3Body) GetGoalCode() string
func (*RequestPresentationV3Body) GetWillConfirm ¶
func (x *RequestPresentationV3Body) GetWillConfirm() bool
func (*RequestPresentationV3Body) ProtoMessage ¶
func (*RequestPresentationV3Body) ProtoMessage()
func (*RequestPresentationV3Body) ProtoReflect ¶
func (x *RequestPresentationV3Body) ProtoReflect() protoreflect.Message
func (*RequestPresentationV3Body) Reset ¶
func (x *RequestPresentationV3Body) Reset()
func (*RequestPresentationV3Body) String ¶
func (x *RequestPresentationV3Body) String() string
type ResolvedDescriptor ¶
type ResolvedDescriptor struct { DescriptorId string `protobuf:"bytes,1,opt,name=descriptor_id,json=descriptorId,proto3" json:"descriptor_id,omitempty"` // descriptionId Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Subtitle string `protobuf:"bytes,3,opt,name=subtitle,proto3" json:"subtitle,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` Styles *types1.Styles `protobuf:"bytes,5,opt,name=styles,proto3" json:"styles,omitempty"` Properties []*ResolvedProperty `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` // contains filtered or unexported fields }
ResolvedDescriptor typically represents results of resolving manifests by credential fulfillment. typically represents a DataDisplayDescriptor that's had its various "template" fields resolved into concrete values based on a Verifiable Credential. swagger:model
func (*ResolvedDescriptor) Descriptor
deprecated
func (*ResolvedDescriptor) Descriptor() ([]byte, []int)
Deprecated: Use ResolvedDescriptor.ProtoReflect.Descriptor instead.
func (*ResolvedDescriptor) GetDescription ¶
func (x *ResolvedDescriptor) GetDescription() string
func (*ResolvedDescriptor) GetDescriptorId ¶
func (x *ResolvedDescriptor) GetDescriptorId() string
func (*ResolvedDescriptor) GetProperties ¶
func (x *ResolvedDescriptor) GetProperties() []*ResolvedProperty
func (*ResolvedDescriptor) GetStyles ¶
func (x *ResolvedDescriptor) GetStyles() *types1.Styles
func (*ResolvedDescriptor) GetSubtitle ¶
func (x *ResolvedDescriptor) GetSubtitle() string
func (*ResolvedDescriptor) GetTitle ¶
func (x *ResolvedDescriptor) GetTitle() string
func (*ResolvedDescriptor) ProtoMessage ¶
func (*ResolvedDescriptor) ProtoMessage()
func (*ResolvedDescriptor) ProtoReflect ¶
func (x *ResolvedDescriptor) ProtoReflect() protoreflect.Message
func (*ResolvedDescriptor) Reset ¶
func (x *ResolvedDescriptor) Reset()
func (*ResolvedDescriptor) String ¶
func (x *ResolvedDescriptor) String() string
type ResolvedProperty ¶
type ResolvedProperty struct { Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
ResolvedProperty contains resolved result for each resolved property.
func (*ResolvedProperty) Descriptor
deprecated
func (*ResolvedProperty) Descriptor() ([]byte, []int)
Deprecated: Use ResolvedProperty.ProtoReflect.Descriptor instead.
func (*ResolvedProperty) GetLabel ¶
func (x *ResolvedProperty) GetLabel() string
func (*ResolvedProperty) GetSchema ¶
func (x *ResolvedProperty) GetSchema() *Schema
func (*ResolvedProperty) GetValue ¶
func (x *ResolvedProperty) GetValue() *anypb.Any
func (*ResolvedProperty) ProtoMessage ¶
func (*ResolvedProperty) ProtoMessage()
func (*ResolvedProperty) ProtoReflect ¶
func (x *ResolvedProperty) ProtoReflect() protoreflect.Message
func (*ResolvedProperty) Reset ¶
func (x *ResolvedProperty) Reset()
func (*ResolvedProperty) String ¶
func (x *ResolvedProperty) String() string
type Schema ¶
type Schema struct { 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 input descriptor schema.
func (*Schema) Descriptor
deprecated
func (*Schema) GetRequired ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) ProtoReflect ¶
func (x *Schema) ProtoReflect() protoreflect.Message
type SubmissionRequirement ¶
type SubmissionRequirement struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Purpose string `protobuf:"bytes,2,opt,name=purpose,proto3" json:"purpose,omitempty"` Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` Count int64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"` Min int64 `protobuf:"varint,5,opt,name=min,proto3" json:"min,omitempty"` Max int64 `protobuf:"varint,6,opt,name=max,proto3" json:"max,omitempty"` From string `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"` FromNested []*SubmissionRequirement `protobuf:"bytes,8,rep,name=from_nested,json=fromNested,proto3" json:"from_nested,omitempty"` // contains filtered or unexported fields }
SubmissionRequirement describes input that must be submitted via a Presentation Submission to satisfy Verifier demands. swagger:model
func (*SubmissionRequirement) Descriptor
deprecated
func (*SubmissionRequirement) Descriptor() ([]byte, []int)
Deprecated: Use SubmissionRequirement.ProtoReflect.Descriptor instead.
func (*SubmissionRequirement) GetCount ¶
func (x *SubmissionRequirement) GetCount() int64
func (*SubmissionRequirement) GetFrom ¶
func (x *SubmissionRequirement) GetFrom() string
func (*SubmissionRequirement) GetFromNested ¶
func (x *SubmissionRequirement) GetFromNested() []*SubmissionRequirement
func (*SubmissionRequirement) GetMax ¶
func (x *SubmissionRequirement) GetMax() int64
func (*SubmissionRequirement) GetMin ¶
func (x *SubmissionRequirement) GetMin() int64
func (*SubmissionRequirement) GetName ¶
func (x *SubmissionRequirement) GetName() string
func (*SubmissionRequirement) GetPurpose ¶
func (x *SubmissionRequirement) GetPurpose() string
func (*SubmissionRequirement) GetRule ¶
func (x *SubmissionRequirement) GetRule() string
func (*SubmissionRequirement) ProtoMessage ¶
func (*SubmissionRequirement) ProtoMessage()
func (*SubmissionRequirement) ProtoReflect ¶
func (x *SubmissionRequirement) ProtoReflect() protoreflect.Message
func (*SubmissionRequirement) Reset ¶
func (x *SubmissionRequirement) Reset()
func (*SubmissionRequirement) String ¶
func (x *SubmissionRequirement) String() string