models

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: Apache-2.0 Imports: 11 Imported by: 81

Documentation

Index

Constants

View Source
const (

	// RekordV001SchemaSignatureFormatPgp captures enum value "pgp"
	RekordV001SchemaSignatureFormatPgp string = "pgp"

	// RekordV001SchemaSignatureFormatMinisign captures enum value "minisign"
	RekordV001SchemaSignatureFormatMinisign string = "minisign"

	// RekordV001SchemaSignatureFormatX509 captures enum value "x509"
	RekordV001SchemaSignatureFormatX509 string = "x509"

	// RekordV001SchemaSignatureFormatSSH captures enum value "ssh"
	RekordV001SchemaSignatureFormatSSH string = "ssh"
)
View Source
const (

	// SearchIndexPublicKeyFormatPgp captures enum value "pgp"
	SearchIndexPublicKeyFormatPgp string = "pgp"

	// SearchIndexPublicKeyFormatX509 captures enum value "x509"
	SearchIndexPublicKeyFormatX509 string = "x509"

	// SearchIndexPublicKeyFormatMinisign captures enum value "minisign"
	SearchIndexPublicKeyFormatMinisign string = "minisign"

	// SearchIndexPublicKeyFormatSSH captures enum value "ssh"
	SearchIndexPublicKeyFormatSSH string = "ssh"
)
View Source
const (

	// IntotoV001SchemaContentHashAlgorithmSha256 captures enum value "sha256"
	IntotoV001SchemaContentHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// JarV001SchemaArchiveHashAlgorithmSha256 captures enum value "sha256"
	JarV001SchemaArchiveHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// RekordV001SchemaDataHashAlgorithmSha256 captures enum value "sha256"
	RekordV001SchemaDataHashAlgorithmSha256 string = "sha256"
)
View Source
const (

	// RpmV001SchemaPackageHashAlgorithmSha256 captures enum value "sha256"
	RpmV001SchemaPackageHashAlgorithmSha256 string = "sha256"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsistencyProof

type ConsistencyProof struct {

	// hashes
	// Required: true
	Hashes []string `json:"hashes"`

	// The hash value stored at the root of the merkle tree at the time the proof was generated
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`
}

ConsistencyProof consistency proof

swagger:model ConsistencyProof

func (*ConsistencyProof) ContextValidate added in v0.2.0

func (m *ConsistencyProof) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this consistency proof based on context it is used

func (*ConsistencyProof) MarshalBinary

func (m *ConsistencyProof) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConsistencyProof) UnmarshalBinary

func (m *ConsistencyProof) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConsistencyProof) Validate

func (m *ConsistencyProof) Validate(formats strfmt.Registry) error

Validate validates this consistency proof

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// message
	Message string `json:"message,omitempty"`
}

Error error

swagger:model Error

func (*Error) ContextValidate added in v0.2.0

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type InclusionProof

type InclusionProof struct {

	// A list of hashes required to compute the inclusion proof, sorted in order from leaf to root
	// Required: true
	Hashes []string `json:"hashes"`

	// The index of the entry in the transparency log
	// Required: true
	// Minimum: 0
	LogIndex *int64 `json:"logIndex"`

	// The hash value stored at the root of the merkle tree at the time the proof was generated
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`

	// The size of the merkle tree at the time the inclusion proof was generated
	// Required: true
	// Minimum: 1
	TreeSize *int64 `json:"treeSize"`
}

InclusionProof inclusion proof

swagger:model InclusionProof

func (*InclusionProof) ContextValidate added in v0.2.0

func (m *InclusionProof) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this inclusion proof based on context it is used

func (*InclusionProof) MarshalBinary

func (m *InclusionProof) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InclusionProof) UnmarshalBinary

func (m *InclusionProof) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InclusionProof) Validate

func (m *InclusionProof) Validate(formats strfmt.Registry) error

Validate validates this inclusion proof

type Intoto added in v0.2.0

type Intoto struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec IntotoSchema `json:"spec"`
}

Intoto Intoto object

swagger:model intoto

func (*Intoto) ContextValidate added in v0.2.0

func (m *Intoto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto based on the context it is used

func (*Intoto) Kind added in v0.2.0

func (m *Intoto) Kind() string

Kind gets the kind of this subtype

func (*Intoto) MarshalBinary added in v0.2.0

func (m *Intoto) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Intoto) MarshalJSON added in v0.2.0

