services

package
v0.0.0-...-893f904 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_did_presentproof_services_presentproof_proto protoreflect.FileDescriptor
View Source
var PresentProofController_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.did.presentproof.services.PresentProofController",
	HandlerType: (*PresentProofControllerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "actions",
			Handler:    _PresentProofController_Actions_Handler,
		},
		{
			MethodName: "sendRequestPresentation",
			Handler:    _PresentProofController_SendRequestPresentation_Handler,
		},
		{
			MethodName: "sendRequestPresentationV3",
			Handler:    _PresentProofController_SendRequestPresentationV3_Handler,
		},
		{
			MethodName: "sendProposePresentation",
			Handler:    _PresentProofController_SendProposePresentation_Handler,
		},
		{
			MethodName: "sendProposePresentationV3",
			Handler:    _PresentProofController_SendProposePresentationV3_Handler,
		},
		{
			MethodName: "acceptProblemReport",
			Handler:    _PresentProofController_AcceptProblemReport_Handler,
		},
		{
			MethodName: "acceptRequestPresentation",
			Handler:    _PresentProofController_AcceptRequestPresentation_Handler,
		},
		{
			MethodName: "acceptRequestPresentationV3",
			Handler:    _PresentProofController_AcceptRequestPresentationV3_Handler,
		},
		{
			MethodName: "acceptProposePresentation",
			Handler:    _PresentProofController_AcceptProposePresentation_Handler,
		},
		{
			MethodName: "acceptProposePresentationV3",
			Handler:    _PresentProofController_AcceptProposePresentationV3_Handler,
		},
		{
			MethodName: "acceptPresentation",
			Handler:    _PresentProofController_AcceptPresentation_Handler,
		},
		{
			MethodName: "negotiateRequestPresentation",
			Handler:    _PresentProofController_NegotiateRequestPresentation_Handler,
		},
		{
			MethodName: "negotiateRequestPresentationV3",
			Handler:    _PresentProofController_NegotiateRequestPresentationV3_Handler,
		},
		{
			MethodName: "declineRequestPresentation",
			Handler:    _PresentProofController_DeclineRequestPresentation_Handler,
		},
		{
			MethodName: "declineProposePresentation",
			Handler:    _PresentProofController_DeclineProposePresentation_Handler,
		},
		{
			MethodName: "declinePresentation",
			Handler:    _PresentProofController_DeclinePresentation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/did/presentproof/services/presentproof.proto",
}

PresentProofController_ServiceDesc is the grpc.ServiceDesc for PresentProofController service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPresentProofControllerServer

func RegisterPresentProofControllerServer(s grpc.ServiceRegistrar, srv PresentProofControllerServer)

Types

type AcceptPresentationBody

type AcceptPresentationBody struct {

	// Names represent the names of how presentations will be stored
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// RedirectURL is optional web redirect URL that can be sent to prover.
	// Useful in cases where verifier would want prover to redirect once protocol is over.
	RedirectURL string `protobuf:"bytes,3,opt,name=redirectURL,proto3" json:"redirectURL,omitempty"`
	// contains filtered or unexported fields
}

AcceptPresentationBody model

This is used for accepting a presentation.

func (*AcceptPresentationBody) Descriptor deprecated

func (*AcceptPresentationBody) Descriptor() ([]byte, []int)

Deprecated: Use AcceptPresentationBody.ProtoReflect.Descriptor instead.

func (*AcceptPresentationBody) GetNames

func (x *AcceptPresentationBody) GetNames() []string

func (*AcceptPresentationBody) GetRedirectURL

func (x *AcceptPresentationBody) GetRedirectURL() string

func (*AcceptPresentationBody) ProtoMessage

func (*AcceptPresentationBody) ProtoMessage()

func (*AcceptPresentationBody) ProtoReflect

func (x *AcceptPresentationBody) ProtoReflect() protoreflect.Message

func (*AcceptPresentationBody) Reset

func (x *AcceptPresentationBody) Reset()

func (*AcceptPresentationBody) String

func (x *AcceptPresentationBody) String() string

type AcceptProposePresentationBody

type AcceptProposePresentationBody struct {

	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	RequestPresentation *types1.RequestPresentationV2 `protobuf:"bytes,1,opt,name=request_presentation,json=requestPresentation,proto3" json:"request_presentation,omitempty"`
	// contains filtered or unexported fields
}

AcceptProposePresentationBody model

This is used for accepting a propose presentation.

func (*AcceptProposePresentationBody) Descriptor deprecated

func (*AcceptProposePresentationBody) Descriptor() ([]byte, []int)

Deprecated: Use AcceptProposePresentationBody.ProtoReflect.Descriptor instead.

func (*AcceptProposePresentationBody) GetRequestPresentation

func (x *AcceptProposePresentationBody) GetRequestPresentation() *types1.RequestPresentationV2

func (*AcceptProposePresentationBody) ProtoMessage

func (*AcceptProposePresentationBody) ProtoMessage()

func (*AcceptProposePresentationBody) ProtoReflect

func (*AcceptProposePresentationBody) Reset

func (x *AcceptProposePresentationBody) Reset()

func (*AcceptProposePresentationBody) String

type AcceptProposePresentationV3Body

type AcceptProposePresentationV3Body struct {

	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	RequestPresentation *types1.RequestPresentationV3 `protobuf:"bytes,1,opt,name=request_presentation,json=requestPresentation,proto3" json:"request_presentation,omitempty"`
	// contains filtered or unexported fields
}

AcceptProposePresentationV3Body model

This is used for accepting a propose presentation.

func (*AcceptProposePresentationV3Body) Descriptor deprecated

func (*AcceptProposePresentationV3Body) Descriptor() ([]byte, []int)

Deprecated: Use AcceptProposePresentationV3Body.ProtoReflect.Descriptor instead.

func (*AcceptProposePresentationV3Body) GetRequestPresentation

func (x *AcceptProposePresentationV3Body) GetRequestPresentation() *types1.RequestPresentationV3

func (*AcceptProposePresentationV3Body) ProtoMessage

func (*AcceptProposePresentationV3Body) ProtoMessage()

func (*AcceptProposePresentationV3Body) ProtoReflect

func (*AcceptProposePresentationV3Body) Reset

func (*AcceptProposePresentationV3Body) String

type AcceptRequestPresentationV2Request

type AcceptRequestPresentationV2Request struct {

	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// Presentation is a message that contains signed presentations.
	Presentation *types1.PresentationV2 `protobuf:"bytes,2,opt,name=presentation,proto3" json:"presentation,omitempty"`
	// contains filtered or unexported fields
}

AcceptRequestPresentationV2Request model

This is used for accepting a request presentation.

func (*AcceptRequestPresentationV2Request) Descriptor deprecated

func (*AcceptRequestPresentationV2Request) Descriptor() ([]byte, []int)

Deprecated: Use AcceptRequestPresentationV2Request.ProtoReflect.Descriptor instead.

func (*AcceptRequestPresentationV2Request) GetPiid

func (*AcceptRequestPresentationV2Request) GetPresentation

func (*AcceptRequestPresentationV2Request) ProtoMessage

func (*AcceptRequestPresentationV2Request) ProtoMessage()

