PHP Class ParagonIE\Halite\SignatureKeyPair

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

Protected Properties

Свойство Type Description
$publicKey SignaturePublicKey
$secretKey SignatureSecretKey

Méthodes publiques

Méthode Description
__construct ( variadic $keys ) Pass it a secret key, it will automatically generate a public key
getPublicKey ( ) : SignaturePublicKey Get a Key object for the public key
getSecretKey ( ) : SignatureSecretKey Get a Key object for the public key

Méthodes protégées

Méthode Description
setupKeyPair ( SignatureSecretKey $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 ( ) : SignaturePublicKey
Résultat SignaturePublicKey

getSecretKey() public méthode

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

setupKeyPair() protected méthode

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

Property Details

$publicKey protected_oe property

protected SignaturePublicKey $publicKey
Résultat SignaturePublicKey

$secretKey protected_oe property

protected SignatureSecretKey $secretKey
Résultat SignatureSecretKey