func (m Intoto) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Intoto) SetKind added in v0.2.0

func (m *Intoto) SetKind(val string)

SetKind sets the kind of this subtype

func (*Intoto) UnmarshalBinary added in v0.2.0

func (m *Intoto) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Intoto) UnmarshalJSON added in v0.2.0

func (m *Intoto) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Intoto) Validate added in v0.2.0

func (m *Intoto) Validate(formats strfmt.Registry) error

Validate validates this intoto

type IntotoSchema added in v0.2.0

type IntotoSchema interface{}

IntotoSchema Intoto Schema

Intoto for Rekord objects

swagger:model intotoSchema

type IntotoV001Schema added in v0.2.0

type IntotoV001Schema struct {

	// content
	// Required: true
	Content *IntotoV001SchemaContent `json:"content"`

	// Arbitrary content to be included in the verifiable entry in the transparency log
	ExtraData interface{} `json:"extraData,omitempty"`

	// The public key that can verify the signature
	// Required: true
	// Format: byte
	PublicKey *strfmt.Base64 `json:"publicKey"`
}

IntotoV001Schema intoto v0.0.1 Schema

Schema for intoto object

swagger:model intotoV001Schema

func (*IntotoV001Schema) ContextValidate added in v0.2.0

func (m *IntotoV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v001 schema based on the context it is used

func (*IntotoV001Schema) MarshalBinary added in v0.2.0

func (m *IntotoV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001Schema) UnmarshalBinary added in v0.2.0

func (m *IntotoV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001Schema) Validate added in v0.2.0

func (m *IntotoV001Schema) Validate(formats strfmt.Registry) error

Validate validates this intoto v001 schema

type IntotoV001SchemaContent added in v0.2.0

type IntotoV001SchemaContent struct {

	// envelope
	Envelope string `json:"envelope,omitempty"`

	// hash
	Hash *IntotoV001SchemaContentHash `json:"hash,omitempty"`
}

IntotoV001SchemaContent intoto v001 schema content

swagger:model IntotoV001SchemaContent

func (*IntotoV001SchemaContent) ContextValidate added in v0.2.0

func (m *IntotoV001SchemaContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intoto v001 schema content based on the context it is used

func (*IntotoV001SchemaContent) MarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001SchemaContent) UnmarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001SchemaContent) Validate added in v0.2.0

func (m *IntotoV001SchemaContent) Validate(formats strfmt.Registry) error

Validate validates this intoto v001 schema content

type IntotoV001SchemaContentHash added in v0.2.0

type IntotoV001SchemaContentHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the archive
	// Required: true
	Value *string `json:"value"`
}

IntotoV001SchemaContentHash Specifies the hash algorithm and value encompassing the entire signed archive

swagger:model IntotoV001SchemaContentHash

func (*IntotoV001SchemaContentHash) ContextValidate added in v0.2.0

func (m *IntotoV001SchemaContentHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this intoto v001 schema content hash based on context it is used

func (*IntotoV001SchemaContentHash) MarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContentHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntotoV001SchemaContentHash) UnmarshalBinary added in v0.2.0

func (m *IntotoV001SchemaContentHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntotoV001SchemaContentHash) Validate added in v0.2.0

func (m *IntotoV001SchemaContentHash) Validate(formats strfmt.Registry) error

Validate validates this intoto v001 schema content hash

type Jar added in v0.2.0

type Jar struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec JarSchema `json:"spec"`
}

Jar Java Archive (JAR)

swagger:model jar

func (*Jar) ContextValidate added in v0.2.0

func (m *Jar) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar based on the context it is used

func (*Jar) Kind added in v0.2.0

func (m *Jar) Kind() string

Kind gets the kind of this subtype

func (*Jar) MarshalBinary added in v0.2.0

func (m *Jar) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Jar) MarshalJSON added in v0.2.0

func (m Jar) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Jar) SetKind added in v0.2.0

func (m *Jar) SetKind(val string)

SetKind sets the kind of this subtype

func (*Jar) UnmarshalBinary added in v0.2.0

func (m *Jar) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Jar) UnmarshalJSON added in v0.2.0

func (m *Jar) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Jar) Validate added in v0.2.0

func (m *Jar) Validate(formats strfmt.Registry) error

Validate validates this jar

type JarSchema added in v0.2.0

type JarSchema interface{}

JarSchema JAR Schema

Schema for JAR objects

swagger:model jarSchema

type JarV001Schema added in v0.2.0

