PHP Class Sslurp\MozillaCertData

Inheritance: extends AbstractCaRootData
Afficher le fichier Open project: evandotpro/sslurp Class Usage Examples

Protected Properties

Свойство Type Description
$certData string certdata.txt contents
$context resource Stream context

Méthodes publiques

Méthode Description
getContent ( $until = false ) : string Get the raw certdata.txt contents from mxr.mozilla.org
getStreamContext ( ) : resource Get the stream context for the TCP connection to the server.

Méthodes protégées

Méthode Description
decodeChunkedString ( $string )
fetchLatestCertData ( $until = false )
getResponseBody ( $string )
getRootCaBundlePath ( )

Method Details

decodeChunkedString() protected méthode

protected decodeChunkedString ( $string )

fetchLatestCertData() protected méthode

protected fetchLatestCertData ( $until = false )

getContent() public méthode

Get the raw certdata.txt contents from mxr.mozilla.org
public getContent ( $until = false ) : string
Résultat string

getResponseBody() protected méthode

protected getResponseBody ( $string )

getRootCaBundlePath() protected méthode

protected getRootCaBundlePath ( )

getStreamContext() public méthode

If no stream context is set, will create a default one.
public getStreamContext ( ) : resource
Résultat resource

Property Details

$certData protected_oe property

certdata.txt contents
protected string $certData
Résultat string

$context protected_oe property

Stream context
protected resource $context
Résultat resource