PHP Class ParagonIE\Halite\KeyPair

Show file Open project: paragonie/halite Class Usage Examples

Protected Properties

Property Type Description
$publicKey PublicKey
$secretKey SecretKey

Public Methods

Method Description
__debugInfo ( ) : array Hide this from var_dump(), etc.
getPublicKey ( ) : PublicKey Get a Key object for the public key
getSecretKey ( ) : SecretKey Get a Key object for the secret key

Method Details

__debugInfo() public method

Hide this from var_dump(), etc.
public __debugInfo ( ) : array
return array

getPublicKey() public method

Get a Key object for the public key
public getPublicKey ( ) : PublicKey
return PublicKey

getSecretKey() public method

Get a Key object for the secret key
public getSecretKey ( ) : SecretKey
return SecretKey

Property Details

$publicKey protected property

protected PublicKey $publicKey
return PublicKey

$secretKey protected property

protected SecretKey $secretKey
return SecretKey