PHP 클래스 Kelunik\Acme\KeyPair

저자: Niklas Keller ([email protected])
파일 보기 프로젝트 열기: kelunik/acme 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $private, string $public ) KeyPair constructor.
getPrivate ( ) : string Gets the private key.
getPublic ( ) : string Gets the public key.

메소드 상세

__construct() 공개 메소드

KeyPair constructor.
public __construct ( string $private, string $public )
$private string private key (PEM encoded)
$public string public key (PEM encoded)

getPrivate() 공개 메소드

Gets the private key.
public getPrivate ( ) : string
리턴 string private key (PEM encoded)

getPublic() 공개 메소드

Gets the public key.
public getPublic ( ) : string
리턴 string public key (PEM encoded)