Property | Type | Description | |
---|---|---|---|
$publicKey |
Method | Description | |
---|---|---|
__construct ( |
||
generateKeyPair ( integer $size = 2048 ) : self | Generate a private/public RSA key pair | |
getPrivateKey ( ) : |
||
getPublicKey ( ) : |
public __construct ( |
||
$privateKey | ||
$publicKey |
public static generateKeyPair ( integer $size = 2048 ) : self | ||
$size | integer | Key size |
return | self |