Documentation ¶
Index ¶
- type AvailabilityResponse
- type EncryptResponse
- type IntegrityResponse
- type ProcessResponse
- type ProcessResponseBuilder
- func (b *ProcessResponseBuilder) AvailabilityResponse(availabilityResponse AvailabilityResponse) *ProcessResponseBuilder
- func (b *ProcessResponseBuilder) Build() *ProcessResponse
- func (b *ProcessResponseBuilder) CertificationHash() string
- func (b *ProcessResponseBuilder) CertificationResponse(certificationResponse IntegrityResponse) *ProcessResponseBuilder
- func (b *ProcessResponseBuilder) EncryptResponse(encryptResponse EncryptResponse) *ProcessResponseBuilder
- func (b *ProcessResponseBuilder) HashResponse(hash string) *ProcessResponseBuilder
- func (b *ProcessResponseBuilder) SignResponse(signResponse SignResponse) *ProcessResponseBuilder
- type SignResponse
- type Signature
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 (s AvailabilityResponse) Id() string
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) 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 (b *ProcessResponseBuilder) Build() *ProcessResponse
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) 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
Click to show internal directories.
Click to hide internal directories.