(PECL OAuth >= 1.0.0)
OAuth::setRSACertificate — 锟斤拷锟斤拷 RSA 证锟斤拷
锟斤拷锟斤拷 RSA 证锟介。
锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷
cert
RSA 证锟介。
锟缴癸拷锟津返伙拷 TRUE
锟斤拷失锟杰凤拷锟斤拷 FALSE
锟斤拷锟斤拷锟界,RSA证锟介不锟杰憋拷锟斤拷锟捷o拷锟斤拷
锟芥本 | 说锟斤拷 |
---|---|
1.0.0 |
锟斤拷前失锟斤拷时锟斤拷锟斤拷 NULL 锟斤拷锟斤拷锟斤拷锟斤拷 FALSE 锟斤拷
|
Example #1 一锟斤拷 OAuth::setRsaCertificate() 锟斤拷锟斤拷
<?php
$consume = new OAuth('1234', '', OAUTH_SIG_METHOD_RSASHA1);
$consume->setRSACertificate(file_get_contents('test.pem'));
?>