\AlibabaCloud\Client\CredentialsRsaKeyPairCredential

Use the RSA key pair to complete the authentication (supported only on Japanese site)

Summary

Methods
Properties
Constants
__construct()
getPrivateKey()
getPublicKeyId()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$publicKeyId
$privateKey
N/A

Properties

$publicKeyId

$publicKeyId : string

Type

string

$privateKey

$privateKey : string

Type

string

Methods

__construct()

__construct(string  $publicKeyId, string  $privateKeyFile) 

RsaKeyPairCredential constructor.

Parameters

string $publicKeyId
string $privateKeyFile

Throws

\AlibabaCloud\Client\Exception\ClientException

getPrivateKey()

getPrivateKey() : mixed

Returns

mixed

getPublicKeyId()

getPublicKeyId() : string

Returns

string

__toString()

__toString() : string

Returns

string