PHP Класс Spatie\Certificate\Certificate

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contents

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
guardAgainstInvalidContents ( $contents ) Check if inputfile is correct.

Описание методов

__construct() публичный Метод

public __construct ( $contents )

getContents() публичный Метод

Get the contents of the certificate.
public getContents ( ) : string
Результат string

getIssuerDN() публичный Метод

Get the issuer DN of the certificate.
public getIssuerDN ( ) : string
Результат string

getParentCertificateURL() публичный Метод

Get the URL of the parent certificate.
public getParentCertificateURL ( ) : string
Результат string

guardAgainstInvalidContents() защищенный Метод

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

hasParentInTrustChain() публичный Метод

Does this certificate have a parent.
public hasParentInTrustChain ( ) : boolean
Результат boolean

Описание свойств

$contents защищенное свойство

protected $contents