Documentation ¶
Overview ¶
Package request contains constructs commonly used in the NSM request payload.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attestation ¶
type Attestation struct { UserData []byte `cbor:"user_data"` Nonce []byte `cbor:"nonce"` PublicKey []byte `cbor:"public_key"` }
An Attestation request.
func (*Attestation) Encoded ¶
func (r *Attestation) Encoded() interface{}
Encoded returns the Go-encoded form of the request, according to Rust's cbor serde.
type DescribeNSM ¶
type DescribeNSM struct { }
A DescribeNSM request.
func (*DescribeNSM) Encoded ¶
func (r *DescribeNSM) Encoded() interface{}
Encoded returns the Go-encoded form of the request, according to Rust's cbor serde.
type DescribePCR ¶
type DescribePCR struct {
Index uint16 `cbor:"index"`
}
A DescribePCR request.
func (*DescribePCR) Encoded ¶
func (r *DescribePCR) Encoded() interface{}
Encoded returns the Go-encoded form of the request, according to Rust's cbor serde.
Click to show internal directories.
Click to hide internal directories.