diff options
author | Thijs Kinkhorst <thijs@kinkhorst.com> | 2016-08-05 14:46:02 +0000 |
---|---|---|
committer | Thijs Kinkhorst <thijs@kinkhorst.com> | 2016-08-05 14:46:02 +0000 |
commit | 2cebbd34ab71bee73089d5d78b123d240a257082 (patch) | |
tree | cf427905a138d68168ea68f2521d3a27614ee104 /lib/SimpleSAML/Utils/Crypto.php | |
parent | 0c123e9a4600835b12f63309e05a1c9541a0bdfb (diff) | |
download | simplesamlphp-2cebbd34ab71bee73089d5d78b123d240a257082.zip simplesamlphp-2cebbd34ab71bee73089d5d78b123d240a257082.tar.gz simplesamlphp-2cebbd34ab71bee73089d5d78b123d240a257082.tar.bz2 |
Deprecate the certFingerprint option.
Issue a notice when the option is used nonetheless.
Closes: #432
Diffstat (limited to 'lib/SimpleSAML/Utils/Crypto.php')
-rw-r--r-- | lib/SimpleSAML/Utils/Crypto.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Utils/Crypto.php b/lib/SimpleSAML/Utils/Crypto.php index 269ed1b..f27a9b0 100644 --- a/lib/SimpleSAML/Utils/Crypto.php +++ b/lib/SimpleSAML/Utils/Crypto.php @@ -178,12 +178,12 @@ class Crypto * - 'certData': The certificate as a base64-encoded string. * - 'certificate': A file with a certificate or public key in PEM-format. * - 'certFingerprint': The fingerprint of the certificate. Can be a single fingerprint, or an array of multiple - * valid fingerprints. + * valid fingerprints. (deprecated) * * This function will return an array with these elements: * - 'PEM': The public key/certificate in PEM-encoding. * - 'certData': The certificate data, base64 encoded, on a single line. (Only present if this is a certificate.) - * - 'certFingerprint': Array of valid certificate fingerprints. (Only present if this is a certificate.) + * - 'certFingerprint': Array of valid certificate fingerprints. (Deprecated. Only present if this is a certificate.) * * @param \SimpleSAML_Configuration $metadata The metadata. * @param bool $required Whether the private key is required. If this is TRUE, a missing key |