SYMBOL INDEX (143 symbols across 24 files) FILE: attestation/androidsafetynet/androidsafetynet.go function init (line 19) | func init() { type AndroidSafetyNetAttestionResponse (line 23) | type AndroidSafetyNetAttestionResponse struct function verifyAndroidSafetynet (line 33) | func verifyAndroidSafetynet(a protocol.Attestation, clientDataHash []byt... FILE: attestation/androidsafetynet/androidsafetynet_test.go function TestIsValidAttestation (line 12) | func TestIsValidAttestation(t *testing.T) { FILE: attestation/fido/fido.go function init (line 12) | func init() { function verifyFIDO (line 16) | func verifyFIDO(a protocol.Attestation, clientDataHash []byte) error { FILE: attestation/fido/fido_test.go function TestIsValidAttestation (line 11) | func TestIsValidAttestation(t *testing.T) { FILE: attestation/packed/packed.go function init (line 16) | func init() { function verifyPacked (line 22) | func verifyPacked(a protocol.Attestation, clientDataHash []byte) error { function verifyBasic (line 57) | func verifyBasic(a protocol.Attestation, clientDataHash []byte, alg prot... function verifyECDAA (line 133) | func verifyECDAA(a protocol.Attestation, clientDataHash []byte, alg prot... function verifySelf (line 137) | func verifySelf(a protocol.Attestation, clientDataHash []byte, alg proto... FILE: attestation/packed/packed_test.go function TestIsValidAttestation (line 11) | func TestIsValidAttestation(t *testing.T) { FILE: cose/cose.go function ParseCOSE (line 20) | func ParseCOSE(buf []byte) (interface{}, error) { function ParseCOSEMap (line 33) | func ParseCOSEMap(m map[int]interface{}) (interface{}, error) { FILE: cose/cose_test.go function TestParseCOSE (line 10) | func TestParseCOSE(t *testing.T) { FILE: cose/ecdsa.go function parseECDSA (line 9) | func parseECDSA(alg int64, m map[int]interface{}) (interface{}, error) { function parseECDSAPublicKey (line 39) | func parseECDSAPublicKey(curve elliptic.Curve, m map[int]interface{}) (*... FILE: protocol/api.go type CredentialCreationOptions (line 5) | type CredentialCreationOptions struct type CredentialRequestOptions (line 11) | type CredentialRequestOptions struct type PublicKeyCredentialCreationOptions (line 17) | type PublicKeyCredentialCreationOptions struct type PublicKeyCredentialRequestOptions (line 63) | type PublicKeyCredentialRequestOptions struct type PublicKeyCredentialRpEntity (line 89) | type PublicKeyCredentialRpEntity struct type PublicKeyCredentialEntity (line 98) | type PublicKeyCredentialEntity struct type PublicKeyCredentialUserEntity (line 106) | type PublicKeyCredentialUserEntity struct type PublicKeyCredentialType (line 124) | type PublicKeyCredentialType constant PublicKeyCredentialTypePublicKey (line 128) | PublicKeyCredentialTypePublicKey PublicKeyCredentialType = "public-key" type COSEAlgorithmIdentifier (line 135) | type COSEAlgorithmIdentifier constant ES256 (line 139) | ES256 COSEAlgorithmIdentifier = -7 constant RS256 (line 141) | RS256 COSEAlgorithmIdentifier = -257 type AuthenticatorTransport (line 151) | type AuthenticatorTransport constant AuthenticatorTransportUSB (line 155) | AuthenticatorTransportUSB AuthenticatorTransport = "usb" constant AuthenticatorTransportNFC (line 157) | AuthenticatorTransportNFC = "nfc" constant AuthenticatorTransportBLE (line 159) | AuthenticatorTransportBLE = "ble" constant AuthenticatorTransportInternal (line 162) | AuthenticatorTransportInternal = "internal" type PublicKeyCredentialParameters (line 167) | type PublicKeyCredentialParameters struct type PublicKeyCredentialDescriptor (line 179) | type PublicKeyCredentialDescriptor struct type AuthenticatorSelectionCriteria (line 192) | type AuthenticatorSelectionCriteria struct type AuthenticatorAttachment (line 211) | type AuthenticatorAttachment constant AuthenticatorAttachmentPlatform (line 215) | AuthenticatorAttachmentPlatform AuthenticatorAttachment = "platform" constant AuthenticatorAttachmentCrossPlatform (line 217) | AuthenticatorAttachmentCrossPlatform = "cross-platform" type UserVerificationRequirement (line 223) | type UserVerificationRequirement constant UserVerificationRequired (line 228) | UserVerificationRequired UserVerificationRequirement = "required" constant UserVerificationPreferred (line 231) | UserVerificationPreferred = "preferred" constant UserVerificationDiscouraged (line 234) | UserVerificationDiscouraged = "discouraged" type AttestationConveyancePreference (line 240) | type AttestationConveyancePreference constant AttestationConveyancePreferenceNone (line 246) | AttestationConveyancePreferenceNone = "none" constant AttestationConveyancePreferenceIndirect (line 252) | AttestationConveyancePreferenceIndirect = "indirect" constant AttestationConveyancePreferenceDirect (line 255) | AttestationConveyancePreferenceDirect = "direct" type AuthenticationExtensionsClientInputs (line 261) | type AuthenticationExtensionsClientInputs FILE: protocol/assertion.go type AssertionResponse (line 11) | type AssertionResponse struct type ParsedAssertionResponse (line 19) | type ParsedAssertionResponse struct type AuthenticatorAssertionResponse (line 32) | type AuthenticatorAssertionResponse struct type ParsedAuthenticatorAssertionResponse (line 46) | type ParsedAuthenticatorAssertionResponse struct function ParseAssertionResponse (line 61) | func ParseAssertionResponse(p AssertionResponse) (ParsedAssertionRespons... function IsValidAssertion (line 89) | func IsValidAssertion(p ParsedAssertionResponse, originalChallenge []byt... FILE: protocol/attestation.go type AttestationResponse (line 13) | type AttestationResponse struct type ParsedAttestationResponse (line 21) | type ParsedAttestationResponse struct type AuthenticatorAttestationResponse (line 34) | type AuthenticatorAttestationResponse struct type ParsedAuthenticatorAttestationResponse (line 48) | type ParsedAuthenticatorAttestationResponse struct type Attestation (line 66) | type Attestation struct method IsValid (line 122) | func (a Attestation) IsValid(relyingPartyID string, clientDataHash []b... function ParseAttestationResponse (line 75) | func ParseAttestationResponse(p AttestationResponse) (ParsedAttestationR... function IsValidAttestation (line 102) | func IsValidAttestation(p ParsedAttestationResponse, originalChallenge [... FILE: protocol/attestation_registry.go type AttestationFormatFunction (line 4) | type AttestationFormatFunction function RegisterFormat (line 10) | func RegisterFormat(name string, f AttestationFormatFunction) { FILE: protocol/challenge.go constant ChallengeSize (line 6) | ChallengeSize = 32 type Challenge (line 10) | type Challenge function NewChallenge (line 13) | func NewChallenge() (Challenge, error) { FILE: protocol/common.go type PublicKeyCredential (line 18) | type PublicKeyCredential struct type ParsedPublicKeyCredential (line 30) | type ParsedPublicKeyCredential struct type AuthenticatorResponse (line 42) | type AuthenticatorResponse struct type ParsedAuthenticatorResponse (line 50) | type ParsedAuthenticatorResponse struct type CollectedClientData (line 60) | type CollectedClientData struct method IsValid (line 102) | func (c CollectedClientData) IsValid(requiredType string, originalChal... type TokenBinding (line 78) | type TokenBinding struct type TokenBindingStatus (line 88) | type TokenBindingStatus constant TokenBindingStatusPresent (line 93) | TokenBindingStatusPresent TokenBindingStatus = "present" constant TokenBindingStatusSupported (line 96) | TokenBindingStatusSupported = "supported" type AuthenticatorData (line 139) | type AuthenticatorData struct method IsValid (line 155) | func (a AuthenticatorData) IsValid(relyingPartyID string) error { method UnmarshalBinary (line 174) | func (a *AuthenticatorData) UnmarshalBinary(authData []byte) error { method MarshalBinary (line 202) | func (a *AuthenticatorData) MarshalBinary() ([]byte, error) { type AuthenticatorDataFlags (line 207) | type AuthenticatorDataFlags method UserPresent (line 221) | func (f AuthenticatorDataFlags) UserPresent() bool { method UserVerified (line 226) | func (f AuthenticatorDataFlags) UserVerified() bool { method HasAttestedCredentialData (line 231) | func (f AuthenticatorDataFlags) HasAttestedCredentialData() bool { method HasExtensions (line 236) | func (f AuthenticatorDataFlags) HasExtensions() bool { constant AuthenticatorDataFlagUserPresent (line 211) | AuthenticatorDataFlagUserPresent = 0x001 constant AuthenticatorDataFlagUserVerified (line 213) | AuthenticatorDataFlagUserVerified = 0x004 constant AuthenticatorDataFlagHasCredentialData (line 215) | AuthenticatorDataFlagHasCredentialData = 0x040 constant AuthenticatorDataFlagHasExtension (line 217) | AuthenticatorDataFlagHasExtension = 0x080 type AttestedCredentialData (line 242) | type AttestedCredentialData struct FILE: protocol/errors.go type Error (line 60) | type Error struct method Error (line 92) | func (e *Error) Error() string { method WithHintf (line 97) | func (e *Error) WithHintf(hint string, args ...interface{}) *Error { method WithHint (line 102) | func (e *Error) WithHint(hint string) *Error { method WithDebugf (line 109) | func (e *Error) WithDebugf(debug string, args ...interface{}) *Error { method WithDebug (line 114) | func (e *Error) WithDebug(debug string) *Error { method WithCause (line 120) | func (e *Error) WithCause(cause error) *Error { function ToWebAuthnError (line 77) | func ToWebAuthnError(err error) *Error { FILE: protocol/webauthn_test.go function TestIsValidAssertion (line 12) | func TestIsValidAssertion(t *testing.T) { FILE: webauthn.js class WebAuthn (line 1) | class WebAuthn { method _decodeBuffer (line 3) | static _decodeBuffer(value) { method _encodeBuffer (line 8) | static _encodeBuffer(value) { method _checkStatus (line 13) | static _checkStatus(status) { method register (line 22) | register() { method login (line 60) | login() { FILE: webauthn/config.go type Config (line 9) | type Config struct method Validate (line 48) | func (c *Config) Validate() error { FILE: webauthn/login.go method GetLoginOptions (line 16) | func (w *WebAuthn) GetLoginOptions(user User, session Session) (*protoco... method StartLogin (line 57) | func (w *WebAuthn) StartLogin(r *http.Request, rw http.ResponseWriter, u... method ParseAndFinishLogin (line 70) | func (w *WebAuthn) ParseAndFinishLogin(assertionResponse protocol.Assert... method FinishLogin (line 172) | func (w *WebAuthn) FinishLogin(r *http.Request, rw http.ResponseWriter, ... FILE: webauthn/registration.go method GetRegistrationOptions (line 15) | func (w *WebAuthn) GetRegistrationOptions(user User, session Session) (*... method StartRegistration (line 78) | func (w *WebAuthn) StartRegistration(r *http.Request, rw http.ResponseWr... method ParseAndFinishRegistration (line 91) | func (w *WebAuthn) ParseAndFinishRegistration(attestationResponse protoc... method FinishRegistration (line 161) | func (w *WebAuthn) FinishRegistration(r *http.Request, rw http.ResponseW... FILE: webauthn/session.go type Session (line 4) | type Session interface type mapSession (line 12) | type mapSession struct method Get (line 16) | func (s *mapSession) Get(name string) (interface{}, error) { method Set (line 20) | func (s *mapSession) Set(name string, value interface{}) error { method Delete (line 25) | func (s *mapSession) Delete(name string) error { function WrapMap (line 31) | func WrapMap(values map[interface{}]interface{}) Session { FILE: webauthn/user.go type User (line 4) | type User interface type Authenticator (line 14) | type Authenticator interface type AuthenticatorStore (line 23) | type AuthenticatorStore interface type defaultUser (line 36) | type defaultUser struct method WebAuthID (line 42) | func (u *defaultUser) WebAuthID() []byte { method WebAuthName (line 46) | func (u *defaultUser) WebAuthName() string { method WebAuthDisplayName (line 50) | func (u *defaultUser) WebAuthDisplayName() string { type defaultAuthenticator (line 54) | type defaultAuthenticator struct method WebAuthID (line 64) | func (a *defaultAuthenticator) WebAuthID() []byte { method WebAuthCredentialID (line 68) | func (a *defaultAuthenticator) WebAuthCredentialID() []byte { method WebAuthPublicKey (line 72) | func (a *defaultAuthenticator) WebAuthPublicKey() []byte { method WebAuthAAGUID (line 76) | func (a *defaultAuthenticator) WebAuthAAGUID() []byte { method WebAuthSignCount (line 80) | func (a *defaultAuthenticator) WebAuthSignCount() uint32 { FILE: webauthn/webauthn.go type WebAuthn (line 13) | type WebAuthn struct method write (line 28) | func (w *WebAuthn) write(r *http.Request, rw http.ResponseWriter, res ... method writeCode (line 32) | func (w *WebAuthn) writeCode(r *http.Request, rw http.ResponseWriter, ... method writeError (line 48) | func (w *WebAuthn) writeError(r *http.Request, rw http.ResponseWriter,... method writeErrorCode (line 57) | func (w *WebAuthn) writeErrorCode(r *http.Request, rw http.ResponseWri... function New (line 19) | func New(c *Config) (*WebAuthn, error) {