\CryptoManana\Core\Traits\CommonValidationsKeyPairSizeValidationTrait

Trait KeyPairSizeValidationTrait - Reusable implementation of asymmetric key pair size validations.

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
validateKeyPairSize()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

validateKeyPairSize()

validateKeyPairSize(integer  $keySize) 

Internal method for asymmetric algorithm type validation.

Parameters

integer $keySize

The key size in bits.

Throws

\Exception

Validation errors.