D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
psa
/
admin
/
plib
/
modules
/
sslit
/
vendor
/
acmephp
/
ssl
/
Generator
/
RsaKey
/
Filename :
RsaKeyOption.php
back
Copy
<?php /* * This file is part of the Acme PHP project. * * (c) Titouan Galopin <galopintitouan@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PleskSslIt\AcmePhp\Ssl\Generator\RsaKey; use PleskSslIt\AcmePhp\Ssl\Generator\KeyOption; use PleskSslIt\Webmozart\Assert\Assert; class RsaKeyOption implements KeyOption { /** @var int */ private $bits; public function __construct($bits = 4096) { Assert::integer($bits); $this->bits = $bits; } /** * @return int */ public function getBits() { return $this->bits; } }