17 return $this->
get(
'keys');
22 return $this->
get(
'certificateData');
27 return $this->
get(
'certificateFile');
35 return $this->
get(
'certificateFingerprints');
40 return $this->
get(
'entityId');
45 return $this->
get(
'assertionEncryptionEnabled');
50 return $this->
get(
'sharedKey');
55 $privateKeys = $this->
get(
'privateKeys');
60 $keyCount = count(
$key);
61 if ($keyCount !== 1 && $required) {
62 throw new \RuntimeException(sprintf(
63 'Attempted to get privateKey by name "%s", found "%d" keys, where only one was expected. Please '
64 .
'verify that your configuration is correct',
74 return array_pop(
$key);
An exception for terminatinating execution or to throw for unit testing.
Default implementation for configuration.
Configuration of a private key.
Basic Configuration Wrapper.
getCertificateData()
Returns the contents of an X509 pem certificate, without the '--—BEGIN CERTIFICATE--—' and '--—END CE...
getCertificateFingerprints()
getKeys()
Returns an array or \Traversable of keys, where each element represents a configured key.
getBlacklistedAlgorithms()
isAssertionEncryptionRequired()
getPrivateKey($name, $required=false)
getCertificateFile()
Returns the full path to the (local) file that contains the X509 pem certificate.
CertificateProvider interface.
Interface \SAML2\Configuration\EntityIdProvider.