api_models

package
v0.0.0-...-6c1762c Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OldVerifyKey

type OldVerifyKey struct {
	Key       models.UnpaddedBase64EncodedData `json:"key"`
	ExpiredTs models.Timestamp                 `json:"expired_ts"`
}

type ServerKeyResult

type ServerKeyResult struct {
	*ServerKeyResultUnsigned
	Signatures Signatures `json:"signatures"`
}

type ServerKeyResultUnsigned

type ServerKeyResultUnsigned struct {
	ServerName    string                        `json:"server_name"`
	ValidUntilTs  int64                         `json:"valid_until_ts"`
	VerifyKeys    map[models.KeyID]VerifyKey    `json:"verify_keys"`
	OldVerifyKeys map[models.KeyID]OldVerifyKey `json:"old_verify_keys"`
}

type Signatures

type Signatures map[string]map[string]string

type VerifyKey

type VerifyKey struct {
	Key models.UnpaddedBase64EncodedData `json:"key"`
}

Jump to

Keyboard shortcuts

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