PHP Class Sslurp\MozillaCertData

Inheritance: extends AbstractCaRootData
Exibir arquivo Open project: evandotpro/sslurp Class Usage Examples

Protected Properties

Property Type Description
$certData string certdata.txt contents
$context resource Stream context

Public Methods

Method 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.

Protected Methods

Method Description
decodeChunkedString ( $string )
fetchLatestCertData ( $until = false )
getResponseBody ( $string )
getRootCaBundlePath ( )

Method Details

decodeChunkedString() protected method

protected decodeChunkedString ( $string )

fetchLatestCertData() protected method

protected fetchLatestCertData ( $until = false )

getContent() public method

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

getResponseBody() protected method

protected getResponseBody ( $string )

getRootCaBundlePath() protected method

protected getRootCaBundlePath ( )

getStreamContext() public method

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

Property Details

$certData protected_oe property

certdata.txt contents
protected string $certData
return string

$context protected_oe property

Stream context
protected resource $context
return resource