ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Simple DTO wrapper for (X509) keys. More...
Public Member Functions | |
__construct (array $keyData) | |
canBeUsedFor ($usage) | |
Whether or not the key is configured to be used for usage given. More... | |
offsetExists ($offset) | |
offsetGet ($offset) | |
offsetSet ($offset, $value) | |
offsetUnset ($offset) | |
Static Public Member Functions | |
static | getValidKeyUsages () |
Returns the list of valid key usage options. More... | |
Data Fields | |
const | USAGE_SIGNING = 'signing' |
const | USAGE_ENCRYPTION = 'encryption' |
Protected Member Functions | |
assertIsString ($test) | |
Asserts that the parameter is of type string. More... | |
Protected Attributes | |
$keyData = array() | |
Simple DTO wrapper for (X509) keys.
Implements ArrayAccess for easier backwards compatibility.
SAML2\Certificate\Key::__construct | ( | array | $keyData | ) |
array | $keyData |
Definition at line 26 of file Key.php.
References SAML2\Certificate\Key\offsetSet().
|
protected |
Asserts that the parameter is of type string.
mixed | $test |
Definition at line 93 of file Key.php.
References $test, and SAML2\Exception\InvalidArgumentException\invalidType().
Referenced by SAML2\Certificate\Key\offsetGet(), SAML2\Certificate\Key\offsetSet(), and SAML2\Certificate\Key\offsetUnset().
SAML2\Certificate\Key::canBeUsedFor | ( | $usage | ) |
Whether or not the key is configured to be used for usage given.
string | $usage |
|
static |
Returns the list of valid key usage options.
Definition at line 53 of file Key.php.
Referenced by SAML2\Certificate\Exception\InvalidKeyUsageException\__construct().
SAML2\Certificate\Key::offsetExists | ( | $offset | ) |
SAML2\Certificate\Key::offsetGet | ( | $offset | ) |
Definition at line 66 of file Key.php.
References SAML2\Certificate\Key\assertIsString().
SAML2\Certificate\Key::offsetSet | ( | $offset, | |
$value | |||
) |
Definition at line 73 of file Key.php.
References SAML2\Certificate\Key\assertIsString().
Referenced by SAML2\Certificate\Key\__construct().
SAML2\Certificate\Key::offsetUnset | ( | $offset | ) |
Definition at line 80 of file Key.php.
References SAML2\Certificate\Key\assertIsString().
|
protected |
Definition at line 21 of file Key.php.
Referenced by SAML2\Certificate\PrivateKey\create().