downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

OAuth::setSSLChecks> <OAuth::setRequestEngine
[edit] Last updated: Sat, 07 Jan 2012

view this page in

OAuth::setRSACertificate

(PECL OAuth >= 1.0.0)

OAuth::setRSACertificateSet the RSA certificate

설명

public mixed OAuth::setRSACertificate ( string $cert )

Sets the RSA certificate.

Warning

이 함수는 현재 문서화 되어있지 않습니다; 인수 목록만을 제공합니다.

인수

cert

The 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'));
?>

참고



add a note add a note User Contributed Notes OAuth::setRSACertificate
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites