Свойство | Тип | Описание | |
---|---|---|---|
$certificate | |||
$pin | string | ||
$publicKey | resource | ||
$publicKeyDetails | array |
Метод | Описание | |
---|---|---|
__construct ( $certificate ) | ||
getPin ( ) : string | Get the certificate pin. | |
getPublicKey ( ) : resource | Extracts the public key from certificate and prepares it for use by other functions. | |
getPublicKeyDetails ( ) : array | This function returns the key details (bits, key, type). |
public __construct ( $certificate ) | ||
$certificate | mixed X.509 resource, X.509 certificate string, or path to X.509 certificate file. |
public getPublicKey ( ) : resource | ||
Результат | resource | 'OpenSSL key' |
public getPublicKeyDetails ( ) : array | ||
Результат | array |