attestation

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const APPLE_ROOT_CERT = `` /* 797-byte string literal not displayed */

Variables

This section is empty.

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"`
}

func (*AuthenticatorAttestationResponse) Verify

func (aar *AuthenticatorAttestationResponse) Verify(appID string, production bool) ([]byte, []byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL