response

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilityResponse

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

func NewAvailabilityResponse

func NewAvailabilityResponse(id string, hostingType domain.HostingType, contentType string, size int64) *AvailabilityResponse

func (AvailabilityResponse) ContentType

func (s AvailabilityResponse) ContentType() string

func (AvailabilityResponse) Id

func (AvailabilityResponse) Size

func (s AvailabilityResponse) Size() int64

func (AvailabilityResponse) Type

func (s AvailabilityResponse) Type() string

func (AvailabilityResponse) Url

func (s AvailabilityResponse) Url() string

type EncryptResponse

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

func NewEncryptResponse

func NewEncryptResponse(key *string, alg *string, subject *string) *EncryptResponse

func (EncryptResponse) Alg

func (s EncryptResponse) Alg() string

func (EncryptResponse) Key

func (s EncryptResponse) Key() string

func (EncryptResponse) Subject

func (s EncryptResponse) Subject() string

type IntegrityResponse

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

func NewIntegrityResponse

func NewIntegrityResponse(hash string, anchorID int) *IntegrityResponse

func (IntegrityResponse) AnchorID

func (c IntegrityResponse) AnchorID() int

func (IntegrityResponse) Hash

func (c IntegrityResponse) Hash() string

type ProcessResponse

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

func (ProcessResponse) AvailabilityResponse

func (p ProcessResponse) AvailabilityResponse() *AvailabilityResponse

func (ProcessResponse) CertificationResponse

func (p ProcessResponse) CertificationResponse() *IntegrityResponse

func (ProcessResponse) EncryptResponse

func (p ProcessResponse) EncryptResponse() *EncryptResponse

func (ProcessResponse) Hash

func (p ProcessResponse) Hash() string

func (ProcessResponse) MapToHandlerProcessResponse added in v1.3.0

func (p ProcessResponse) MapToHandlerProcessResponse() http_response.ProcessResponse

func (ProcessResponse) ProcessID added in v1.3.0

func (p ProcessResponse) ProcessID() string

func (ProcessResponse) SignResponse

func (p ProcessResponse) SignResponse() *SignResponse

type ProcessResponseBuilder

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

func NewProcessResponseBuilder

func NewProcessResponseBuilder() *ProcessResponseBuilder

func (*ProcessResponseBuilder) AvailabilityResponse

func (b *ProcessResponseBuilder) AvailabilityResponse(availabilityResponse AvailabilityResponse) *ProcessResponseBuilder

func (*ProcessResponseBuilder) Build

func (*ProcessResponseBuilder) CertificationHash

func (b *ProcessResponseBuilder) CertificationHash() string

func (*ProcessResponseBuilder) CertificationResponse

func (b *ProcessResponseBuilder) CertificationResponse(certificationResponse IntegrityResponse) *ProcessResponseBuilder

func (*ProcessResponseBuilder) EncryptResponse

func (b *ProcessResponseBuilder) EncryptResponse(encryptResponse EncryptResponse) *ProcessResponseBuilder

func (*ProcessResponseBuilder) HashResponse

func (b *ProcessResponseBuilder) HashResponse(hash string) *ProcessResponseBuilder

func (*ProcessResponseBuilder) ProcessIDResponse added in v1.3.0

func (b *ProcessResponseBuilder) ProcessIDResponse(processID string) *ProcessResponseBuilder

func (*ProcessResponseBuilder) SignResponse

func (b *ProcessResponseBuilder) SignResponse(signResponse SignResponse) *ProcessResponseBuilder

type SignResponse

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

func NewSignResponse

func NewSignResponse(signatures []Signature) *SignResponse

func (SignResponse) Signatures

func (s SignResponse) Signatures() []Signature

type Signature

type Signature struct {
	Signature   string
	Alg         string
	Kid         string
	MessageHash string
	Subject     string
}

func NewSignature

func NewSignature(signature string, alg string, kid string, messageHash string, subj *string) Signature

Jump to

Keyboard shortcuts

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