Submit
Path:
~
/
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
sslit
/
vendor
/
acmephp
/
ssl
/
Generator
/
RsaKey
/
File Content:
RsaKeyOption.php
<?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; } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
RsaKeyGenerator.php
1212 bytes
0644
RsaKeyOption.php
690 bytes
0644
N4ST4R_ID | Naxtarrr