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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticityJSONResponse

type AuthenticityJSONResponse struct {
	Enabled    bool                                `json:"enabled"`
	Signatures []AuthenticitySignatureJSONResponse `json:"signatures"`
}

type AuthenticitySignatureJSONResponse

type AuthenticitySignatureJSONResponse struct {
	Signature   string `json:"signature"`
	Alg         string `json:"alg"`
	Kid         string `json:"kid"`
	MessageHash string `json:"message_hash"`
	Subject     string `json:"subject,omitempty"`
}

type AvailabilityJSONResponse

type AvailabilityJSONResponse struct {
	Enabled     bool   `json:"enabled"`
	Type        string `json:"type"`
	ID          string `json:"id"`
	Url         string `json:"url,omitempty"`
	ContentType string `json:"content_type"`
	Size        int64  `json:"size"`
}

type EncryptionJSONResponse

type EncryptionJSONResponse struct {
	Enabled bool   `json:"enabled"`
	Key     string `json:"key"`
	Alg     string `json:"alg"`
	Subject string `json:"subject"`
}

type IntegrityJSONResponse

type IntegrityJSONResponse struct {
	Enabled  bool `json:"enabled"`
	AnchorId int  `json:"anchor_id"`
}

type ProcessResponse

type ProcessResponse struct {
	Success      bool                      `json:"success"`
	ProcessID    string                    `json:"process_id"`
	Hash         string                    `json:"hash"`
	Integrity    *IntegrityJSONResponse    `json:"integrity,omitempty"`
	Authenticity *AuthenticityJSONResponse `json:"authenticity,omitempty"`
	Encryption   *EncryptionJSONResponse   `json:"encryption,omitempty"`
	Availability *AvailabilityJSONResponse `json:"availability,omitempty"`
}

Jump to

Keyboard shortcuts

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