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

search for in the

OAuth::setSSLChecks> <OAuth::setRequestEngine
[edit] Last updated: Mon, 20 May 2013

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 以前失败时返回 NULL,而不是 FALSE

范例

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 - [0 notes]
There are no user contributed notes for this page.

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