Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Issuer ¶
type Issuer struct {
// contains filtered or unexported fields
}
Issuer issues attestation statements.
func (*Issuer) Issue ¶
func (i *Issuer) Issue(_ context.Context, ownPublicKey []byte, nonce []byte) (res []byte, err error)
Issue the attestation document.
func (*Issuer) OID ¶
func (i *Issuer) OID() asn1.ObjectIdentifier
OID returns the OID of the issuer.
type StaticValidateOptsGenerator ¶ added in v1.1.0
StaticValidateOptsGenerator returns validate.Options generator that returns static validation options.
func (*StaticValidateOptsGenerator) TDXValidateOpts ¶ added in v1.1.0
TDXValidateOpts return the TDX validation options.
type Validator ¶ added in v1.1.0
type Validator struct {
// contains filtered or unexported fields
}
Validator validates attestation statements.
func NewValidator ¶ added in v1.1.0
NewValidator returns a new Validator.
func NewValidatorWithReportSetter ¶ added in v1.1.0
func NewValidatorWithReportSetter(optsGen validateOptsGenerator, log *slog.Logger, reportSetter attestation.ReportSetter) *Validator
NewValidatorWithReportSetter returns a new Validator with a report setter.
func (*Validator) OID ¶ added in v1.1.0
func (v *Validator) OID() asn1.ObjectIdentifier
OID returns the OID of the validator.
Click to show internal directories.
Click to hide internal directories.