(PECL OAuth >= 1.0.0)
OAuth::setRSACertificate — Set the RSA certificate
Sets the RSA certificate.
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.
certThe RSA certificate.
Returns true on success, or false on failure (e.g., the RSA certificate
cannot be parsed.)
| Version | Beschreibung |
|---|---|
| PECL oauth 1.0.0 |
Gab früher bei einem Fehler null anstelle von false zurück.
|
Beispiel #1 An OAuth::setRsaCertificate() example
<?php
$consume = new OAuth('1234', '', OAUTH_SIG_METHOD_RSASHA1);
$consume->setRSACertificate(file_get_contents('test.pem'));
?>