PHP Class ParagonIE\Halite\EncryptionKeyPair

Inheritance: extends KeyPair
Afficher le fichier Open project: paragonie/halite

Protected Properties

Свойство Type Description
$publicKey EncryptionPublicKey
$secretKey EncryptionSecretKey

Méthodes publiques

Méthode Description
__construct ( variadic $keys ) 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

Méthodes protégées

Méthode Description
setupKeyPair ( EncryptionSecretKey $secret ) Set up our key pair

Method Details

__construct() public méthode

Pass it a secret key, it will automatically generate a public key
public __construct ( variadic $keys )
$keys variadic

getPublicKey() public méthode

Get a Key object for the public key
public getPublicKey ( ) : EncryptionPublicKey
Résultat EncryptionPublicKey

getSecretKey() public méthode

Get a Key object for the public key
public getSecretKey ( ) : EncryptionSecretKey
Résultat EncryptionSecretKey

setupKeyPair() protected méthode

Set up our key pair
protected setupKeyPair ( EncryptionSecretKey $secret )
$secret EncryptionSecretKey

Property Details

$publicKey protected_oe property

protected EncryptionPublicKey $publicKey
Résultat EncryptionPublicKey

$secretKey protected_oe property

protected EncryptionSecretKey $secretKey
Résultat EncryptionSecretKey