formats

package
v0.0.0-...-0d210ac Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SignatureRequest

type SignatureRequest struct {
	Input   string `json:"input"`
	KeyID   string `json:"keyid,omitempty"`
	Options interface{}
}

SignatureRequest is sent by a client to request a signature on input data

type SignatureResponse

type SignatureResponse struct {
	Ref        string      `json:"ref"`
	Type       string      `json:"type"`
	Mode       string      `json:"mode"`
	SignerID   string      `json:"signer_id"`
	PublicKey  string      `json:"public_key"`
	Signature  string      `json:"signature,omitempty"`
	SignedFile string      `json:"signed_file,omitempty"`
	X5U        string      `json:"x5u,omitempty"`
	SignerOpts interface{} `json:"signer_opts,omitempty"`
}

SignatureResponse is returned by autograph to a client with a signature computed on input data

Jump to

Keyboard shortcuts

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