(PECL OAuth >= 1.0.0)
OAuth::setRSACertificate — Set the RSA certificate
Sets the RSA certificate.
이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.
certThe RSA certificate.
Returns TRUE on success, or FALSE on failure (e.g., the RSA certificate
cannot be parsed.)
| 버전 | 설명 |
|---|---|
| 1.0.0 |
이전에는 실패시 FALSE가 아닌 NULL을 반환했습니다.
|
Example #1 An OAuth::setRsaCertificate() example
<?php
$consume = new OAuth('1234', '', OAUTH_SIG_METHOD_RSASHA1);
$consume->setRSACertificate(file_get_contents('test.pem'));
?>