class

FIDO2CredentialManager

Inherits Reference < Object

============================================================================ FIDO2 Credential Manager

Constructors

new(tpm : TPMDevice, platform_secret : Bytes | Nil = nil)
Source

Instance methods

derive_auth_value(credential_id : String) : Bytes

Derive auth value from credential_id using KDF

Source
get_or_create_credential(credential_id : String) : FIDO2Credential

Get or create FIDO2 credential

Source
sign(key_handle : UInt32, auth_value : Bytes, digest : Bytes, session : Session | Nil = nil) : ECDSASignature

Sign with ECDSA, tracking r values to detect nonce reuse

Source