Versions in this module Expand all Collapse all v0 v0.0.8 Apr 15, 2024 v0.0.7 Apr 15, 2024 v0.0.6 Apr 15, 2024 v0.0.5 Apr 15, 2024 v0.0.4 Apr 15, 2024 v0.0.3 Mar 14, 2024 v0.0.2 Mar 14, 2024 Changes in this version + const ConformanceMDSRoot + const ExampleMDSRoot + const ProductionMDSRoot + const ProductionMDSURL + var Conformance = false + var MDSRoot = ProductionMDSRoot + var Metadata = make(map[uuid.UUID]MetadataBLOBPayloadEntry) + var UndesiredAuthenticatorStatus = [...]AuthenticatorStatus + func AlgKeyMatch(key algKeyCose, algs []AuthenticationAlgorithm) bool + func IsUndesiredAuthenticatorStatus(status AuthenticatorStatus) bool + func PopulateMetadata(url string) error + type AuthenticationAlgorithm string + const ALG_SIGN_ED25519_EDDSA_SHA512_RAW + const ALG_SIGN_ED448_EDDSA_SHA512_RAW + const ALG_SIGN_RSASSA_PKCSV15_SHA1_RAW + const ALG_SIGN_RSASSA_PKCSV15_SHA256_RAW + const ALG_SIGN_RSASSA_PKCSV15_SHA384_RAW + const ALG_SIGN_RSASSA_PKCSV15_SHA512_RAW + const ALG_SIGN_RSASSA_PSS_SHA256_DER + const ALG_SIGN_RSASSA_PSS_SHA256_RAW + const ALG_SIGN_RSASSA_PSS_SHA384_RAW + const ALG_SIGN_RSASSA_PSS_SHA512_RAW + const ALG_SIGN_RSA_EMSA_PKCS1_SHA256_DER + const ALG_SIGN_RSA_EMSA_PKCS1_SHA256_RAW + const ALG_SIGN_SECP256K1_ECDSA_SHA256_DER + const ALG_SIGN_SECP256K1_ECDSA_SHA256_RAW + const ALG_SIGN_SECP256R1_ECDSA_SHA256_DER + const ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW + const ALG_SIGN_SECP384R1_ECDSA_SHA384_RAW + const ALG_SIGN_SECP521R1_ECDSA_SHA512_RAW + const ALG_SIGN_SM2_SM3_RAW + type AuthenticatorAttestationType string + const AnonCA + const AttCA + const BasicFull + const BasicSurrogate + const Ecdaa + const None + type AuthenticatorGetInfo struct + AaGUID string + Algorithms []PublicKeyCredentialParameters + Certifications map[string]float64 + Extensions []string + FirmwareVersion uint + ForcePINChange bool + MaxCredBlobLength uint + MaxCredentialCountInList uint + MaxCredentialIdLength uint + MaxMsgSize uint + MaxRPIDsForSetMinPINLength uint + MaxSerializedLargeBlobArray uint + MinPINLength uint + Options map[string]bool + PivUvAuthProtocols []uint + PreferredPlatformUvAttempts uint + RemainingDiscoverableCredentials uint + Transports []string + UvModality uint + VendorPrototypeConfigCommands []uint + Versions []string + type AuthenticatorStatus string + const AttestationKeyCompromise + const FidoCertified + const FidoCertifiedL1 + const FidoCertifiedL1plus + const FidoCertifiedL2 + const FidoCertifiedL2plus + const FidoCertifiedL3 + const FidoCertifiedL3plus + const NotFidoCertified + const Revoked + const SelfAssertionSubmitted + const UpdateAvailable + const UserKeyPhysicalCompromise + const UserKeyRemoteCompromise + const UserVerificationBypass + type BiometricAccuracyDescriptor struct + BlockSlowdown uint16 + MaxRetries uint16 + MaxTemplates uint16 + SelfAttestedFAR int64 + SelfAttestedFRR int64 + type BiometricStatusReport struct + CertLevel uint16 + CertificateNumber string + CertificationDescriptor string + CertificationPolicyVersion string + CertificationRequirementsVersion string + EffectiveDate string + Modality string + type CodeAccuracyDescriptor struct + Base uint16 + BlockSlowdown uint16 + MaxRetries uint16 + MinLength uint16 + type DisplayPNGCharacteristicsDescriptor struct + BitDepth byte + ColorType byte + Compression byte + Filter byte + Height uint32 + Interlace byte + Plte []rgbPaletteEntry + Width uint32 + type EcdaaTrustAnchor struct + C string + G1Curve string + SX string + SY string + X string + Y string + type ExtensionDescriptor struct + Data string + FailIfUnknown bool + ID string + Tag uint16 + type MDSGetEndpointsRequest struct + Endpoint string + type MDSGetEndpointsResponse struct + Result []string + Status string + type MetadataBLOBPayload struct + Entries []MetadataBLOBPayloadEntry + LegalHeader string + NextUpdate string + Number int + type MetadataBLOBPayloadEntry struct + AaGUID string + Aaid string + AttestationCertificateKeyIdentifiers []string + BiometricStatusReports []BiometricStatusReport + MetadataStatement MetadataStatement + RogueListHash string + RogueListURL string + StatusReports []StatusReport + TimeOfLastStatusChange string + type MetadataError struct + Details string + DevInfo string + Type string + func (err *MetadataError) Error() string + type MetadataStatement struct + AaGUID string + Aaid string + AlternativeDescriptions map[string]string + AttachmentHint []string + AttestationCertificateKeyIdentifiers []string + AttestationRootCertificates []string + AttestationTypes []AuthenticatorAttestationType + AuthenticationAlgorithms []AuthenticationAlgorithm + AuthenticatorGetInfo AuthenticatorGetInfo + AuthenticatorVersion uint32 + CryptoStrength uint16 + Description string + EcdaaTrustAnchors []EcdaaTrustAnchor + Icon string + IsFreshUserVerificationRequired bool + IsKeyRestricted bool + KeyProtection []string + LegalHeader string + MatcherProtection []string + ProtocolFamily string + PublicKeyAlgAndEncodings []PublicKeyAlgAndEncoding + SupportedExtensions []ExtensionDescriptor + TcDisplay []string + TcDisplayContentType string + TcDisplayPNGCharacteristics []DisplayPNGCharacteristicsDescriptor + Upv []Version + UserVerificationDetails [][]VerificationMethodDescriptor + type PatternAccuracyDescriptor struct + BlockSlowdown uint16 + MaxRetries uint16 + MinComplexity uint32 + type PublicKeyAlgAndEncoding string + const ALG_KEY_COSE + const ALG_KEY_ECC_X962_DER + const ALG_KEY_ECC_X962_RAW + const ALG_KEY_RSA_2048_DER + const ALG_KEY_RSA_2048_RAW + type PublicKeyCredentialParameters struct + Alg webauthncose.COSEAlgorithmIdentifier + Type string + type RogueListEntry struct + Date string + Sk string + type StatusReport struct + AuthenticatorVersion uint32 + Certificate string + CertificateNumber string + CertificationDescriptor string + CertificationPolicyVersion string + CertificationRequirementsVersion string + EffectiveDate string + Status AuthenticatorStatus + URL string + type VerificationMethodDescriptor struct + BaDesc BiometricAccuracyDescriptor + CaDesc CodeAccuracyDescriptor + PaDesc PatternAccuracyDescriptor + UserVerificationMethod string + type Version struct + Major uint16 + Minor uint16