KeyPair
Represents a pair of public and private keys.
- Full name:
\Bloock\Entity\Key\KeyPair
Properties
publicKey
public string $publicKey
privateKey
public string $privateKey
Methods
__construct
Constructs a KeyPair object with the specified parameters.
public __construct(string $publicKey, string $privateKey): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$publicKey | string | |
$privateKey | string |
getPublicKey
Gets the public key.
public getPublicKey(): string
getPrivateKey
Gets the private key.
public getPrivateKey(): string
Automatically generated on 2024-04-02