Documentation ¶
Overview ¶
Package signtool offers tooling to sign assertions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // KeyID specifies the key id of the key to use KeyID string // Statement is used as input to construct the assertion // it's a mapping encoded as JSON // of the header fields of the assertion // plus an optional pseudo-header "body" to specify // the body of the assertion Statement []byte // Complement specifies complementary headers to what is in // Statement, for use by tools that fill-in/compute some of // the headers. Headers appearing both in Statement and // Complement are an error, except for "type" that needs // instead to match if present. Pseudo-header "body" can also // be specified here. Complement map[string]interface{} }
Options specifies the complete input for signing an assertion.
Click to show internal directories.
Click to hide internal directories.