Documentation
¶
Index ¶
Constants ¶
View Source
const (
FormatTPM = "tpm"
)
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup( keyAuth string, akAttrs *keystore.KeyAttributes, format AttestationFormat, tpm tpm2.TrustedPlatformModule) ([]byte, error)
Generates an attestation statement for the device-attest-01 challenge. https://datatracker.ietf.org/doc/draft-acme-device-attest https://www.w3.org/TR/webauthn/#sctn-tpm-attestation
Types ¶
type AttestationFormat ¶
type AttestationFormat string
func (AttestationFormat) String ¶
func (format AttestationFormat) String() string
type AttestationObject ¶
type AttestationObject struct { Format string `json:"fmt"` AttStatement AttestationStatement `json:"attStmt,omitempty"` }
Click to show internal directories.
Click to hide internal directories.