PHP 클래스 pharext\Openssl\PrivateKey

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

공개 메소드들

메소드 설명
__construct ( string $file, string $password ) Read a private key
exportPublicKey ( string $file ) Export the public key to a file
sign ( Phar $package ) Sign the PHAR

메소드 상세

__construct() 공개 메소드

Read a private key
public __construct ( string $file, string $password )
$file string
$password string

exportPublicKey() 공개 메소드

Export the public key to a file
public exportPublicKey ( string $file )
$file string

sign() 공개 메소드

Sign the PHAR
public sign ( Phar $package )
$package Phar