Class yii\authclient\signature\RsaSha1

Inheritanceyii\authclient\signature\RsaSha1 » yii\authclient\signature\RsaSha » yii\authclient\signature\BaseMethod » yii\base\BaseObject
Available since version2.0
Deprecated since version RsaSha1 represents 'RSA-SHA1' signature method. Since 2.1.3 this class is deprecated, use [[RsaSha]] with `OPENSSL_ALGO_SHA1` algorithm instead.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$algorithm integer|string Signature hash algorithm, e.g. OPENSSL_ALGO_SHA1, OPENSSL_ALGO_SHA256 and so on. yii\authclient\signature\RsaSha1
$privateCertificateFile string Path to the file, which holds private key certificate. yii\authclient\signature\RsaSha
$publicCertificateFile string Path to the file, which holds public key certificate. yii\authclient\signature\RsaSha

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$_privateCertificate string OpenSSL private key certificate content. yii\authclient\signature\RsaSha
$_publicCertificate string OpenSSL public key certificate content. yii\authclient\signature\RsaSha

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
initPrivateCertificate() Creates initial value for \yii\authclient\signature\privateCertificate. yii\authclient\signature\RsaSha
initPublicCertificate() Creates initial value for \yii\authclient\signature\publicCertificate. yii\authclient\signature\RsaSha

Property Details

$algorithm public property

Signature hash algorithm, e.g. OPENSSL_ALGO_SHA1, OPENSSL_ALGO_SHA256 and so on.

public integer|string $algorithm OPENSSL_ALGO_SHA1

Method Details

getName() public method

Return the canonical name of the Signature Method.

public string getName ( )
return string

Method name.