Documentation ¶
Index ¶
Constants ¶
View Source
const APPLE_ROOT_CERT = `` /* 797-byte string literal not displayed */
Variables ¶
View Source
var TimeNow = time.Now
TimeNow is an indirection to allow tests to replace the current time when verifying attestation certificates
Functions ¶
This section is empty.
Types ¶
type AttestationObject ¶
type AttestationObject struct { AuthData authenticator.AuthenticatorData RawAuthData []byte `json:"authData"` Format string `json:"fmt"` AttStatement map[string]interface{} `json:"attStmt,omitempty"` }
type AuthenticatorAttestationResponse ¶
type AuthenticatorAttestationResponse struct { ClientData utils.URLEncodedBase64 `json:"clientData"` KeyID string `json:"keyID"` AttestationObject utils.URLEncodedBase64 `json:"attestationObject"` }
Click to show internal directories.
Click to hide internal directories.