type JarV001Schema struct {

	// archive
	// Required: true
	Archive *JarV001SchemaArchive `json:"archive"`

	// Arbitrary content to be included in the verifiable entry in the transparency log
	ExtraData interface{} `json:"extraData,omitempty"`

	// signature
	Signature *JarV001SchemaSignature `json:"signature,omitempty"`
}

JarV001Schema JAR v0.0.1 Schema

Schema for JAR entries

swagger:model jarV001Schema

func (*JarV001Schema) ContextValidate added in v0.2.0

func (m *JarV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema based on the context it is used

func (*JarV001Schema) MarshalBinary added in v0.2.0

func (m *JarV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001Schema) UnmarshalBinary added in v0.2.0

func (m *JarV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001Schema) Validate added in v0.2.0

func (m *JarV001Schema) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema

type JarV001SchemaArchive added in v0.2.0

type JarV001SchemaArchive struct {

	// Specifies the archive inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *JarV001SchemaArchiveHash `json:"hash,omitempty"`

	// Specifies the location of the archive; if this is specified, a hash value must also be provided
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

JarV001SchemaArchive Information about the archive associated with the entry

swagger:model JarV001SchemaArchive

func (*JarV001SchemaArchive) ContextValidate added in v0.2.0

func (m *JarV001SchemaArchive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema archive based on the context it is used

func (*JarV001SchemaArchive) MarshalBinary added in v0.2.0

func (m *JarV001SchemaArchive) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaArchive) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaArchive) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaArchive) Validate added in v0.2.0

func (m *JarV001SchemaArchive) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema archive

type JarV001SchemaArchiveHash added in v0.2.0

type JarV001SchemaArchiveHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the archive
	// Required: true
	Value *string `json:"value"`
}

JarV001SchemaArchiveHash Specifies the hash algorithm and value encompassing the entire signed archive

swagger:model JarV001SchemaArchiveHash

func (*JarV001SchemaArchiveHash) ContextValidate added in v0.2.0

func (m *JarV001SchemaArchiveHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jar v001 schema archive hash based on context it is used

func (*JarV001SchemaArchiveHash) MarshalBinary added in v0.2.0

func (m *JarV001SchemaArchiveHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaArchiveHash) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaArchiveHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaArchiveHash) Validate added in v0.2.0

func (m *JarV001SchemaArchiveHash) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema archive hash

type JarV001SchemaSignature added in v0.2.0

