Overview

Classes

  • u2flib_server\RegisterRequest
  • u2flib_server\Registration
  • u2flib_server\SignRequest
  • u2flib_server\U2F

Exceptions

  • u2flib_server\Error

Constants

  • u2flib_server\ERR_ATTESTATION_SIGNATURE
  • u2flib_server\ERR_ATTESTATION_VERIFICATION
  • u2flib_server\ERR_AUTHENTICATION_FAILURE
  • u2flib_server\ERR_BAD_RANDOM
  • u2flib_server\ERR_BAD_UA_RETURNING
  • u2flib_server\ERR_COUNTER_TOO_LOW
  • u2flib_server\ERR_NO_MATCHING_REGISTRATION
  • u2flib_server\ERR_NO_MATCHING_REQUEST
  • u2flib_server\ERR_OLD_OPENSSL
  • u2flib_server\ERR_PUBKEY_DECODE
  • u2flib_server\ERR_UNMATCHED_CHALLENGE
  • u2flib_server\U2F_VERSION
  • Overview
  • Class

php-u2flib-server API

Classes summary
u2flib_server\RegisterRequest Class for building a registration request
u2flib_server\Registration Class returned for successful registrations
u2flib_server\SignRequest Class for building up an authentication request
u2flib_server\U2F
Exceptions summary
u2flib_server\Error Error class, returned on errors
Constants summary
u2flib_server\ERR_ATTESTATION_SIGNATURE

Error for the attestation signature on the registration message not verifying

u2flib_server\ERR_ATTESTATION_VERIFICATION Error for the attestation verification not verifying
u2flib_server\ERR_AUTHENTICATION_FAILURE

Error for the signature on the authentication message not verifying with the correct key

u2flib_server\ERR_BAD_RANDOM Error for not getting good random from the system
u2flib_server\ERR_BAD_UA_RETURNING Error user-agent returned error
u2flib_server\ERR_COUNTER_TOO_LOW Error when the counter is lower than expected
u2flib_server\ERR_NO_MATCHING_REGISTRATION Error for the authentication message not matching any registration
u2flib_server\ERR_NO_MATCHING_REQUEST

Error for the authentication message not matching any outstanding authentication request

u2flib_server\ERR_OLD_OPENSSL Error old OpenSSL version
u2flib_server\ERR_PUBKEY_DECODE Error decoding public key
u2flib_server\ERR_UNMATCHED_CHALLENGE

Error for the challenge in the registration message not matching the registration challenge

u2flib_server\U2F_VERSION Constant for the version of the u2f protocol
php-u2flib-server API API documentation generated by ApiGen