Kelunik\Acme\KeyPair classKeyPair

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 functiongetPrivate():string

Gets the private key.

getPublic —public functiongetPublic():string

Gets the public key.