ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
SAML2\Configuration\CertificateProvider Interface Reference

CertificateProvider interface. More...

+ Inheritance diagram for SAML2\Configuration\CertificateProvider:
+ Collaboration diagram for SAML2\Configuration\CertificateProvider:

Public Member Functions

 getKeys ()
 Returns an array or of keys, where each element represents a configured key. More...
 
 getCertificateData ()
 Returns the contents of an X509 pem certificate, without the '--—BEGIN CERTIFICATE--—' and '--—END CERTIFICATE--—'. More...
 
 getCertificateFile ()
 Returns the full path to the (local) file that contains the X509 pem certificate. More...
 
 getCertificateFingerprints ()
 Returns an array or where each element represents a certificate fingerprint. More...
 
- Public Member Functions inherited from SAML2\Configuration\Queryable
 has ($key)
 Query for whether or not the configuration has a value for the key. More...
 
 get ($key, $default=null)
 Query to get the value in the configuration for the given key. More...
 

Detailed Description

CertificateProvider interface.

Definition at line 8 of file CertificateProvider.php.

Member Function Documentation

◆ getCertificateData()

SAML2\Configuration\CertificateProvider::getCertificateData ( )

Returns the contents of an X509 pem certificate, without the '--—BEGIN CERTIFICATE--—' and '--—END CERTIFICATE--—'.

Returns
null|string

Implemented in SAML2\Configuration\ServiceProvider, and SAML2\Configuration\IdentityProvider.

Referenced by SAML2\Certificate\KeyLoader\loadKeysFromConfiguration().

+ Here is the caller graph for this function:

◆ getCertificateFile()

SAML2\Configuration\CertificateProvider::getCertificateFile ( )

Returns the full path to the (local) file that contains the X509 pem certificate.

Returns
null|string

Implemented in SAML2\Configuration\ServiceProvider, and SAML2\Configuration\IdentityProvider.

Referenced by SAML2\Certificate\KeyLoader\loadKeysFromConfiguration().

+ Here is the caller graph for this function:

◆ getCertificateFingerprints()

SAML2\Configuration\CertificateProvider::getCertificateFingerprints ( )

Returns an array or where each element represents a certificate fingerprint.

A certificate fingerprint is a string containing the certificate fingerprint.

Returns
null|array|
Deprecated:
Please use getCertifiateFile() or getCertificateData()

Implemented in SAML2\Configuration\ServiceProvider, and SAML2\Configuration\IdentityProvider.

Referenced by SAML2\Signature\FingerprintValidator\canValidate(), and SAML2\Certificate\FingerprintLoader\loadFingerprints().

+ Here is the caller graph for this function:

◆ getKeys()

SAML2\Configuration\CertificateProvider::getKeys ( )

Returns an array or of keys, where each element represents a configured key.

A configured key itself is an array or object implementing ArrayAccess where the array key/property is the configuration key and the value is the configured value.

Returns
null|array|

Implemented in SAML2\Configuration\ServiceProvider, and SAML2\Configuration\IdentityProvider.

Referenced by SAML2\Certificate\KeyLoader\loadKeysFromConfiguration().

+ Here is the caller graph for this function:

The documentation for this interface was generated from the following file: