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: Tue, 18 Jun 2013

view this page in

OAuth::setRSACertificate

(PECL OAuth >= 1.0.0)

OAuth::setRSACertificateestablece el certificado RSA

Descripción

public mixed OAuth::setRSACertificate ( string $cert )

Establece el certificado RSA.

Advertencia

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Parámetros

cert

El certificado RSA.

Valores devueltos

Devuelve TRUE si tiene éxito, o FALSE al fallar (Ejemplo, el certificado RSA no se pudo procesar.)

Historial de cambios

Versión Descripción
1.0.0 Antes devolvía NULL en caso de falla, en lugar de FALSE.

Ejemplos

Ejemplo #1 Ejemplo de OAuth::setRsaCertificate()

<?php
$consume 
= new OAuth('1234'''OAUTH_SIG_METHOD_RSASHA1);

$consume->setRSACertificate(file_get_contents('test.pem'));
?>

Ver también



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