Kelunik\Acme\KeyPair class KeyPair

RSA key pair.

Summary

Properties

Methods

Properties

Methods

__construct — public function __construct(string $private, string $public)

KeyPair constructor.

Type Parameter Description Default Value
string $private private key (PEM encoded) none
string $public public key (PEM encoded) none
getPrivate — public function getPrivate(): string

Gets the private key.

getPublic — public function getPublic(): string

Gets the public key.