Skip to main content

verify_device_proof

Function verify_device_proof 

Source
pub fn verify_device_proof(
    credential: &UserDeviceCredential,
    server: &[u8; 32],
    nonce: &[u8; 32],
    signature: &Signature,
) -> Result<(), CredentialError>
Expand description

Whether signature is credential’s device key’s over device_proof_message(server, nonce). Checks the proof only: the credential itself is UserDeviceCredential::verify’s.