\Yurun\PaySDK\LibCertUtil

证书工具类.

Summary

Methods
Properties
Constants
getCertSN()
getRootCertSN()
array2string()
hex2dec()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getCertSN()

getCertSN(  $certPath) : string

从证书中提取序列号.

Parameters

$certPath

Returns

string

getRootCertSN()

getRootCertSN(  $certPath) : string|null

提取根证书序列号.

Parameters

$certPath

string 根证书

Returns

string|null

array2string()

array2string(array  $array) : string

数组转字符串.

Parameters

array $array

Returns

string

hex2dec()

hex2dec(  $hex) : integer|string

0x转高精度数字.

Parameters

$hex

Returns

integer|string