func (*AcceptRequestPresentationV2Request) ProtoReflect

func (*AcceptRequestPresentationV2Request) Reset

func (*AcceptRequestPresentationV2Request) String

type ActionsResponse

type ActionsResponse struct {
	Actions []*types.Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

ActionsResponse model

Represents Actions response message.

func (*ActionsResponse) Descriptor deprecated

func (*ActionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ActionsResponse.ProtoReflect.Descriptor instead.

func (*ActionsResponse) GetActions

func (x *ActionsResponse) GetActions() []*types.Action

func (*ActionsResponse) ProtoMessage

func (*ActionsResponse) ProtoMessage()

func (*ActionsResponse) ProtoReflect

func (x *ActionsResponse) ProtoReflect() protoreflect.Message

func (*ActionsResponse) Reset

func (x *ActionsResponse) Reset()

func (*ActionsResponse) String

func (x *ActionsResponse) String() string

type DocPresentProofActionsResponse

type DocPresentProofActionsResponse struct {

	// in: body
	Body *PresentProofActionsResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:response presentProofActionsResponse

func (*DocPresentProofActionsResponse) Descriptor deprecated

func (*DocPresentProofActionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use DocPresentProofActionsResponse.ProtoReflect.Descriptor instead.

func (*DocPresentProofActionsResponse) GetBody

func (*DocPresentProofActionsResponse) ProtoMessage

func (*DocPresentProofActionsResponse) ProtoMessage()

func (*DocPresentProofActionsResponse) ProtoReflect

func (*DocPresentProofActionsResponse) Reset

func (x *DocPresentProofActionsResponse) Reset()

func (*DocPresentProofActionsResponse) String

type DocPresentProofSendProposePresentationRequest

type DocPresentProofSendProposePresentationRequest struct {

	// in: body
	Body *PresentProofSendProposePresentationRequest `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

docPresentProofSendProposePresentationRequest model

This is used for operation to send a propose presentation.

swagger:parameters presentProofSendProposePresentation

func (*DocPresentProofSendProposePresentationRequest) Descriptor deprecated

Deprecated: Use DocPresentProofSendProposePresentationRequest.ProtoReflect.Descriptor instead.

func (*DocPresentProofSendProposePresentationRequest) GetBody

func (*DocPresentProofSendProposePresentationRequest) ProtoMessage

func (*DocPresentProofSendProposePresentationRequest) ProtoReflect

func (*DocPresentProofSendProposePresentationRequest) Reset

func (*DocPresentProofSendProposePresentationRequest) String

type DocPresentProofSendProposePresentationResponse

type DocPresentProofSendProposePresentationResponse struct {

	// in: body
	Body *PresentProofSendRequestPresentationResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

docPresentProofSendProposePresentationResponse model

Represents a SendProposePresentation response message.

swagger:response presentProofSendProposePresentationResponse

func (*DocPresentProofSendProposePresentationResponse) Descriptor deprecated

Deprecated: Use DocPresentProofSendProposePresentationResponse.ProtoReflect.Descriptor instead.

func (*DocPresentProofSendProposePresentationResponse) GetBody

func (*DocPresentProofSendProposePresentationResponse) ProtoMessage

func (*DocPresentProofSendProposePresentationResponse) ProtoReflect

func (*DocPresentProofSendProposePresentationResponse) Reset

func (*DocPresentProofSendProposePresentationResponse) String

type DocPresentProofSendProposePresentationV3Request

type DocPresentProofSendProposePresentationV3Request struct {

	// in: body
	Body *PresentProofSendProposePresentationV3Request `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

docPresentProofSendProposePresentationV3Request model

This is used for operation to send a propose presentation.

swagger:parameters presentProofSendProposePresentationV3

func (*DocPresentProofSendProposePresentationV3Request) Descriptor deprecated

Deprecated: Use DocPresentProofSendProposePresentationV3Request.ProtoReflect.Descriptor instead.

func (*DocPresentProofSendProposePresentationV3Request) GetBody

func (*DocPresentProofSendProposePresentationV3Request) ProtoMessage

func (*DocPresentProofSendProposePresentationV3Request) ProtoReflect

func (*DocPresentProofSendProposePresentationV3Request) Reset

func (*DocPresentProofSendProposePresentationV3Request) String

type DocPresentProofSendRequestPresentationRequest

type DocPresentProofSendRequestPresentationRequest struct {

	// in: body
	Body *PresentProofSendRequestPresentationV2Request `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

docPresentProofSendRequestPresentationRequest model

This is used for operation to send a request presentation.

swagger:parameters presentProofSendRequestPresentation

func (*DocPresentProofSendRequestPresentationRequest) Descriptor deprecated

Deprecated: Use DocPresentProofSendRequestPresentationRequest.ProtoReflect.Descriptor instead.

func (*DocPresentProofSendRequestPresentationRequest) GetBody

func (*DocPresentProofSendRequestPresentationRequest) ProtoMessage

func (*DocPresentProofSendRequestPresentationRequest) ProtoReflect

func (*DocPresentProofSendRequestPresentationRequest) Reset

func (*DocPresentProofSendRequestPresentationRequest) String

type DocPresentProofSendRequestPresentationResponse

type DocPresentProofSendRequestPresentationResponse struct {

	// in: body
	Body *PresentProofSendRequestPresentationResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*DocPresentProofSendRequestPresentationResponse) Descriptor deprecated

Deprecated: Use DocPresentProofSendRequestPresentationResponse.ProtoReflect.Descriptor instead.

func (*DocPresentProofSendRequestPresentationResponse) GetBody

func (*DocPresentProofSendRequestPresentationResponse) ProtoMessage

func (*DocPresentProofSendRequestPresentationResponse) ProtoReflect

func (*DocPresentProofSendRequestPresentationResponse) Reset

func (*DocPresentProofSendRequestPresentationResponse) String

type DocPresentProofSendRequestPresentationV3Request

type DocPresentProofSendRequestPresentationV3Request struct {

	// in: body
	Body *PresentProofSendRequestPresentationV3Request `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

docPresentProofSendRequestPresentationV3Request model

This is used for operation to send a request presentation.

swagger:parameters presentProofSendRequestPresentationV3

func (*DocPresentProofSendRequestPresentationV3Request) Descriptor deprecated

Deprecated: Use DocPresentProofSendRequestPresentationV3Request.ProtoReflect.Descriptor instead.

func (*DocPresentProofSendRequestPresentationV3Request) GetBody

func (*DocPresentProofSendRequestPresentationV3Request) ProtoMessage

func (*DocPresentProofSendRequestPresentationV3Request) ProtoReflect

func (*DocPresentProofSendRequestPresentationV3Request) Reset

func (*DocPresentProofSendRequestPresentationV3Request) String

type NegotiateRequestPresentationV2Body

type NegotiateRequestPresentationV2Body struct {

	// ProposePresentation is a response message to a request-presentation message when the Prover wants to
	// propose using a different presentation format.
	ProposePresentation *types1.ProposePresentationV2 `protobuf:"bytes,1,opt,name=propose_presentation,json=proposePresentation,proto3" json:"propose_presentation,omitempty"`
	// contains filtered or unexported fields
}

NegotiateRequestPresentationV2Body model

This is used by the Prover to counter a presentation request they received with a proposal.

func (*NegotiateRequestPresentationV2Body) Descriptor deprecated

func (*NegotiateRequestPresentationV2Body) Descriptor() ([]byte, []int)

Deprecated: Use NegotiateRequestPresentationV2Body.ProtoReflect.Descriptor instead.

func (*NegotiateRequestPresentationV2Body) GetProposePresentation

func (*NegotiateRequestPresentationV2Body) ProtoMessage

func (*NegotiateRequestPresentationV2Body) ProtoMessage()

func (*NegotiateRequestPresentationV2Body) ProtoReflect

func (*NegotiateRequestPresentationV2Body) Reset

func (*NegotiateRequestPresentationV2Body) String

type NegotiateRequestPresentationV3Body

type NegotiateRequestPresentationV3Body struct {

	// ProposePresentation is a response message to a request-presentation message when the Prover wants to
	// propose using a different presentation format.
	ProposePresentation *types1.ProposePresentationV3 `protobuf:"bytes,1,opt,name=propose_presentation,json=proposePresentation,proto3" json:"propose_presentation,omitempty"`
	// contains filtered or unexported fields
}

NegotiateRequestPresentationV3Body model

This is used by the Prover to counter a presentation request they received with a proposal.

func (*NegotiateRequestPresentationV3Body) Descriptor deprecated

func (*NegotiateRequestPresentationV3Body) Descriptor() ([]byte, []int)

Deprecated: Use NegotiateRequestPresentationV3Body.ProtoReflect.Descriptor instead.

func (*NegotiateRequestPresentationV3Body) GetProposePresentation

func (*NegotiateRequestPresentationV3Body) ProtoMessage

func (*NegotiateRequestPresentationV3Body) ProtoMessage()

func (*NegotiateRequestPresentationV3Body) ProtoReflect

func (*NegotiateRequestPresentationV3Body) Reset

func (*NegotiateRequestPresentationV3Body) String

type PresentProofAcceptPresentationRequest

type PresentProofAcceptPresentationRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string                  `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	Body *AcceptPresentationBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

PresentProofAcceptPresentationRequest model

This is used for operation to accept a presentation.

swagger:parameters presentProofAcceptPresentation

func (*PresentProofAcceptPresentationRequest) Descriptor deprecated

func (*PresentProofAcceptPresentationRequest) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofAcceptPresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptPresentationRequest) GetBody

func (*PresentProofAcceptPresentationRequest) GetPiid

func (*PresentProofAcceptPresentationRequest) ProtoMessage

func (*PresentProofAcceptPresentationRequest) ProtoMessage()

func (*PresentProofAcceptPresentationRequest) ProtoReflect

func (*PresentProofAcceptPresentationRequest) Reset

func (*PresentProofAcceptPresentationRequest) String

type PresentProofAcceptPresentationResponse

type PresentProofAcceptPresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofAcceptPresentationResponse model

Represents a AcceptPresentation response message.

swagger:response presentProofAcceptPresentationResponse

func (*PresentProofAcceptPresentationResponse) Descriptor deprecated

func (*PresentProofAcceptPresentationResponse) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofAcceptPresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptPresentationResponse) ProtoMessage

func (*PresentProofAcceptPresentationResponse) ProtoReflect

func (*PresentProofAcceptPresentationResponse) Reset

func (*PresentProofAcceptPresentationResponse) String

type PresentProofAcceptProblemReportRequest

type PresentProofAcceptProblemReportRequest struct {

	// PIID Protocol instance ID
	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

PresentProofAcceptProblemReportRequest model

This is used for accepting a problem report.

swagger:parameters presentProofAcceptProblemReport

func (*PresentProofAcceptProblemReportRequest) Descriptor deprecated

func (*PresentProofAcceptProblemReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofAcceptProblemReportRequest.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptProblemReportRequest) GetPiid

func (*PresentProofAcceptProblemReportRequest) ProtoMessage

func (*PresentProofAcceptProblemReportRequest) ProtoReflect

func (*PresentProofAcceptProblemReportRequest) Reset

func (*PresentProofAcceptProblemReportRequest) String

type PresentProofAcceptProblemReportResponse

type PresentProofAcceptProblemReportResponse struct {
	// contains filtered or unexported fields
}

PresentProofAcceptProblemReportResponse model

Represents a AcceptProblemReport response message.

swagger:response presentProofAcceptProblemReportResponse

func (*PresentProofAcceptProblemReportResponse) Descriptor deprecated

func (*PresentProofAcceptProblemReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofAcceptProblemReportResponse.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptProblemReportResponse) ProtoMessage

func (*PresentProofAcceptProblemReportResponse) ProtoReflect

func (*PresentProofAcceptProblemReportResponse) Reset

func (*PresentProofAcceptProblemReportResponse) String

type PresentProofAcceptProposePresentationRequest

type PresentProofAcceptProposePresentationRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	//
	// required: true
	Body *AcceptProposePresentationBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

PresentProofAcceptProposePresentationRequest model

This is used for operation to accept a propose presentation.

swagger:parameters presentProofAcceptProposePresentation

func (*PresentProofAcceptProposePresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofAcceptProposePresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptProposePresentationRequest) GetBody

func (*PresentProofAcceptProposePresentationRequest) GetPiid

func (*PresentProofAcceptProposePresentationRequest) ProtoMessage

func (*PresentProofAcceptProposePresentationRequest) ProtoReflect

func (*PresentProofAcceptProposePresentationRequest) Reset

func (*PresentProofAcceptProposePresentationRequest) String

type PresentProofAcceptProposePresentationResponse

type PresentProofAcceptProposePresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofAcceptProposePresentationResponse model

Represents a AcceptProposePresentation response message.

swagger:response presentProofAcceptProposePresentationResponse

func (*PresentProofAcceptProposePresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofAcceptProposePresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptProposePresentationResponse) ProtoMessage

func (*PresentProofAcceptProposePresentationResponse) ProtoReflect

func (*PresentProofAcceptProposePresentationResponse) Reset

func (*PresentProofAcceptProposePresentationResponse) String

type PresentProofAcceptProposePresentationV3Request

type PresentProofAcceptProposePresentationV3Request struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	//
	// required: true
	Body *AcceptProposePresentationV3Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

PresentProofAcceptProposePresentationV3Request model

This is used for operation to accept a propose presentation.

swagger:parameters presentProofAcceptProposePresentationV3

func (*PresentProofAcceptProposePresentationV3Request) Descriptor deprecated

Deprecated: Use PresentProofAcceptProposePresentationV3Request.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptProposePresentationV3Request) GetBody

func (*PresentProofAcceptProposePresentationV3Request) GetPiid

func (*PresentProofAcceptProposePresentationV3Request) ProtoMessage

func (*PresentProofAcceptProposePresentationV3Request) ProtoReflect

func (*PresentProofAcceptProposePresentationV3Request) Reset

func (*PresentProofAcceptProposePresentationV3Request) String

type PresentProofAcceptRequestPresentationRequest

type PresentProofAcceptRequestPresentationRequest struct {

	// PIID Protocol instance ID
	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	// required: true
	// Presentation is a message that contains signed presentations.
	Presentation *types1.PresentationV2 `protobuf:"bytes,2,opt,name=presentation,proto3" json:"presentation,omitempty"`
	// contains filtered or unexported fields
}

AcceptRequestPresentationRequest model

PresentProofAcceptRequestPresentationRequest model

This is used for operation to accept a request presentation.

swagger:parameters presentProofAcceptRequestPresentation

func (*PresentProofAcceptRequestPresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofAcceptRequestPresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptRequestPresentationRequest) GetPiid

func (*PresentProofAcceptRequestPresentationRequest) GetPresentation

func (*PresentProofAcceptRequestPresentationRequest) ProtoMessage

func (*PresentProofAcceptRequestPresentationRequest) ProtoReflect

func (*PresentProofAcceptRequestPresentationRequest) Reset

func (*PresentProofAcceptRequestPresentationRequest) String

type PresentProofAcceptRequestPresentationResponse

type PresentProofAcceptRequestPresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofAcceptRequestPresentationResponse model

Represents a AcceptRequestPresentation response message.

swagger:response presentProofAcceptRequestPresentationResponse

func (*PresentProofAcceptRequestPresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofAcceptRequestPresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptRequestPresentationResponse) ProtoMessage

func (*PresentProofAcceptRequestPresentationResponse) ProtoReflect

func (*PresentProofAcceptRequestPresentationResponse) Reset

func (*PresentProofAcceptRequestPresentationResponse) String

type PresentProofAcceptRequestPresentationV3Request

type PresentProofAcceptRequestPresentationV3Request struct {

	// PIID Protocol instance ID
	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	// Presentation is a message that contains signed presentations.
	//
	// required: true
	Presentation *types1.PresentationV3 `protobuf:"bytes,2,opt,name=presentation,proto3" json:"presentation,omitempty"`
	// contains filtered or unexported fields
}

AcceptRequestPresentationV3Request model

This is used for accepting a request presentation. PresentProofAcceptRequestPresentationV3Request model

This is used for operation to accept a request presentation.

swagger:parameters presentProofAcceptRequestPresentationV3

func (*PresentProofAcceptRequestPresentationV3Request) Descriptor deprecated

Deprecated: Use PresentProofAcceptRequestPresentationV3Request.ProtoReflect.Descriptor instead.

func (*PresentProofAcceptRequestPresentationV3Request) GetPiid

func (*PresentProofAcceptRequestPresentationV3Request) GetPresentation

func (*PresentProofAcceptRequestPresentationV3Request) ProtoMessage

func (*PresentProofAcceptRequestPresentationV3Request) ProtoReflect

func (*PresentProofAcceptRequestPresentationV3Request) Reset

func (*PresentProofAcceptRequestPresentationV3Request) String

type PresentProofActionsRequest

type PresentProofActionsRequest struct {
	// contains filtered or unexported fields
}

PresentProofActionsRequest model

Returns pending actions that have not yet to be executed or cancelled.

swagger:parameters presentProofActions

func (*PresentProofActionsRequest) Descriptor deprecated

func (*PresentProofActionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofActionsRequest.ProtoReflect.Descriptor instead.

func (*PresentProofActionsRequest) ProtoMessage

func (*PresentProofActionsRequest) ProtoMessage()

func (*PresentProofActionsRequest) ProtoReflect

func (*PresentProofActionsRequest) Reset

func (x *PresentProofActionsRequest) Reset()

func (*PresentProofActionsRequest) String

func (x *PresentProofActionsRequest) String() string

type PresentProofActionsResponse

type PresentProofActionsResponse struct {
	Actions []*types.Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

presentProofActionsResponse model

Represents a Actions response message.

func (*PresentProofActionsResponse) Descriptor deprecated

func (*PresentProofActionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofActionsResponse.ProtoReflect.Descriptor instead.

func (*PresentProofActionsResponse) GetActions

func (x *PresentProofActionsResponse) GetActions() []*types.Action

func (*PresentProofActionsResponse) ProtoMessage

func (*PresentProofActionsResponse) ProtoMessage()

func (*PresentProofActionsResponse) ProtoReflect

func (*PresentProofActionsResponse) Reset

func (x *PresentProofActionsResponse) Reset()

func (*PresentProofActionsResponse) String

func (x *PresentProofActionsResponse) String() string

type PresentProofControllerClient

type PresentProofControllerClient interface {
	// Actions returns pending actions that have not yet to be executed or canceled.
	// Actions swagger:route GET /presentproof/actions present-proof presentProofActions
	//
	// Returns pending actions that have not yet to be executed or cancelled.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofActionsResponse
	Actions(ctx context.Context, in *PresentProofActionsRequest, opts ...grpc.CallOption) (*PresentProofActionsResponse, error)
	// SendRequestPresentation is used by the Verifier to send a request presentation.
	// SendRequestPresentation swagger:route POST /presentproof/send-request-presentation present-proof presentProofSendRequestPresentation
	//
	// Sends a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendRequestPresentationResponse
	SendRequestPresentation(ctx context.Context, in *PresentProofSendRequestPresentationV2Request, opts ...grpc.CallOption) (*PresentProofSendRequestPresentationResponse, error)
	// SendRequestPresentationV3 swagger:route POST /presentproof/v3/send-request-presentation present-proof presentProofSendRequestPresentationV3
	//
	// Sends a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendRequestPresentationResponse
	SendRequestPresentationV3(ctx context.Context, in *PresentProofSendRequestPresentationV3Request, opts ...grpc.CallOption) (*PresentProofSendRequestPresentationResponse, error)
	// SendProposePresentation is used by the Prover to send a propose presentation.
	// SendProposePresentation swagger:route POST /presentproof/send-propose-presentation present-proof presentProofSendProposePresentation
	//
	// Sends a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendProposePresentationResponse
	SendProposePresentation(ctx context.Context, in *PresentProofSendProposePresentationRequest, opts ...grpc.CallOption) (*PresentProofSendRequestPresentationResponse, error)
	// sendProposePresentationV3 swagger:route POST /presentproof/v3/send-propose-presentation present-proof presentProofSendProposePresentationV3
	//
	// Sends a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendProposePresentationResponse
	// AcceptRequestPresentation is used by the Prover is to accept a presentation request.
	SendProposePresentationV3(ctx context.Context, in *PresentProofSendProposePresentationV3Request, opts ...grpc.CallOption) (*PresentProofSendRequestPresentationResponse, error)
	// AcceptProblemReport swagger:route POST /presentproof/{piid}/accept-problem-report present-proof presentProofAcceptProblemReport
	//
	// Accepts a problem report.
	// AcceptProblemReport is used for accepting problem report.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptProblemReportResponse
	AcceptProblemReport(ctx context.Context, in *PresentProofAcceptProblemReportRequest, opts ...grpc.CallOption) (*PresentProofAcceptProblemReportResponse, error)
	// AcceptRequestPresentation swagger:route POST /presentproof/{piid}/accept-request-presentation present-proof presentProofAcceptRequestPresentation
	//
	// Accepts a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptRequestPresentationResponse
	AcceptRequestPresentation(ctx context.Context, in *PresentProofAcceptProblemReportRequest, opts ...grpc.CallOption) (*PresentProofAcceptProblemReportResponse, error)
	// AcceptRequestPresentationV3 swagger:route POST /presentproof/v3/{piid}/accept-request-presentation present-proof presentProofAcceptRequestPresentationV3
	//
	// Accepts a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptRequestPresentationResponse
	AcceptRequestPresentationV3(ctx context.Context, in *PresentProofAcceptRequestPresentationV3Request, opts ...grpc.CallOption) (*PresentProofAcceptProblemReportResponse, error)
	// acceptProposePresentation swagger:route POST /presentproof/{piid}/accept-propose-presentation present-proof presentProofAcceptProposePresentation
	//
	// AcceptProposePresentation is used when the Verifier is willing to accept the propose presentation.
	// Accepts a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptProposePresentationResponse
	AcceptProposePresentation(ctx context.Context, in *PresentProofAcceptProposePresentationRequest, opts ...grpc.CallOption) (*PresentProofAcceptProposePresentationResponse, error)
	// AcceptProposePresentationV3 swagger:route POST /presentproof/v3/{piid}/accept-propose-presentation present-proof presentProofAcceptProposePresentationV3
	//
	// Accepts a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptProposePresentationResponse
	AcceptProposePresentationV3(ctx context.Context, in *PresentProofAcceptProposePresentationV3Request, opts ...grpc.CallOption) (*PresentProofAcceptProposePresentationResponse, error)
	// AcceptPresentation is used by the Verifier to accept a presentation.
	// AcceptPresentation swagger:route POST /presentproof/{piid}/accept-presentation present-proof presentProofAcceptPresentation
	//
	// Accepts a presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptPresentationResponse
	AcceptPresentation(ctx context.Context, in *PresentProofAcceptPresentationRequest, opts ...grpc.CallOption) (*PresentProofAcceptPresentationResponse, error)
	// NegotiateRequestPresentation is used by the Prover to counter a presentation request they received with a proposal.
	// NegotiateRequestPresentation swagger:route POST /presentproof/{piid}/negotiate-request-presentation present-proof presentProofNegotiateRequestPresentation
	//
	// Is used by the Prover to counter a presentation request they received with a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofNegotiateRequestPresentationResponse
	NegotiateRequestPresentation(ctx context.Context, in *PresentProofNegotiateRequestPresentationRequest, opts ...grpc.CallOption) (*PresentProofNegotiateRequestPresentationResponse, error)
	// NegotiateRequestPresentationV3 swagger:route POST /presentproof/v3/{piid}/negotiate-request-presentation present-proof presentProofNegotiateRequestPresentationV3
	//
	// Is used by the Prover to counter a presentation request they received with a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofNegotiateRequestPresentationResponse
	NegotiateRequestPresentationV3(ctx context.Context, in *PresentProofNegotiateRequestPresentationV3Request, opts ...grpc.CallOption) (*PresentProofNegotiateRequestPresentationResponse, error)
	// DeclineRequestPresentation is used when the Prover does not want to accept the request presentation.
	// DeclineRequestPresentation swagger:route POST /presentproof/{piid}/decline-request-presentation present-proof presentProofDeclineRequestPresentation
	//
	// Declines a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofDeclineRequestPresentationResponse
	DeclineRequestPresentation(ctx context.Context, in *PresentProofDeclineRequestPresentationRequest, opts ...grpc.CallOption) (*PresentProofDeclineRequestPresentationResponse, error)
	// DeclineProposePresentation is used when the Verifier does not want to accept the propose presentation.
	// DeclineProposePresentation swagger:route POST /presentproof/{piid}/decline-propose-presentation present-proof presentProofDeclineProposePresentation
	//
	// Declines a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofDeclineProposePresentationResponse
	DeclineProposePresentation(ctx context.Context, in *PresentProofDeclineProposePresentationRequest, opts ...grpc.CallOption) (*PresentProofDeclineProposePresentationResponse, error)
	// DeclinePresentation is used by the Verifier to decline a presentation.
	// DeclinePresentation swagger:route POST /presentproof/{piid}/decline-presentation present-proof presentProofDeclinePresentation
	//
	// Declines a presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofDeclinePresentationResponse
	DeclinePresentation(ctx context.Context, in *PresentProofDeclinePresentationRequest, opts ...grpc.CallOption) (*PresentProofDeclinePresentationResponse, error)
}

PresentProofControllerClient is the client API for PresentProofController service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PresentProofControllerServer

type PresentProofControllerServer interface {
	// Actions returns pending actions that have not yet to be executed or canceled.
	// Actions swagger:route GET /presentproof/actions present-proof presentProofActions
	//
	// Returns pending actions that have not yet to be executed or cancelled.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofActionsResponse
	Actions(context.Context, *PresentProofActionsRequest) (*PresentProofActionsResponse, error)
	// SendRequestPresentation is used by the Verifier to send a request presentation.
	// SendRequestPresentation swagger:route POST /presentproof/send-request-presentation present-proof presentProofSendRequestPresentation
	//
	// Sends a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendRequestPresentationResponse
	SendRequestPresentation(context.Context, *PresentProofSendRequestPresentationV2Request) (*PresentProofSendRequestPresentationResponse, error)
	// SendRequestPresentationV3 swagger:route POST /presentproof/v3/send-request-presentation present-proof presentProofSendRequestPresentationV3
	//
	// Sends a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendRequestPresentationResponse
	SendRequestPresentationV3(context.Context, *PresentProofSendRequestPresentationV3Request) (*PresentProofSendRequestPresentationResponse, error)
	// SendProposePresentation is used by the Prover to send a propose presentation.
	// SendProposePresentation swagger:route POST /presentproof/send-propose-presentation present-proof presentProofSendProposePresentation
	//
	// Sends a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendProposePresentationResponse
	SendProposePresentation(context.Context, *PresentProofSendProposePresentationRequest) (*PresentProofSendRequestPresentationResponse, error)
	// sendProposePresentationV3 swagger:route POST /presentproof/v3/send-propose-presentation present-proof presentProofSendProposePresentationV3
	//
	// Sends a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofSendProposePresentationResponse
	// AcceptRequestPresentation is used by the Prover is to accept a presentation request.
	SendProposePresentationV3(context.Context, *PresentProofSendProposePresentationV3Request) (*PresentProofSendRequestPresentationResponse, error)
	// AcceptProblemReport swagger:route POST /presentproof/{piid}/accept-problem-report present-proof presentProofAcceptProblemReport
	//
	// Accepts a problem report.
	// AcceptProblemReport is used for accepting problem report.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptProblemReportResponse
	AcceptProblemReport(context.Context, *PresentProofAcceptProblemReportRequest) (*PresentProofAcceptProblemReportResponse, error)
	// AcceptRequestPresentation swagger:route POST /presentproof/{piid}/accept-request-presentation present-proof presentProofAcceptRequestPresentation
	//
	// Accepts a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptRequestPresentationResponse
	AcceptRequestPresentation(context.Context, *PresentProofAcceptProblemReportRequest) (*PresentProofAcceptProblemReportResponse, error)
	// AcceptRequestPresentationV3 swagger:route POST /presentproof/v3/{piid}/accept-request-presentation present-proof presentProofAcceptRequestPresentationV3
	//
	// Accepts a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptRequestPresentationResponse
	AcceptRequestPresentationV3(context.Context, *PresentProofAcceptRequestPresentationV3Request) (*PresentProofAcceptProblemReportResponse, error)
	// acceptProposePresentation swagger:route POST /presentproof/{piid}/accept-propose-presentation present-proof presentProofAcceptProposePresentation
	//
	// AcceptProposePresentation is used when the Verifier is willing to accept the propose presentation.
	// Accepts a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptProposePresentationResponse
	AcceptProposePresentation(context.Context, *PresentProofAcceptProposePresentationRequest) (*PresentProofAcceptProposePresentationResponse, error)
	// AcceptProposePresentationV3 swagger:route POST /presentproof/v3/{piid}/accept-propose-presentation present-proof presentProofAcceptProposePresentationV3
	//
	// Accepts a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptProposePresentationResponse
	AcceptProposePresentationV3(context.Context, *PresentProofAcceptProposePresentationV3Request) (*PresentProofAcceptProposePresentationResponse, error)
	// AcceptPresentation is used by the Verifier to accept a presentation.
	// AcceptPresentation swagger:route POST /presentproof/{piid}/accept-presentation present-proof presentProofAcceptPresentation
	//
	// Accepts a presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofAcceptPresentationResponse
	AcceptPresentation(context.Context, *PresentProofAcceptPresentationRequest) (*PresentProofAcceptPresentationResponse, error)
	// NegotiateRequestPresentation is used by the Prover to counter a presentation request they received with a proposal.
	// NegotiateRequestPresentation swagger:route POST /presentproof/{piid}/negotiate-request-presentation present-proof presentProofNegotiateRequestPresentation
	//
	// Is used by the Prover to counter a presentation request they received with a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofNegotiateRequestPresentationResponse
	NegotiateRequestPresentation(context.Context, *PresentProofNegotiateRequestPresentationRequest) (*PresentProofNegotiateRequestPresentationResponse, error)
	// NegotiateRequestPresentationV3 swagger:route POST /presentproof/v3/{piid}/negotiate-request-presentation present-proof presentProofNegotiateRequestPresentationV3
	//
	// Is used by the Prover to counter a presentation request they received with a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofNegotiateRequestPresentationResponse
	NegotiateRequestPresentationV3(context.Context, *PresentProofNegotiateRequestPresentationV3Request) (*PresentProofNegotiateRequestPresentationResponse, error)
	// DeclineRequestPresentation is used when the Prover does not want to accept the request presentation.
	// DeclineRequestPresentation swagger:route POST /presentproof/{piid}/decline-request-presentation present-proof presentProofDeclineRequestPresentation
	//
	// Declines a request presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofDeclineRequestPresentationResponse
	DeclineRequestPresentation(context.Context, *PresentProofDeclineRequestPresentationRequest) (*PresentProofDeclineRequestPresentationResponse, error)
	// DeclineProposePresentation is used when the Verifier does not want to accept the propose presentation.
	// DeclineProposePresentation swagger:route POST /presentproof/{piid}/decline-propose-presentation present-proof presentProofDeclineProposePresentation
	//
	// Declines a propose presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofDeclineProposePresentationResponse
	DeclineProposePresentation(context.Context, *PresentProofDeclineProposePresentationRequest) (*PresentProofDeclineProposePresentationResponse, error)
	// DeclinePresentation is used by the Verifier to decline a presentation.
	// DeclinePresentation swagger:route POST /presentproof/{piid}/decline-presentation present-proof presentProofDeclinePresentation
	//
	// Declines a presentation.
	//
	// Responses:
	//    default: genericError
	//        200: presentProofDeclinePresentationResponse
	DeclinePresentation(context.Context, *PresentProofDeclinePresentationRequest) (*PresentProofDeclinePresentationResponse, error)
	// contains filtered or unexported methods
}

PresentProofControllerServer is the server API for PresentProofController service. All implementations must embed UnimplementedPresentProofControllerServer for forward compatibility

type PresentProofDeclinePresentationRequest

type PresentProofDeclinePresentationRequest struct {

	// PIID Protocol instance ID
	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// Reason why presentation is declined
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// RedirectURL is optional web redirect URL that can be sent to prover.
	// Useful in cases where verifier would want prover to redirect once presentation is declined.
	RedirectURL string `protobuf:"bytes,3,opt,name=redirectURL,proto3" json:"redirectURL,omitempty"`
	// contains filtered or unexported fields
}

PresentProofDeclinePresentationRequest model

This is used when the presentation needs to be rejected.

func (*PresentProofDeclinePresentationRequest) Descriptor deprecated

func (*PresentProofDeclinePresentationRequest) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofDeclinePresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofDeclinePresentationRequest) GetPiid

func (*PresentProofDeclinePresentationRequest) GetReason

func (*PresentProofDeclinePresentationRequest) GetRedirectURL

func (x *PresentProofDeclinePresentationRequest) GetRedirectURL() string

func (*PresentProofDeclinePresentationRequest) ProtoMessage

func (*PresentProofDeclinePresentationRequest) ProtoReflect

func (*PresentProofDeclinePresentationRequest) Reset

func (*PresentProofDeclinePresentationRequest) String

type PresentProofDeclinePresentationResponse

type PresentProofDeclinePresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofDeclinePresentationResponse model

Represents a DeclinePresentation response message.

func (*PresentProofDeclinePresentationResponse) Descriptor deprecated

func (*PresentProofDeclinePresentationResponse) Descriptor() ([]byte, []int)

Deprecated: Use PresentProofDeclinePresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofDeclinePresentationResponse) ProtoMessage

func (*PresentProofDeclinePresentationResponse) ProtoReflect

func (*PresentProofDeclinePresentationResponse) Reset

func (*PresentProofDeclinePresentationResponse) String

type PresentProofDeclineProposePresentationRequest

type PresentProofDeclineProposePresentationRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// Reason why proposal is declined
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// RedirectURL is optional web redirect URL that can be sent to prover.
	// Useful in cases where verifier would want prover to redirect after its proposal gets declined.
	RedirectURL string `protobuf:"bytes,3,opt,name=redirectURL,proto3" json:"redirectURL,omitempty"`
	// contains filtered or unexported fields
}

PresentProofDeclineProposePresentationRequest model

This is used for operation to decline a propose presentation.

swagger:parameters presentProofDeclineProposePresentation

func (*PresentProofDeclineProposePresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofDeclineProposePresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofDeclineProposePresentationRequest) GetPiid

func (*PresentProofDeclineProposePresentationRequest) GetReason

func (*PresentProofDeclineProposePresentationRequest) GetRedirectURL

func (*PresentProofDeclineProposePresentationRequest) ProtoMessage

func (*PresentProofDeclineProposePresentationRequest) ProtoReflect

func (*PresentProofDeclineProposePresentationRequest) Reset

func (*PresentProofDeclineProposePresentationRequest) String

type PresentProofDeclineProposePresentationResponse

type PresentProofDeclineProposePresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofDeclineProposePresentationResponse model

Represents a DeclineProposePresentation response message.

swagger:response presentProofDeclineProposePresentationResponse

func (*PresentProofDeclineProposePresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofDeclineProposePresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofDeclineProposePresentationResponse) ProtoMessage

func (*PresentProofDeclineProposePresentationResponse) ProtoReflect

func (*PresentProofDeclineProposePresentationResponse) Reset

func (*PresentProofDeclineProposePresentationResponse) String

type PresentProofDeclineRequestPresentationRequest

type PresentProofDeclineRequestPresentationRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// Reason is an explanation of why it was declined
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

PresentProofDeclineRequestPresentationRequest model

This is used for operation to decline a request presentation.

swagger:parameters presentProofDeclineRequestPresentation

func (*PresentProofDeclineRequestPresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofDeclineRequestPresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofDeclineRequestPresentationRequest) GetPiid

func (*PresentProofDeclineRequestPresentationRequest) GetReason

func (*PresentProofDeclineRequestPresentationRequest) ProtoMessage

func (*PresentProofDeclineRequestPresentationRequest) ProtoReflect

func (*PresentProofDeclineRequestPresentationRequest) Reset

func (*PresentProofDeclineRequestPresentationRequest) String

type PresentProofDeclineRequestPresentationResponse

type PresentProofDeclineRequestPresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofDeclineRequestPresentationResponse model

Represents a DeclineRequestPresentation response message.

swagger:response presentProofDeclineRequestPresentationResponse

func (*PresentProofDeclineRequestPresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofDeclineRequestPresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofDeclineRequestPresentationResponse) ProtoMessage

func (*PresentProofDeclineRequestPresentationResponse) ProtoReflect

func (*PresentProofDeclineRequestPresentationResponse) Reset

func (*PresentProofDeclineRequestPresentationResponse) String

type PresentProofNegotiateRequestPresentationRequest

type PresentProofNegotiateRequestPresentationRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	// ProposePresentation is a response message to a request-presentation message when the Prover wants to
	// propose using a different presentation format.
	//
	// required: true
	Body *NegotiateRequestPresentationV2Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

PresentProofNegotiateRequestPresentationRequest model

Is used by the Prover to counter a presentation request they received with a proposal.

swagger:parameters presentProofNegotiateRequestPresentation

func (*PresentProofNegotiateRequestPresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofNegotiateRequestPresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofNegotiateRequestPresentationRequest) GetBody

func (*PresentProofNegotiateRequestPresentationRequest) GetPiid

func (*PresentProofNegotiateRequestPresentationRequest) ProtoMessage

func (*PresentProofNegotiateRequestPresentationRequest) ProtoReflect

func (*PresentProofNegotiateRequestPresentationRequest) Reset

func (*PresentProofNegotiateRequestPresentationRequest) String

type PresentProofNegotiateRequestPresentationResponse

type PresentProofNegotiateRequestPresentationResponse struct {
	// contains filtered or unexported fields
}

PresentProofNegotiateRequestPresentationResponse model

Represents a NegotiateRequestPresentation response message.

swagger:response presentProofNegotiateRequestPresentationResponse

func (*PresentProofNegotiateRequestPresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofNegotiateRequestPresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofNegotiateRequestPresentationResponse) ProtoMessage

func (*PresentProofNegotiateRequestPresentationResponse) ProtoReflect

func (*PresentProofNegotiateRequestPresentationResponse) Reset

func (*PresentProofNegotiateRequestPresentationResponse) String

type PresentProofNegotiateRequestPresentationV3Request

type PresentProofNegotiateRequestPresentationV3Request struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	// PIID Protocol instance ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	// ProposePresentation is a response message to a request-presentation message when the Prover wants to
	// propose using a different presentation format.
	//
	// required: true
	Body *NegotiateRequestPresentationV3Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

PresentProofNegotiateRequestPresentationV3Request model

Is used by the Prover to counter a presentation request they received with a proposal.

swagger:parameters presentProofNegotiateRequestPresentationV3

func (*PresentProofNegotiateRequestPresentationV3Request) Descriptor deprecated

Deprecated: Use PresentProofNegotiateRequestPresentationV3Request.ProtoReflect.Descriptor instead.

func (*PresentProofNegotiateRequestPresentationV3Request) GetBody

func (*PresentProofNegotiateRequestPresentationV3Request) GetPiid

func (*PresentProofNegotiateRequestPresentationV3Request) ProtoMessage

func (*PresentProofNegotiateRequestPresentationV3Request) ProtoReflect

func (*PresentProofNegotiateRequestPresentationV3Request) Reset

func (*PresentProofNegotiateRequestPresentationV3Request) String

type PresentProofSendProposePresentationRequest

type PresentProofSendProposePresentationRequest struct {

	// MyDID sender's did
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// ConnectionID ID of connection between sender and receiver.
	// Optional: if present, is used instead of MyDID + TheirDID.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// ProposePresentation is a message sent by the Prover to the verifier to initiate a proof
	// presentation process.
	ProposePresentation *types1.GenericProposePresentation `protobuf:"bytes,4,opt,name=propose_presentation,json=proposePresentation,proto3" json:"propose_presentation,omitempty"`
	// contains filtered or unexported fields
}

PresentProofSendProposePresentationRequest model

This is used for sending a propose presentation.

func (*PresentProofSendProposePresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofSendProposePresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofSendProposePresentationRequest) GetConnectionId

func (*PresentProofSendProposePresentationRequest) GetMyDid

func (*PresentProofSendProposePresentationRequest) GetProposePresentation

func (*PresentProofSendProposePresentationRequest) GetTheirDid

func (*PresentProofSendProposePresentationRequest) ProtoMessage

func (*PresentProofSendProposePresentationRequest) ProtoReflect

func (*PresentProofSendProposePresentationRequest) Reset

func (*PresentProofSendProposePresentationRequest) String

type PresentProofSendProposePresentationResponse

type PresentProofSendProposePresentationResponse struct {

	// PIID Protocol instance ID. It can be used as a correlation ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

SendProposePresentationResponse model

Represents a SendProposePresentation response message.

func (*PresentProofSendProposePresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofSendProposePresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofSendProposePresentationResponse) GetPiid

func (*PresentProofSendProposePresentationResponse) ProtoMessage

func (*PresentProofSendProposePresentationResponse) ProtoReflect

func (*PresentProofSendProposePresentationResponse) Reset

func (*PresentProofSendProposePresentationResponse) String

type PresentProofSendProposePresentationV2Request

type PresentProofSendProposePresentationV2Request struct {

	// MyDID sender's did
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// ConnectionID ID of connection between sender and receiver.
	// Optional: if present, is used instead of MyDID + TheirDID.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// ProposePresentation is a message sent by the Prover to the verifier to initiate a proof
	// presentation process.
	ProposePresentation *types1.ProposePresentationV2 `protobuf:"bytes,4,opt,name=propose_presentation,json=proposePresentation,proto3" json:"propose_presentation,omitempty"`
	// contains filtered or unexported fields
}

PresentProofSendProposePresentationV2Request model

This is used for sending a propose presentation.

func (*PresentProofSendProposePresentationV2Request) Descriptor deprecated

Deprecated: Use PresentProofSendProposePresentationV2Request.ProtoReflect.Descriptor instead.

func (*PresentProofSendProposePresentationV2Request) GetConnectionId

func (*PresentProofSendProposePresentationV2Request) GetMyDid

func (*PresentProofSendProposePresentationV2Request) GetProposePresentation

func (*PresentProofSendProposePresentationV2Request) GetTheirDid

func (*PresentProofSendProposePresentationV2Request) ProtoMessage

func (*PresentProofSendProposePresentationV2Request) ProtoReflect

func (*PresentProofSendProposePresentationV2Request) Reset

func (*PresentProofSendProposePresentationV2Request) String

type PresentProofSendProposePresentationV3Request

type PresentProofSendProposePresentationV3Request struct {

	// MyDID sender's did
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// ConnectionID ID of connection between sender and receiver.
	// Optional: if present, is used instead of MyDID + TheirDID.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// ProposePresentation is a message sent by the Prover to the verifier to initiate a proof
	// presentation process.
	ProposePresentation *types1.ProposePresentationV3 `protobuf:"bytes,4,opt,name=propose_presentation,json=proposePresentation,proto3" json:"propose_presentation,omitempty"`
	// contains filtered or unexported fields
}

PresentProofSendProposePresentationV3Request model

This is used for sending a propose presentation.

func (*PresentProofSendProposePresentationV3Request) Descriptor deprecated

Deprecated: Use PresentProofSendProposePresentationV3Request.ProtoReflect.Descriptor instead.

func (*PresentProofSendProposePresentationV3Request) GetConnectionId

func (*PresentProofSendProposePresentationV3Request) GetMyDid

func (*PresentProofSendProposePresentationV3Request) GetProposePresentation

func (*PresentProofSendProposePresentationV3Request) GetTheirDid

func (*PresentProofSendProposePresentationV3Request) ProtoMessage

func (*PresentProofSendProposePresentationV3Request) ProtoReflect

func (*PresentProofSendProposePresentationV3Request) Reset

func (*PresentProofSendProposePresentationV3Request) String

type PresentProofSendRequestPresentationRequest

type PresentProofSendRequestPresentationRequest struct {

	// MyDID sender's did
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// ConnectionID ID of connection between sender and receiver.
	// Optional: if present, is used instead of MyDID + TheirDID.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	RequestPresentation *types1.GenericRequestPresentation `protobuf:"bytes,4,opt,name=request_presentation,json=requestPresentation,proto3" json:"request_presentation,omitempty"`
	// contains filtered or unexported fields
}

SendRequestPresentationRequest model

This is used for sending a request presentation.

func (*PresentProofSendRequestPresentationRequest) Descriptor deprecated

Deprecated: Use PresentProofSendRequestPresentationRequest.ProtoReflect.Descriptor instead.

func (*PresentProofSendRequestPresentationRequest) GetConnectionId

func (*PresentProofSendRequestPresentationRequest) GetMyDid

func (*PresentProofSendRequestPresentationRequest) GetRequestPresentation

func (*PresentProofSendRequestPresentationRequest) GetTheirDid

func (*PresentProofSendRequestPresentationRequest) ProtoMessage

func (*PresentProofSendRequestPresentationRequest) ProtoReflect

func (*PresentProofSendRequestPresentationRequest) Reset

func (*PresentProofSendRequestPresentationRequest) String

type PresentProofSendRequestPresentationResponse

type PresentProofSendRequestPresentationResponse struct {

	// PIID Protocol instance ID. It can be used as a correlation ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

PresentProofSendRequestPresentationResponse model

Represents a SendRequestPresentation response message.

func (*PresentProofSendRequestPresentationResponse) Descriptor deprecated

Deprecated: Use PresentProofSendRequestPresentationResponse.ProtoReflect.Descriptor instead.

func (*PresentProofSendRequestPresentationResponse) GetPiid

func (*PresentProofSendRequestPresentationResponse) ProtoMessage

func (*PresentProofSendRequestPresentationResponse) ProtoReflect

func (*PresentProofSendRequestPresentationResponse) Reset

func (*PresentProofSendRequestPresentationResponse) String

type PresentProofSendRequestPresentationV2Request

type PresentProofSendRequestPresentationV2Request struct {

	// MyDID sender's did
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// ConnectionID ID of connection between sender and receiver.
	// Optional: if present, is used instead of MyDID + TheirDID.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	RequestPresentation *types1.RequestPresentationV2 `protobuf:"bytes,4,opt,name=request_presentation,json=requestPresentation,proto3" json:"request_presentation,omitempty"`
	// contains filtered or unexported fields
}

SendRequestPresentationV2Request model

This is used for sending a request presentation.

func (*PresentProofSendRequestPresentationV2Request) Descriptor deprecated

Deprecated: Use PresentProofSendRequestPresentationV2Request.ProtoReflect.Descriptor instead.

func (*PresentProofSendRequestPresentationV2Request) GetConnectionId

func (*PresentProofSendRequestPresentationV2Request) GetMyDid

func (*PresentProofSendRequestPresentationV2Request) GetRequestPresentation

func (*PresentProofSendRequestPresentationV2Request) GetTheirDid

func (*PresentProofSendRequestPresentationV2Request) ProtoMessage

func (*PresentProofSendRequestPresentationV2Request) ProtoReflect

func (*PresentProofSendRequestPresentationV2Request) Reset

func (*PresentProofSendRequestPresentationV2Request) String

type PresentProofSendRequestPresentationV3Request

type PresentProofSendRequestPresentationV3Request struct {

	// MyDID sender's did
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// ConnectionID ID of connection between sender and receiver.
	// Optional: if present, is used instead of MyDID + TheirDID.
	ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// RequestPresentation describes values that need to be revealed and predicates that need to be fulfilled.
	RequestPresentation *types1.RequestPresentationV3 `protobuf:"bytes,4,opt,name=request_presentation,json=requestPresentation,proto3" json:"request_presentation,omitempty"`
	// contains filtered or unexported fields
}

SendRequestPresentationV3Request model

This is used for sending a request presentation.

func (*PresentProofSendRequestPresentationV3Request) Descriptor deprecated

Deprecated: Use PresentProofSendRequestPresentationV3Request.ProtoReflect.Descriptor instead.

func (*PresentProofSendRequestPresentationV3Request) GetConnectionId

func (*PresentProofSendRequestPresentationV3Request) GetMyDid

func (*PresentProofSendRequestPresentationV3Request) GetRequestPresentation

func (*PresentProofSendRequestPresentationV3Request) GetTheirDid

func (*PresentProofSendRequestPresentationV3Request) ProtoMessage

func (*PresentProofSendRequestPresentationV3Request) ProtoReflect

func (*PresentProofSendRequestPresentationV3Request) Reset

func (*PresentProofSendRequestPresentationV3Request) String

type UnimplementedPresentProofControllerServer

type UnimplementedPresentProofControllerServer struct {
}

UnimplementedPresentProofControllerServer must be embedded to have forward compatible implementations.

type UnsafePresentProofControllerServer

type UnsafePresentProofControllerServer interface {
	// contains filtered or unexported methods
}

UnsafePresentProofControllerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PresentProofControllerServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL