setKeyPair()
setKeyPair(\CryptoManana\DataStructures\KeyPair $keyPair)
Setter for the whole key pair as an array.
Parameters
\CryptoManana\DataStructures\KeyPair | $keyPair | The private and public key pair as an object. |
Throws
- \Exception
Validation errors.