PHP 클래스 Sslurp\X509Certificate

파일 보기 프로젝트 열기: evandotpro/sslurp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$certificate
$pin string
$publicKey resource
$publicKeyDetails array

공개 메소드들

메소드 설명
__construct ( $certificate )
getPin ( ) : string Get the certificate pin.
getPublicKey ( ) : resource Extracts the public key from certificate and prepares it for use by other functions.
getPublicKeyDetails ( ) : array This function returns the key details (bits, key, type).

메소드 상세

__construct() 공개 메소드

public __construct ( $certificate )
$certificate mixed X.509 resource, X.509 certificate string, or path to X.509 certificate file.

getPin() 공개 메소드

By Kevin McArthur of StormTide Digital Studios Inc.
public getPin ( ) : string
리턴 string

getPublicKey() 공개 메소드

OOP alias for openssl_pkey_get_public / openssl_get_publickey.
public getPublicKey ( ) : resource
리턴 resource 'OpenSSL key'

getPublicKeyDetails() 공개 메소드

This function returns the key details (bits, key, type).
public getPublicKeyDetails ( ) : array
리턴 array

프로퍼티 상세

$certificate 보호되어 있는 프로퍼티

protected $certificate

$pin 보호되어 있는 프로퍼티

protected string $pin
리턴 string

$publicKey 보호되어 있는 프로퍼티

protected resource $publicKey
리턴 resource

$publicKeyDetails 보호되어 있는 프로퍼티

protected array $publicKeyDetails
리턴 array