PHP Class Kelunik\Acme\KeyPair

Author: Niklas Keller ([email protected])
Afficher le fichier Open project: kelunik/acme Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $private, string $public ) KeyPair constructor.
getPrivate ( ) : string Gets the private key.
getPublic ( ) : string Gets the public key.

Method Details

__construct() public méthode

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

getPrivate() public méthode

Gets the private key.
public getPrivate ( ) : string
Résultat string private key (PEM encoded)

getPublic() public méthode

Gets the public key.
public getPublic ( ) : string
Résultat string public key (PEM encoded)