|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Simple DTO wrapper for (X509) keys. More...
Inheritance diagram for SAML2\Certificate\Key:
Collaboration diagram for SAML2\Certificate\Key: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\$keyData, and SAML2\Certificate\Key\offsetSet().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| SAML2\Certificate\Key::canBeUsedFor | ( | $usage | ) |
Whether or not the key is configured to be used for usage given.
| string | $usage |
Definition at line 40 of file Key.php.
|
static |
Returns the list of valid key usage options.
Definition at line 53 of file Key.php.
Referenced by SAML2\Certificate\Exception\InvalidKeyUsageException\__construct().
Here is the caller graph for this function:| SAML2\Certificate\Key::offsetExists | ( | $offset | ) |
| SAML2\Certificate\Key::offsetGet | ( | $offset | ) |
Definition at line 66 of file Key.php.
References SAML2\Certificate\Key\assertIsString().
Here is the call graph for this function:| SAML2\Certificate\Key::offsetSet | ( | $offset, | |
| $value | |||
| ) |
Reimplemented in SAML2\Certificate\X509.
Definition at line 73 of file Key.php.
References SAML2\Certificate\Key\assertIsString().
Referenced by SAML2\Certificate\Key\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| SAML2\Certificate\Key::offsetUnset | ( | $offset | ) |
Definition at line 80 of file Key.php.
References SAML2\Certificate\Key\assertIsString().
Here is the call graph for this function:
|
protected |
Definition at line 21 of file Key.php.
Referenced by SAML2\Certificate\Key\__construct(), and SAML2\Certificate\PrivateKey\create().