<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Set CA path and info</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oauth.setauthtype.html">OAuth::setAuthType</a></div> <div class="next" style="text-align: right; float: right;"><a href="oauth.setnonce.html">OAuth::setNonce</a></div> <div class="up"><a href="class.oauth.html">OAuth</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="oauth.setcapath" class="refentry"> <div class="refnamediv"> <h1 class="refname">OAuth::setCAPath</h1> <p class="verinfo">(PECL OAuth >= 0.99.8)</p><p class="refpurpose"><span class="refname">OAuth::setCAPath</span> — <span class="dc-title">Set CA path and info</span></p> </div> <div class="refsect1 description" id="refsect1-oauth.setcapath-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="modifier">public</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>OAuth::setCAPath</strong></span> ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$ca_path</code></span> [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$ca_info</code></span> ]] )</div> <p class="para rdfs-comment"> Sets the Certificate Authority (<acronym>CA</acronym>), both for path and info. </p> <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is currently not documented; only its argument list is available. </p></div> </div> <div class="refsect1 parameters" id="refsect1-oauth.setcapath-parameters"> <h3 class="title">Parameters</h3> <dl> <dt> <span class="term"><em><code class="parameter">ca_path</code></em></span> <dd> <p class="para"> The CA Path being set. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">ca_info</code></em></span> <dd> <p class="para"> The CA Info being set. </p> </dd> </dt> </dl> </div> <div class="refsect1 returnvalues" id="refsect1-oauth.setcapath-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success, or <strong><code>FALSE</code></strong> if either <em><code class="parameter">ca_path</code></em> or <em><code class="parameter">ca_info</code></em> are considered invalid. </p> </div> <div class="refsect1 changelog" id="refsect1-oauth.setcapath-changelog"> <h3 class="title">Changelog</h3> <p class="para"> <table class="doctable informaltable"> <thead> <tr> <th>Version</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr> <td>1.0.0</td> <td> Previously returned <strong><code>NULL</code></strong> on failure, instead of <strong><code>FALSE</code></strong>. </td> </tr> </tbody> </table> </p> </div> <div class="refsect1 seealso" id="refsect1-oauth.setcapath-seealso"> <h3 class="title">See Also</h3> <ul class="simplelist"> <li class="member"> <span class="methodname"><a href="oauth.getcapath.html" class="methodname" rel="rdfs-seeAlso">OAuth::getCaPath()</a> - Gets CA information</span></li> </ul> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="oauth.setauthtype.html">OAuth::setAuthType</a></div> <div class="next" style="text-align: right; float: right;"><a href="oauth.setnonce.html">OAuth::setNonce</a></div> <div class="up"><a href="class.oauth.html">OAuth</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>