authclient\signature\RsaSha1 initPublicCertificate()

initPublicCertificate() protected method Creates initial value for $publicCertificate. This method will attempt to fetch the certificate value from $publicCertificateFile file. protected string initPublicCertificate ( )return string Public certificate content. throws yii\base\InvalidConfigException on failure.

authclient\signature\RsaSha1 getPublicCertificate()

getPublicCertificate() public method public string getPublicCertificate ( )return string Public key certificate content.

authclient\signature\RsaSha1 $_publicCertificate

$_publicCertificate protected property OpenSSL public key certificate content. This value can be fetched from file specified by $publicCertificateFile. protected string $_publicCertificate = null

authclient\signature\RsaSha1 getName()

getName() public method Return the canonical name of the Signature Method. public string getName ( )return string Method name.

authclient\signature\RsaSha1 $_privateCertificate

$_privateCertificate protected property OpenSSL private key certificate content. This value can be fetched from file specified by $privateCertificateFile. protected string $_privateCertificate = null

authclient\signature\RsaSha1 generateSignature()

generateSignature() public method Generates OAuth request signature. public string generateSignature ( $baseString, $key )$baseString string Signature base string. $key string Signature key. return string Signature string.

authclient\signature\RsaSha1 getPrivateCertificate()

getPrivateCertificate() public method public string getPrivateCertificate ( )return string Private key certificate content.

authclient\signature\RsaSha1 $privateCertificate

$privateCertificate public property Private key certificate content. public string getPrivateCertificate ( )public void setPrivateCertificate ( $privateCertificate )

authclient\signature\RsaSha1 $publicCertificate

$publicCertificate public property Public key certificate content. public string getPublicCertificate ( )public void setPublicCertificate ( $publicCertificate )

authclient\signature\RsaSha1 $privateCertificateFile

$privateCertificateFile public property Path to the file, which holds private key certificate. public string $privateCertificateFile = ''