ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
setUp () | |
testNoHeader () | |
testIncorrectContentMD5 () | |
testNoDate () | |
testFutureDate () | |
testPastDate () | |
testIncorrectSignature () | |
testValidRequest () | |
test401 () | |
Data Fields | |
const | REALM = 'SabreDAV unittest' |
Private Member Functions | |
hmacsha1 ($key, $message) | |
Generates an HMAC-SHA1 signature. More... | |
Private Attributes | |
$response | |
$request | |
$auth | |
Definition at line 8 of file AWSTest.php.
|
private |
Generates an HMAC-SHA1 signature.
string | $key | |
string | $message |
Definition at line 222 of file AWSTest.php.
References $key, and $message.
Referenced by Sabre\HTTP\Auth\AWSTest\testValidRequest().
Sabre\HTTP\Auth\AWSTest::setUp | ( | ) |
Definition at line 27 of file AWSTest.php.
Sabre\HTTP\Auth\AWSTest::test401 | ( | ) |
Definition at line 207 of file AWSTest.php.
References $test.
Sabre\HTTP\Auth\AWSTest::testFutureDate | ( | ) |
Definition at line 88 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWS\ERR_REQUESTTIMESKEWED.
Sabre\HTTP\Auth\AWSTest::testIncorrectContentMD5 | ( | ) |
Definition at line 45 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWS\ERR_MD5CHECKSUMWRONG.
Sabre\HTTP\Auth\AWSTest::testIncorrectSignature | ( | ) |
Definition at line 144 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWS\ERR_INVALIDSIGNATURE.
Sabre\HTTP\Auth\AWSTest::testNoDate | ( | ) |
Definition at line 65 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWS\ERR_INVALIDDATEFORMAT.
Sabre\HTTP\Auth\AWSTest::testNoHeader | ( | ) |
Definition at line 35 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWS\ERR_NOAWSHEADER.
Sabre\HTTP\Auth\AWSTest::testPastDate | ( | ) |
Definition at line 116 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWS\ERR_REQUESTTIMESKEWED.
Sabre\HTTP\Auth\AWSTest::testValidRequest | ( | ) |
Definition at line 173 of file AWSTest.php.
References $result, and Sabre\HTTP\Auth\AWSTest\hmacsha1().
|
private |
Definition at line 23 of file AWSTest.php.
|
private |
Definition at line 18 of file AWSTest.php.
|
private |
Definition at line 13 of file AWSTest.php.
const Sabre\HTTP\Auth\AWSTest::REALM = 'SabreDAV unittest' |
Definition at line 25 of file AWSTest.php.