RSA_KEY_PAIR_TYPE
RSA_KEY_PAIR_TYPE
The RSA key pair type.
Interface AsymmetricKeyPairGenerationInterface - Interface for asymmetric key pair generation.
getAsymmetricKeyPair(integer $keySize = self::KEY_PAIR_4096_BITS, integer $algorithmType = self::RSA_KEY_PAIR_TYPE) : \CryptoManana\DataStructures\KeyPair
Generate a random key pair for asymmetrical cyphers.
integer | $keySize | The key size in bits. |
integer | $algorithmType | The asymmetric algorithm type integer code. |
Validation errors.
Randomly generated asymmetric key pair (private and public keys) as an object.