[ Index ]

PHP Cross Reference of YOURLS

title

Body

[close]

/tests/tests/auth/ -> signatures.php (summary)

(no description)

File Size: 144 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Auth_Sig_Tests:: (10 methods):
  setUp()
  tearDown()
  test_signature_empty()
  test_signature_random()
  test_signature_timestamp_empty()
  test_signature_timestamp_random()
  test_signature_timestamp_md5()
  test_signature_timestamp_hash()
  timestamps()
  test_check_timestamp()


Class: Auth_Sig_Tests  - X-Ref

Tests with signatures

setUp()   X-Ref
No description

tearDown()   X-Ref
No description

test_signature_empty()   X-Ref
Check that empty signature isn't valid

since: 0.1

test_signature_random()   X-Ref
Check that random signature isn't valid

since: 0.1

test_signature_timestamp_empty()   X-Ref
Check that empty signature and timestamp isn't valid

since: 0.1

test_signature_timestamp_random()   X-Ref
Check that random signature and timestamp isn't valid

since: 0.1

test_signature_timestamp_md5()   X-Ref
Check that valid md5 timestamped sig is valid

since: 0.1

test_signature_timestamp_hash()   X-Ref
Check that valid hashed timestamped sig is valid

since: 0.1

timestamps()   X-Ref
Provide valid and invalid timestamps as compared to current time and nonce life


test_check_timestamp( $timestamp, $is_valid )   X-Ref
Check that timestamps are correctly handled (too old = bad, too future = bad, ...)

since: 0.1



Generated: Wed Sep 28 05:10:02 2022 Cross-referenced by PHPXref 0.7.1