PHP Class Spatie\Certificate\Certificate

Afficher le fichier Open project: spatie/ssl-certificate-chain-resolver Class Usage Examples

Protected Properties

Свойство Type Description
$contents

Méthodes publiques

Méthode Description
__construct ( $contents )
getContents ( ) : string Get the contents of the certificate.
getIssuerDN ( ) : string Get the issuer DN of the certificate.
getParentCertificateURL ( ) : string Get the URL of the parent certificate.
hasParentInTrustChain ( ) : boolean Does this certificate have a parent.

Méthodes protégées

Méthode Description
guardAgainstInvalidContents ( $contents ) Check if inputfile is correct.

Method Details

__construct() public méthode

public __construct ( $contents )

getContents() public méthode

Get the contents of the certificate.
public getContents ( ) : string
Résultat string

getIssuerDN() public méthode

Get the issuer DN of the certificate.
public getIssuerDN ( ) : string
Résultat string

getParentCertificateURL() public méthode

Get the URL of the parent certificate.
public getParentCertificateURL ( ) : string
Résultat string

guardAgainstInvalidContents() protected méthode

Check if inputfile is correct.
protected guardAgainstInvalidContents ( $contents )
$contents

hasParentInTrustChain() public méthode

Does this certificate have a parent.
public hasParentInTrustChain ( ) : boolean
Résultat boolean

Property Details

$contents protected_oe property

protected $contents