\App\CoreModule\ModelsCertificateManager

Tool for managing certificates

Summary

Methods
Properties
Constants
checkIssuer()
checkPrivateKey()
getPrivateKey()
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

checkIssuer()

checkIssuer(  caCertificate,   certificate) : 

Checks if a certificate corresponds to a CA certificate

Parameters

caCertificate

CA certificate

certificate

Certificate

Returns

Is a certificate corresponds to a CA certificate?

checkPrivateKey()

checkPrivateKey(  cert,   pKey,   password) : 

Check if a private key corresponds to a certificate

Parameters

cert

Certificate

pKey

Private key

password

Password for private key

Returns

Is a private key corresponds to a certificate?

getPrivateKey()

getPrivateKey(  key,   password) : string|bool

Gets private key

Parameters

key

Private key

password

Password for private key

Returns

string|bool —

Parsed private key or false