type JarV001SchemaSignature struct {

	// Specifies the PKCS7 signature embedded within the JAR file
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`

	// public key
	// Required: true
	PublicKey *JarV001SchemaSignaturePublicKey `json:"publicKey"`
}

JarV001SchemaSignature Information about the included signature in the JAR file

swagger:model JarV001SchemaSignature

func (*JarV001SchemaSignature) ContextValidate added in v0.2.0

func (m *JarV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this jar v001 schema signature based on the context it is used

func (*JarV001SchemaSignature) MarshalBinary added in v0.2.0

func (m *JarV001SchemaSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaSignature) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaSignature) Validate added in v0.2.0

func (m *JarV001SchemaSignature) Validate(formats strfmt.Registry) error

Validate validates this jar v001 schema signature

type JarV001SchemaSignaturePublicKey added in v0.2.0

type JarV001SchemaSignaturePublicKey struct {

	// Specifies the content of the X509 certificate containing the public key used to verify the signature
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

JarV001SchemaSignaturePublicKey The X509 certificate containing the public key JAR which verifies the signature of the JAR

swagger:model JarV001SchemaSignaturePublicKey

func (*JarV001SchemaSignaturePublicKey) ContextValidate added in v0.2.0

func (m *JarV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this jar v001 schema signature public key based on context it is used

func (*JarV001SchemaSignaturePublicKey) MarshalBinary added in v0.2.0

func (m *JarV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JarV001SchemaSignaturePublicKey) UnmarshalBinary added in v0.2.0

func (m *JarV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JarV001SchemaSignaturePublicKey) Validate added in v0.2.0

Validate validates this jar v001 schema signature public key

type LogEntry

type LogEntry map[string]LogEntryAnon

LogEntry log entry

swagger:model LogEntry

func (LogEntry) ContextValidate added in v0.2.0

func (m LogEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log entry based on the context it is used

func (LogEntry) Validate

func (m LogEntry) Validate(formats strfmt.Registry) error

Validate validates this log entry

type LogEntryAnon

type LogEntryAnon struct {

	// body
	// Required: true
	Body interface{} `json:"body"`

	// integrated time
	// Required: true
	IntegratedTime *int64 `json:"integratedTime"`

	// This is the SHA256 hash of the DER-encoded public key for the log at the time the entry was included in the log
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	LogID *string `json:"logID"`

	// log index
	// Required: true
	// Minimum: 0
	LogIndex *int64 `json:"logIndex"`

	// verification
	Verification *LogEntryAnonVerification `json:"verification,omitempty"`
}

LogEntryAnon log entry anon

swagger:model LogEntryAnon

func (*LogEntryAnon) ContextValidate added in v0.2.0

func (m *LogEntryAnon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log entry anon based on the context it is used

func (*LogEntryAnon) MarshalBinary

func (m *LogEntryAnon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogEntryAnon) UnmarshalBinary

func (m *LogEntryAnon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogEntryAnon) Validate

func (m *LogEntryAnon) Validate(formats strfmt.Registry) error

Validate validates this log entry anon

type LogEntryAnonVerification added in v0.2.0

type LogEntryAnonVerification struct {

	// inclusion proof
	InclusionProof *InclusionProof `json:"inclusionProof,omitempty"`

	// Signature over the logID, logIndex, body and integratedTime.
	// Format: byte
	SignedEntryTimestamp strfmt.Base64 `json:"signedEntryTimestamp,omitempty"`
}

LogEntryAnonVerification log entry anon verification

swagger:model LogEntryAnonVerification

func (*LogEntryAnonVerification) ContextValidate added in v0.2.0

func (m *LogEntryAnonVerification) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this log entry anon verification based on the context it is used

func (*LogEntryAnonVerification) MarshalBinary added in v0.2.0

func (m *LogEntryAnonVerification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogEntryAnonVerification) UnmarshalBinary added in v0.2.0

func (m *LogEntryAnonVerification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogEntryAnonVerification) Validate added in v0.2.0

func (m *LogEntryAnonVerification) Validate(formats strfmt.Registry) error

Validate validates this log entry anon verification

type LogInfo

type LogInfo struct {

	// The current hash value stored at the root of the merkle tree
	// Required: true
	// Pattern: ^[0-9a-fA-F]{64}$
	RootHash *string `json:"rootHash"`

	// The current signed tree head
	// Required: true
	SignedTreeHead *string `json:"signedTreeHead"`

	// The current number of nodes in the merkle tree
	// Required: true
	// Minimum: 1
	TreeSize *int64 `json:"treeSize"`
}

LogInfo log info

swagger:model LogInfo

func (*LogInfo) ContextValidate added in v0.2.0

func (m *LogInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this log info based on context it is used

func (*LogInfo) MarshalBinary

func (m *LogInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LogInfo) UnmarshalBinary

func (m *LogInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LogInfo) Validate

func (m *LogInfo) Validate(formats strfmt.Registry) error

Validate validates this log info

type ProposedEntry

type ProposedEntry interface {
	runtime.Validatable
	runtime.ContextValidatable

	// kind
	// Required: true
	Kind() string
	SetKind(string)
}

ProposedEntry proposed entry

swagger:discriminator ProposedEntry kind

func UnmarshalProposedEntry

func UnmarshalProposedEntry(reader io.Reader, consumer runtime.Consumer) (ProposedEntry, error)

UnmarshalProposedEntry unmarshals polymorphic ProposedEntry

func UnmarshalProposedEntrySlice

func UnmarshalProposedEntrySlice(reader io.Reader, consumer runtime.Consumer) ([]ProposedEntry, error)

UnmarshalProposedEntrySlice unmarshals polymorphic slices of ProposedEntry

type Rekord

type Rekord struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec RekordSchema `json:"spec"`
}

Rekord Rekord object

swagger:model rekord

func (*Rekord) ContextValidate added in v0.2.0

func (m *Rekord) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord based on the context it is used

func (*Rekord) Kind

func (m *Rekord) Kind() string

Kind gets the kind of this subtype

func (*Rekord) MarshalBinary

func (m *Rekord) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Rekord) MarshalJSON

func (m Rekord) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Rekord) SetKind

func (m *Rekord) SetKind(val string)

SetKind sets the kind of this subtype

func (*Rekord) UnmarshalBinary

func (m *Rekord) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rekord) UnmarshalJSON

func (m *Rekord) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Rekord) Validate

func (m *Rekord) Validate(formats strfmt.Registry) error

Validate validates this rekord

type RekordSchema

type RekordSchema interface{}

RekordSchema Rekor Schema

Schema for Rekord objects

swagger:model rekordSchema

type RekordV001Schema

type RekordV001Schema struct {

	// data
	// Required: true
	Data *RekordV001SchemaData `json:"data"`

	// Arbitrary content to be included in the verifiable entry in the transparency log
	ExtraData interface{} `json:"extraData,omitempty"`

	// signature
	// Required: true
	Signature *RekordV001SchemaSignature `json:"signature"`
}

RekordV001Schema Rekor v0.0.1 Schema

Schema for Rekord object

swagger:model rekordV001Schema

func (*RekordV001Schema) ContextValidate added in v0.2.0

func (m *RekordV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema based on the context it is used

func (*RekordV001Schema) MarshalBinary

func (m *RekordV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001Schema) UnmarshalBinary

func (m *RekordV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001Schema) Validate

func (m *RekordV001Schema) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema

type RekordV001SchemaData

type RekordV001SchemaData struct {

	// Specifies the content inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *RekordV001SchemaDataHash `json:"hash,omitempty"`

	// Specifies the location of the content; if this is specified, a hash value must also be provided
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

RekordV001SchemaData Information about the content associated with the entry

swagger:model RekordV001SchemaData

func (*RekordV001SchemaData) ContextValidate added in v0.2.0

func (m *RekordV001SchemaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema data based on the context it is used

func (*RekordV001SchemaData) MarshalBinary

func (m *RekordV001SchemaData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaData) UnmarshalBinary

func (m *RekordV001SchemaData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaData) Validate

func (m *RekordV001SchemaData) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema data

type RekordV001SchemaDataHash

type RekordV001SchemaDataHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the content
	// Required: true
	Value *string `json:"value"`
}

RekordV001SchemaDataHash Specifies the hash algorithm and value for the content

swagger:model RekordV001SchemaDataHash

func (*RekordV001SchemaDataHash) ContextValidate added in v0.2.0

func (m *RekordV001SchemaDataHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rekord v001 schema data hash based on context it is used

func (*RekordV001SchemaDataHash) MarshalBinary

func (m *RekordV001SchemaDataHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaDataHash) UnmarshalBinary

func (m *RekordV001SchemaDataHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaDataHash) Validate

func (m *RekordV001SchemaDataHash) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema data hash

type RekordV001SchemaSignature

type RekordV001SchemaSignature struct {

	// Specifies the content of the signature inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// Specifies the format of the signature
	// Enum: [pgp minisign x509 ssh]
	Format string `json:"format,omitempty"`

	// public key
	PublicKey *RekordV001SchemaSignaturePublicKey `json:"publicKey,omitempty"`

	// Specifies the location of the signature
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

RekordV001SchemaSignature Information about the detached signature associated with the entry

swagger:model RekordV001SchemaSignature

func (*RekordV001SchemaSignature) ContextValidate added in v0.2.0

func (m *RekordV001SchemaSignature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rekord v001 schema signature based on the context it is used

func (*RekordV001SchemaSignature) MarshalBinary

func (m *RekordV001SchemaSignature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaSignature) UnmarshalBinary

func (m *RekordV001SchemaSignature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaSignature) Validate

func (m *RekordV001SchemaSignature) Validate(formats strfmt.Registry) error

Validate validates this rekord v001 schema signature

type RekordV001SchemaSignaturePublicKey

type RekordV001SchemaSignaturePublicKey struct {

	// Specifies the content of the public key inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// Specifies the location of the public key
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

RekordV001SchemaSignaturePublicKey The public key that can verify the signature

swagger:model RekordV001SchemaSignaturePublicKey

func (*RekordV001SchemaSignaturePublicKey) ContextValidate added in v0.2.0

func (m *RekordV001SchemaSignaturePublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rekord v001 schema signature public key based on context it is used

func (*RekordV001SchemaSignaturePublicKey) MarshalBinary

func (m *RekordV001SchemaSignaturePublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RekordV001SchemaSignaturePublicKey) UnmarshalBinary

func (m *RekordV001SchemaSignaturePublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RekordV001SchemaSignaturePublicKey) Validate

Validate validates this rekord v001 schema signature public key

type Rfc3161 added in v0.2.0

type Rfc3161 struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec Rfc3161Schema `json:"spec"`
}

Rfc3161 RFC3161 Timestamp

swagger:model rfc3161

func (*Rfc3161) ContextValidate added in v0.2.0

func (m *Rfc3161) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rfc3161 based on the context it is used

func (*Rfc3161) Kind added in v0.2.0

func (m *Rfc3161) Kind() string

Kind gets the kind of this subtype

func (*Rfc3161) MarshalBinary added in v0.2.0

func (m *Rfc3161) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Rfc3161) MarshalJSON added in v0.2.0

func (m Rfc3161) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Rfc3161) SetKind added in v0.2.0

func (m *Rfc3161) SetKind(val string)

SetKind sets the kind of this subtype

func (*Rfc3161) UnmarshalBinary added in v0.2.0

func (m *Rfc3161) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc3161) UnmarshalJSON added in v0.2.0

func (m *Rfc3161) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Rfc3161) Validate added in v0.2.0

func (m *Rfc3161) Validate(formats strfmt.Registry) error

Validate validates this rfc3161

type Rfc3161Schema added in v0.2.0

type Rfc3161Schema interface{}

Rfc3161Schema Timestamp Schema

Schema for RFC 3161 timestamp objects RFC 3161 timestamp objects" aria-label="Go to Schema for RFC 3161 timestamp objects">¶

swagger:model rfc3161Schema

type Rfc3161V001Schema added in v0.2.0

type Rfc3161V001Schema struct {

	// Arbitrary content to be included in the verifiable entry in the transparency log
	ExtraData interface{} `json:"extraData,omitempty"`

	// tsr
	// Required: true
	Tsr *Rfc3161V001SchemaTsr `json:"tsr"`
}

Rfc3161V001Schema Timestamp v0.0.1 Schema

Schema for RFC3161 entries

swagger:model rfc3161V001Schema

func (*Rfc3161V001Schema) ContextValidate added in v0.2.0

func (m *Rfc3161V001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rfc3161 v001 schema based on the context it is used

func (*Rfc3161V001Schema) MarshalBinary added in v0.2.0

func (m *Rfc3161V001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rfc3161V001Schema) UnmarshalBinary added in v0.2.0

func (m *Rfc3161V001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc3161V001Schema) Validate added in v0.2.0

func (m *Rfc3161V001Schema) Validate(formats strfmt.Registry) error

Validate validates this rfc3161 v001 schema

type Rfc3161V001SchemaTsr added in v0.2.0

type Rfc3161V001SchemaTsr struct {

	// Specifies the tsr file content inline within the document
	// Required: true
	// Format: byte
	Content *strfmt.Base64 `json:"content"`
}

Rfc3161V001SchemaTsr Information about the tsr file associated with the entry

swagger:model Rfc3161V001SchemaTsr

func (*Rfc3161V001SchemaTsr) ContextValidate added in v0.2.0

func (m *Rfc3161V001SchemaTsr) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rfc3161 v001 schema tsr based on context it is used

func (*Rfc3161V001SchemaTsr) MarshalBinary added in v0.2.0

func (m *Rfc3161V001SchemaTsr) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Rfc3161V001SchemaTsr) UnmarshalBinary added in v0.2.0

func (m *Rfc3161V001SchemaTsr) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rfc3161V001SchemaTsr) Validate added in v0.2.0

func (m *Rfc3161V001SchemaTsr) Validate(formats strfmt.Registry) error

Validate validates this rfc3161 v001 schema tsr

type Rpm

type Rpm struct {

	// api version
	// Required: true
	// Pattern: ^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
	APIVersion *string `json:"apiVersion"`

	// spec
	// Required: true
	Spec RpmSchema `json:"spec"`
}

Rpm RPM object

swagger:model rpm

func (*Rpm) ContextValidate added in v0.2.0

func (m *Rpm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpm based on the context it is used

func (*Rpm) Kind

func (m *Rpm) Kind() string

Kind gets the kind of this subtype

func (*Rpm) MarshalBinary

func (m *Rpm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Rpm) MarshalJSON

func (m Rpm) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*Rpm) SetKind

func (m *Rpm) SetKind(val string)

SetKind sets the kind of this subtype

func (*Rpm) UnmarshalBinary

func (m *Rpm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Rpm) UnmarshalJSON

func (m *Rpm) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*Rpm) Validate

func (m *Rpm) Validate(formats strfmt.Registry) error

Validate validates this rpm

type RpmSchema

type RpmSchema interface{}

RpmSchema RPM Schema

Schema for RPM objects

swagger:model rpmSchema

type RpmV001Schema

type RpmV001Schema struct {

	// Arbitrary content to be included in the verifiable entry in the transparency log
	ExtraData interface{} `json:"extraData,omitempty"`

	// package
	// Required: true
	Package *RpmV001SchemaPackage `json:"package"`

	// public key
	// Required: true
	PublicKey *RpmV001SchemaPublicKey `json:"publicKey"`
}

RpmV001Schema RPM v0.0.1 Schema

Schema for RPM entries

swagger:model rpmV001Schema

func (*RpmV001Schema) ContextValidate added in v0.2.0

func (m *RpmV001Schema) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpm v001 schema based on the context it is used

func (*RpmV001Schema) MarshalBinary

func (m *RpmV001Schema) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001Schema) UnmarshalBinary

func (m *RpmV001Schema) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001Schema) Validate

func (m *RpmV001Schema) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema

type RpmV001SchemaPackage

type RpmV001SchemaPackage struct {

	// Specifies the package inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// hash
	Hash *RpmV001SchemaPackageHash `json:"hash,omitempty"`

	// Values of the RPM headers
	Headers map[string]string `json:"headers,omitempty"`

	// Specifies the location of the package; if this is specified, a hash value must also be provided
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

RpmV001SchemaPackage Information about the package associated with the entry

swagger:model RpmV001SchemaPackage

func (*RpmV001SchemaPackage) ContextValidate added in v0.2.0

func (m *RpmV001SchemaPackage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpm v001 schema package based on the context it is used

func (*RpmV001SchemaPackage) MarshalBinary

func (m *RpmV001SchemaPackage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001SchemaPackage) UnmarshalBinary

func (m *RpmV001SchemaPackage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001SchemaPackage) Validate

func (m *RpmV001SchemaPackage) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema package

type RpmV001SchemaPackageHash

type RpmV001SchemaPackageHash struct {

	// The hashing function used to compute the hash value
	// Required: true
	// Enum: [sha256]
	Algorithm *string `json:"algorithm"`

	// The hash value for the package
	// Required: true
	Value *string `json:"value"`
}

RpmV001SchemaPackageHash Specifies the hash algorithm and value for the package

swagger:model RpmV001SchemaPackageHash

func (*RpmV001SchemaPackageHash) ContextValidate added in v0.2.0

func (m *RpmV001SchemaPackageHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpm v001 schema package hash based on context it is used

func (*RpmV001SchemaPackageHash) MarshalBinary

func (m *RpmV001SchemaPackageHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001SchemaPackageHash) UnmarshalBinary

func (m *RpmV001SchemaPackageHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001SchemaPackageHash) Validate

func (m *RpmV001SchemaPackageHash) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema package hash

type RpmV001SchemaPublicKey

type RpmV001SchemaPublicKey struct {

	// Specifies the content of the public key inline within the document
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// Specifies the location of the public key
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

RpmV001SchemaPublicKey The PGP public key that can verify the RPM signature

swagger:model RpmV001SchemaPublicKey

func (*RpmV001SchemaPublicKey) ContextValidate added in v0.2.0

func (m *RpmV001SchemaPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpm v001 schema public key based on context it is used

func (*RpmV001SchemaPublicKey) MarshalBinary

func (m *RpmV001SchemaPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RpmV001SchemaPublicKey) UnmarshalBinary

func (m *RpmV001SchemaPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RpmV001SchemaPublicKey) Validate

func (m *RpmV001SchemaPublicKey) Validate(formats strfmt.Registry) error

Validate validates this rpm v001 schema public key

type SearchIndex

type SearchIndex struct {

	// email
	// Format: email
	Email strfmt.Email `json:"email,omitempty"`

	// hash
	// Pattern: ^(sha256:)?[0-9a-fA-F]{64}$
	Hash string `json:"hash,omitempty"`

	// public key
	PublicKey *SearchIndexPublicKey `json:"publicKey,omitempty"`
}

SearchIndex search index

swagger:model SearchIndex

func (*SearchIndex) ContextValidate added in v0.2.0

func (m *SearchIndex) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search index based on the context it is used

func (*SearchIndex) MarshalBinary

func (m *SearchIndex) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIndex) UnmarshalBinary

func (m *SearchIndex) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIndex) Validate

func (m *SearchIndex) Validate(formats strfmt.Registry) error

Validate validates this search index

type SearchIndexPublicKey

type SearchIndexPublicKey struct {

	// content
	// Format: byte
	Content strfmt.Base64 `json:"content,omitempty"`

	// format
	// Required: true
	// Enum: [pgp x509 minisign ssh]
	Format *string `json:"format"`

	// url
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

SearchIndexPublicKey search index public key

swagger:model SearchIndexPublicKey

func (*SearchIndexPublicKey) ContextValidate added in v0.2.0

func (m *SearchIndexPublicKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search index public key based on context it is used

func (*SearchIndexPublicKey) MarshalBinary

func (m *SearchIndexPublicKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIndexPublicKey) UnmarshalBinary

func (m *SearchIndexPublicKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIndexPublicKey) Validate

func (m *SearchIndexPublicKey) Validate(formats strfmt.Registry) error

Validate validates this search index public key

type SearchLogQuery

type SearchLogQuery struct {

	// entry u UI ds
	EntryUUIDs []string `json:"entryUUIDs"`

	// log indexes
	// Min Items: 1
	LogIndexes []*int64 `json:"logIndexes"`
	// contains filtered or unexported fields
}

SearchLogQuery search log query

swagger:model SearchLogQuery

func (*SearchLogQuery) ContextValidate added in v0.2.0

func (m *SearchLogQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search log query based on the context it is used

func (*SearchLogQuery) Entries

func (m *SearchLogQuery) Entries() []ProposedEntry

Entries gets the entries of this base type

func (*SearchLogQuery) MarshalBinary

func (m *SearchLogQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SearchLogQuery) MarshalJSON

func (m SearchLogQuery) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object with a polymorphic type to a JSON structure

func (*SearchLogQuery) SetEntries

func (m *SearchLogQuery) SetEntries(val []ProposedEntry)

SetEntries sets the entries of this base type

func (*SearchLogQuery) UnmarshalBinary

func (m *SearchLogQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchLogQuery) UnmarshalJSON

func (m *SearchLogQuery) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object with a polymorphic type from a JSON structure

func (*SearchLogQuery) Validate

func (m *SearchLogQuery) Validate(formats strfmt.Registry) error

Validate validates this search log query

type Signature added in v0.2.0

type Signature struct {

	// key hint
	KeyID string `json:"keyId,omitempty"`

	// base64 encoded signature
	// Required: true
	// Format: byte
	Sig *strfmt.Base64 `json:"sig"`
}

Signature signature

swagger:model signature

func (*Signature) ContextValidate added in v0.2.0

func (m *Signature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this signature based on context it is used

func (*Signature) MarshalBinary added in v0.2.0

func (m *Signature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Signature) UnmarshalBinary added in v0.2.0

func (m *Signature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Signature) Validate added in v0.2.0

func (m *Signature) Validate(formats strfmt.Registry) error

Validate validates this signature

type TimestampRequest added in v0.2.0

type TimestampRequest struct {

	// RFC 3161 formatted timestamp request
	// Format: byte
	RfcRequest strfmt.Base64 `json:"rfcRequest,omitempty"`
}

TimestampRequest timestamp request

swagger:model TimestampRequest

func (*TimestampRequest) ContextValidate added in v0.2.0

func (m *TimestampRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this timestamp request based on context it is used

func (*TimestampRequest) MarshalBinary added in v0.2.0

func (m *TimestampRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimestampRequest) UnmarshalBinary added in v0.2.0

func (m *TimestampRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimestampRequest) Validate added in v0.2.0

func (m *TimestampRequest) Validate(formats strfmt.Registry) error

Validate validates this timestamp request

type TimestampResponse added in v0.2.0

type TimestampResponse struct {

	// RFC 3161 formatted timestamp response
	// Format: byte
	RfcResponse strfmt.Base64 `json:"rfcResponse,omitempty"`
}

TimestampResponse timestamp response

swagger:model TimestampResponse

func (*TimestampResponse) ContextValidate added in v0.2.0

func (m *TimestampResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this timestamp response based on context it is used

func (*TimestampResponse) MarshalBinary added in v0.2.0

func (m *TimestampResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimestampResponse) UnmarshalBinary added in v0.2.0

func (m *TimestampResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimestampResponse) Validate added in v0.2.0

func (m *TimestampResponse) Validate(formats strfmt.Registry) error

Validate validates this timestamp response

Jump to

Keyboard shortcuts

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