Kelunik\Acme\KeyPair
class KeyPair
v0.4.0
v0.3.3
v0.3.2
v0.3.1
v0.3.0
v0.2.5
v0.2.4
v0.2.3
v0.2.2
v0.2.1
v0.2.0
v0.1.0
RSA key pair.
Summary
Properties
Methods
__construct
getPrivate
getPublic
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.