Property | Type | Description | |
---|---|---|---|
$publicKey | EncryptionPublicKey | ||
$secretKey | EncryptionSecretKey |
Method | Description | |
---|---|---|
__construct ( variadic |
Pass it a secret key, it will automatically generate a public key | |
getPublicKey ( ) : EncryptionPublicKey | Get a Key object for the public key | |
getSecretKey ( ) : EncryptionSecretKey | Get a Key object for the public key |
Method | Description | |
---|---|---|
setupKeyPair ( EncryptionSecretKey $secret ) | Set up our key pair |
public __construct ( variadic |
||
$keys | variadic |
public getPublicKey ( ) : EncryptionPublicKey | ||
return | EncryptionPublicKey |
public getSecretKey ( ) : EncryptionSecretKey | ||
return | EncryptionSecretKey |
protected setupKeyPair ( EncryptionSecretKey $secret ) | ||
$secret | EncryptionSecretKey |