├── index.html ├── class └── index.html ├── images ├── mainwp-icon.png ├── mainwp-logo.png └── mainwp-logo-alt.png ├── languages ├── mainwp-child-de_DE.mo ├── mainwp-child-es_ES.mo ├── mainwp-child-fr_FR.mo └── mainwp-child-pt_BR.mo ├── css ├── 1.10.4 │ └── images │ │ ├── animated-overlay.gif │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ ├── ui-icons_cd0a0a_256x240.png │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png └── 1.11.1 │ └── images │ ├── ui-icons_222222_256x240.png │ ├── ui-icons_228ef1_256x240.png │ ├── ui-icons_ef8c08_256x240.png │ ├── ui-icons_ffd27a_256x240.png │ ├── ui-icons_ffffff_256x240.png │ ├── ui-bg_flat_10_000000_40x100.png │ ├── ui-bg_glass_65_ffffff_1x400.png │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png ├── .htaccess └── libs └── phpseclib └── vendor ├── phpseclib └── phpseclib │ ├── phpseclib │ ├── openssl.cnf │ ├── Crypt │ │ ├── EC │ │ │ ├── Curves │ │ │ │ ├── nistb233.php │ │ │ │ ├── nistb409.php │ │ │ │ ├── nistk163.php │ │ │ │ ├── nistk233.php │ │ │ │ ├── nistk283.php │ │ │ │ ├── nistk409.php │ │ │ │ ├── nistp192.php │ │ │ │ ├── nistp224.php │ │ │ │ ├── nistp256.php │ │ │ │ ├── nistp384.php │ │ │ │ ├── nistp521.php │ │ │ │ ├── nistt571.php │ │ │ │ ├── prime192v1.php │ │ │ │ ├── prime256v1.php │ │ │ │ ├── sect113r1.php │ │ │ │ ├── sect113r2.php │ │ │ │ ├── sect131r1.php │ │ │ │ ├── sect131r2.php │ │ │ │ ├── sect163k1.php │ │ │ │ ├── sect163r1.php │ │ │ │ ├── sect163r2.php │ │ │ │ ├── sect193r1.php │ │ │ │ ├── sect193r2.php │ │ │ │ ├── secp112r1.php │ │ │ │ ├── secp128r1.php │ │ │ │ ├── secp112r2.php │ │ │ │ ├── sect233k1.php │ │ │ │ ├── sect233r1.php │ │ │ │ ├── sect239k1.php │ │ │ │ ├── secp128r2.php │ │ │ │ ├── secp160r1.php │ │ │ │ ├── brainpoolP160r1.php │ │ │ │ ├── secp160r2.php │ │ │ │ ├── sect283k1.php │ │ │ │ ├── sect283r1.php │ │ │ │ ├── prime192v2.php │ │ │ │ ├── prime192v3.php │ │ │ │ ├── brainpoolP192r1.php │ │ │ │ ├── brainpoolP192t1.php │ │ │ │ ├── secp224r1.php │ │ │ │ ├── brainpoolP224r1.php │ │ │ │ ├── brainpoolP224t1.php │ │ │ │ ├── prime239v1.php │ │ │ │ ├── prime239v2.php │ │ │ │ ├── prime239v3.php │ │ │ │ ├── secp256r1.php │ │ │ │ ├── brainpoolP256r1.php │ │ │ │ └── brainpoolP256t1.php │ │ │ ├── Formats │ │ │ │ └── Signature │ │ │ │ │ └── Raw.php │ │ │ └── Parameters.php │ │ ├── Common │ │ │ ├── BlockCipher.php │ │ │ ├── PublicKey.php │ │ │ ├── PrivateKey.php │ │ │ └── Traits │ │ │ │ └── PasswordProtected.php │ │ ├── DSA │ │ │ ├── Formats │ │ │ │ └── Signature │ │ │ │ │ └── Raw.php │ │ │ └── Parameters.php │ │ └── DH │ │ │ ├── Parameters.php │ │ │ └── PublicKey.php │ ├── Math │ │ ├── Common │ │ │ ├── FiniteField.php │ │ │ └── FiniteField │ │ │ │ └── Integer.php │ │ └── BigInteger │ │ │ └── Engines │ │ │ ├── PHP │ │ │ ├── OpenSSL.php │ │ │ ├── DefaultEngine.php │ │ │ └── Reductions │ │ │ │ └── Classic.php │ │ │ ├── BCMath │ │ │ ├── OpenSSL.php │ │ │ ├── DefaultEngine.php │ │ │ └── BuiltIn.php │ │ │ └── GMP │ │ │ └── DefaultEngine.php │ ├── Exception │ │ ├── BadModeException.php │ │ ├── NoKeyLoadedException.php │ │ ├── BadDecryptionException.php │ │ ├── FileNotFoundException.php │ │ ├── UnableToConnectException.php │ │ ├── BadConfigurationException.php │ │ ├── ConnectionClosedException.php │ │ ├── UnsupportedCurveException.php │ │ ├── InconsistentSetupException.php │ │ ├── InsufficientSetupException.php │ │ ├── UnsupportedFormatException.php │ │ ├── UnsupportedAlgorithmException.php │ │ ├── UnsupportedOperationException.php │ │ └── NoSupportedAlgorithmsException.php │ ├── File │ │ └── ASN1 │ │ │ ├── Maps │ │ │ ├── IssuerAltName.php │ │ │ ├── HashAlgorithm.php │ │ │ ├── SubjectAltName.php │ │ │ ├── CertificateIssuer.php │ │ │ ├── MaskGenAlgorithm.php │ │ │ ├── CPSuri.php │ │ │ ├── Prime_p.php │ │ │ ├── ECPoint.php │ │ │ ├── CRLNumber.php │ │ │ ├── PublicKey.php │ │ │ ├── Trinomial.php │ │ │ ├── PrivateKey.php │ │ │ ├── BaseDistance.php │ │ │ ├── DSAPublicKey.php │ │ │ ├── AttributeValue.php │ │ │ ├── FieldElement.php │ │ │ ├── CertPolicyId.php │ │ │ ├── EncryptedData.php │ │ │ ├── KeyIdentifier.php │ │ │ ├── KeyPurposeId.php │ │ │ ├── AttributeType.php │ │ │ ├── InvalidityDate.php │ │ │ ├── NetworkAddress.php │ │ │ ├── UniqueIdentifier.php │ │ │ ├── netscape_comment.php │ │ │ ├── OrganizationName.php │ │ │ ├── PolicyQualifierId.php │ │ │ ├── TerminalIdentifier.php │ │ │ ├── HoldInstructionCode.php │ │ │ ├── CertificateSerialNumber.php │ │ │ ├── NumericUserIdentifier.php │ │ │ ├── netscape_ca_policy_url.php │ │ │ ├── Name.php │ │ │ ├── Attributes.php │ │ │ ├── GeneralNames.php │ │ │ ├── GeneralSubtrees.php │ │ │ ├── ExtKeyUsageSyntax.php │ │ │ ├── Validity.php │ │ │ ├── CertificatePolicies.php │ │ │ ├── PostalAddress.php │ │ │ ├── CRLDistributionPoints.php │ │ │ ├── SubjectInfoAccessSyntax.php │ │ │ ├── DssSigValue.php │ │ │ ├── SubjectDirectoryAttributes.php │ │ │ ├── Time.php │ │ │ ├── AuthorityInfoAccessSyntax.php │ │ │ ├── ExtensionAttributes.php │ │ │ ├── EcdsaSigValue.php │ │ │ ├── PKCS9String.php │ │ │ ├── OtherPrimeInfos.php │ │ │ ├── AttributeTypeAndValue.php │ │ │ ├── RSAPublicKey.php │ │ │ ├── OrganizationalUnitNames.php │ │ │ ├── AccessDescription.php │ │ │ ├── PolicyQualifierInfo.php │ │ │ ├── DSAParams.php │ │ │ ├── PublicKeyAndChallenge.php │ │ │ ├── PrivateDomainName.php │ │ │ ├── EncryptedPrivateKeyInfo.php │ │ │ ├── SubjectPublicKeyInfo.php │ │ │ ├── BuiltInDomainDefinedAttributes.php │ │ │ ├── Certificate.php │ │ │ ├── DigestInfo.php │ │ │ ├── CertificateList.php │ │ │ ├── FieldID.php │ │ │ ├── PBES2params.php │ │ │ ├── Curve.php │ │ │ ├── Extensions.php │ │ │ ├── PBEParameter.php │ │ │ ├── PBMAC1params.php │ │ │ ├── Pentanomial.php │ │ │ ├── BuiltInDomainDefinedAttribute.php │ │ │ ├── AlgorithmIdentifier.php │ │ │ ├── CertificationRequest.php │ │ │ ├── Attribute.php │ │ │ ├── RevokedCertificate.php │ │ │ ├── SignedPublicKeyAndChallenge.php │ │ │ ├── DisplayText.php │ │ │ ├── ORAddress.php │ │ │ ├── OtherPrimeInfo.php │ │ │ ├── AnotherName.php │ │ │ ├── PolicyMappings.php │ │ │ ├── KeyUsage.php │ │ │ ├── RC2CBCParameter.php │ │ │ ├── PublicKeyInfo.php │ │ │ ├── UserNotice.php │ │ │ ├── Characteristic_two.php │ │ │ ├── NoticeReference.php │ │ │ ├── ReasonFlags.php │ │ │ ├── BasicConstraints.php │ │ │ ├── DSAPrivateKey.php │ │ │ ├── DHParameter.php │ │ │ ├── PolicyInformation.php │ │ │ ├── netscape_cert_type.php │ │ │ ├── DirectoryString.php │ │ │ ├── CRLReason.php │ │ │ ├── CountryName.php │ │ │ ├── NameConstraints.php │ │ │ ├── DistributionPointName.php │ │ │ ├── AdministrationDomainName.php │ │ │ ├── PrivateKeyInfo.php │ │ │ ├── PrivateKeyUsagePeriod.php │ │ │ ├── GeneralSubtree.php │ │ │ ├── CertificationRequestInfo.php │ │ │ ├── RelativeDistinguishedName.php │ │ │ ├── ExtensionAttribute.php │ │ │ ├── RDNSequence.php │ │ │ ├── PBKDF2params.php │ │ │ ├── Extension.php │ │ │ ├── EDIPartyName.php │ │ │ ├── DistributionPoint.php │ │ │ ├── AuthorityKeyIdentifier.php │ │ │ ├── SpecifiedECDomain.php │ │ │ └── ECParameters.php │ │ │ └── Element.php │ ├── bootstrap.php │ └── System │ │ └── SSH │ │ └── Common │ │ └── Traits │ │ └── ReadBytes.php │ ├── AUTHORS │ ├── BACKERS.md │ └── LICENSE ├── paragonie └── random_compat │ ├── build-phar.sh │ ├── dist │ ├── random_compat.phar.pubkey │ └── random_compat.phar.pubkey.asc │ ├── psalm-autoload.php │ ├── psalm.xml │ └── LICENSE ├── composer ├── autoload_namespaces.php ├── autoload_classmap.php ├── autoload_files.php ├── autoload_psr4.php ├── platform_check.php └── LICENSE └── autoload.php /index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /class/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/mainwp-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/images/mainwp-icon.png -------------------------------------------------------------------------------- /images/mainwp-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/images/mainwp-logo.png -------------------------------------------------------------------------------- /images/mainwp-logo-alt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/images/mainwp-logo-alt.png -------------------------------------------------------------------------------- /languages/mainwp-child-de_DE.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/languages/mainwp-child-de_DE.mo -------------------------------------------------------------------------------- /languages/mainwp-child-es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/languages/mainwp-child-es_ES.mo -------------------------------------------------------------------------------- /languages/mainwp-child-fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/languages/mainwp-child-fr_FR.mo -------------------------------------------------------------------------------- /languages/mainwp-child-pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/languages/mainwp-child-pt_BR.mo -------------------------------------------------------------------------------- /css/1.10.4/images/animated-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/animated-overlay.gif -------------------------------------------------------------------------------- /css/1.10.4/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /css/1.10.4/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.10.4/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /css/1.11.1/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mainwp/mainwp-child/HEAD/css/1.11.1/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | # BEGIN MainWP 2 | 3 | RewriteEngine On 4 | RewriteBase / 5 | RewriteRule ^(.*)$ \./THIS_PLUGIN_DOES_NOT_EXIST [QSA,L] 6 | 7 | # END MainWP -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/openssl.cnf: -------------------------------------------------------------------------------- 1 | # minimalist openssl.cnf file for use with phpseclib 2 | 3 | HOME = . 4 | RANDFILE = $ENV::HOME/.rnd 5 | 6 | [ v3_ca ] 7 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/paragonie/random_compat/build-phar.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | basedir=$( dirname $( readlink -f ${BASH_SOURCE[0]} ) ) 4 | 5 | php -dphar.readonly=0 "$basedir/other/build_phar.php" $* -------------------------------------------------------------------------------- /libs/phpseclib/vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/composer/InstalledVersions.php', 10 | ); 11 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/composer/autoload_files.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/phpseclib/phpseclib/phpseclib/bootstrap.php', 10 | ); 11 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/paragonie/random_compat/psalm-autoload.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/phpseclib/phpseclib/phpseclib'), 10 | 'ParagonIE\\ConstantTime\\' => array($vendorDir . '/paragonie/constant_time_encoding/src'), 11 | ); 12 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistb233.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistb233 extends sect233r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistb409.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistb409 extends sect409r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk163.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistk163 extends sect163k1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk233.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistk233 extends sect233k1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk283.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistk283 extends sect283k1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistk409.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistk409 extends sect409k1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp192.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistp192 extends secp192r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp224.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistp224 extends secp224r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp256.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistp256 extends secp256r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp384.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistp384 extends secp384r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistp521.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistp521 extends secp521r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/nistt571.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class nistt571 extends sect571k1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class prime192v1 extends secp192r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime256v1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | final class prime256v1 extends secp256r1 17 | { 18 | } 19 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/Common/FiniteField.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | */ 12 | 13 | namespace phpseclib3\Math\Common; 14 | 15 | /** 16 | * Finite Fields 17 | * 18 | * @author Jim Wigginton 19 | */ 20 | abstract class FiniteField 21 | { 22 | } 23 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP SIGNATURE----- 2 | Version: GnuPG v2.0.22 (MingW32) 3 | 4 | iQEcBAABAgAGBQJWtW1hAAoJEGuXocKCZATaJf0H+wbZGgskK1dcRTsuVJl9IWip 5 | QwGw/qIKI280SD6/ckoUMxKDCJiFuPR14zmqnS36k7N5UNPnpdTJTS8T11jttSpg 6 | 1LCmgpbEIpgaTah+cELDqFCav99fS+bEiAL5lWDAHBTE/XPjGVCqeehyPYref4IW 7 | NDBIEsvnHPHPLsn6X5jq4+Yj5oUixgxaMPiR+bcO4Sh+RzOVB6i2D0upWfRXBFXA 8 | NNnsg9/zjvoC7ZW73y9uSH+dPJTt/Vgfeiv52/v41XliyzbUyLalf02GNPY+9goV 9 | JHG1ulEEBJOCiUD9cE1PUIJwHA/HqyhHIvV350YoEFiHl8iSwm7SiZu5kPjaq74= 10 | =B6+8 11 | -----END PGP SIGNATURE----- 12 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/BadModeException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * BadModeException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class BadModeException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/NoKeyLoadedException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * NoKeyLoadedException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class NoKeyLoadedException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/BadDecryptionException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * BadDecryptionException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class BadDecryptionException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/FileNotFoundException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * FileNotFoundException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class FileNotFoundException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/IssuerAltName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | /** 17 | * IssuerAltName 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | abstract class IssuerAltName 22 | { 23 | const MAP = GeneralNames::MAP; 24 | } 25 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/HashAlgorithm.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | /** 17 | * HashAglorithm 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | abstract class HashAlgorithm 22 | { 23 | const MAP = AlgorithmIdentifier::MAP; 24 | } 25 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/SubjectAltName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | /** 17 | * SubjectAltName 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | abstract class SubjectAltName 22 | { 23 | const MAP = GeneralNames::MAP; 24 | } 25 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/UnableToConnectException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * UnableToConnectException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class UnableToConnectException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/BadConfigurationException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * BadConfigurationException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class BadConfigurationException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/ConnectionClosedException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * ConnectionClosedException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class ConnectionClosedException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/UnsupportedCurveException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * UnsupportedCurveException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class UnsupportedCurveException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertificateIssuer.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | /** 17 | * CertificateIssuer 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | abstract class CertificateIssuer 22 | { 23 | const MAP = GeneralNames::MAP; 24 | } 25 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/InconsistentSetupException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * InconsistentSetupException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class InconsistentSetupException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/InsufficientSetupException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * InsufficientSetupException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class InsufficientSetupException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/UnsupportedFormatException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * UnsupportedFormatException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class UnsupportedFormatException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/MaskGenAlgorithm.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | /** 17 | * MaskGenAglorithm 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | abstract class MaskGenAlgorithm 22 | { 23 | const MAP = AlgorithmIdentifier::MAP; 24 | } 25 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CPSuri.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CPSuri 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CPSuri 24 | { 25 | const MAP = ['type' => ASN1::TYPE_IA5_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Prime_p.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Prime_p 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Prime_p 24 | { 25 | const MAP = ['type' => ASN1::TYPE_INTEGER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/UnsupportedAlgorithmException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * UnsupportedAlgorithmException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class UnsupportedAlgorithmException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/UnsupportedOperationException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * UnsupportedOperationException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class UnsupportedOperationException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ECPoint.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * ECPoint 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class ECPoint 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OCTET_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Exception/NoSupportedAlgorithmsException.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Exception; 15 | 16 | /** 17 | * NoSupportedAlgorithmsException 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | class NoSupportedAlgorithmsException extends \RuntimeException 22 | { 23 | } 24 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CRLNumber.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CRLNumber 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CRLNumber 24 | { 25 | const MAP = ['type' => ASN1::TYPE_INTEGER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PublicKey.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PublicKey 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PublicKey 24 | { 25 | const MAP = ['type' => ASN1::TYPE_BIT_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Trinomial.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Trinomial 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Trinomial 24 | { 25 | const MAP = ['type' => ASN1::TYPE_INTEGER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PrivateKey.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PrivateKey 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PrivateKey 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OCTET_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/BaseDistance.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * BaseDistance 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class BaseDistance 24 | { 25 | const MAP = ['type' => ASN1::TYPE_INTEGER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DSAPublicKey.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DSAPublicKey 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DSAPublicKey 24 | { 25 | const MAP = ['type' => ASN1::TYPE_INTEGER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AttributeValue.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AttributeValue 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AttributeValue 24 | { 25 | const MAP = ['type' => ASN1::TYPE_ANY]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/FieldElement.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * FieldElement 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class FieldElement 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OCTET_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertPolicyId.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CertPolicyId 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CertPolicyId 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/EncryptedData.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * EncryptedData 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class EncryptedData 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OCTET_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/KeyIdentifier.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * KeyIdentifier 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class KeyIdentifier 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OCTET_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/KeyPurposeId.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * KeyPurposeId 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class KeyPurposeId 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AttributeType.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AttributeType 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AttributeType 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/InvalidityDate.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * InvalidityDate 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class InvalidityDate 24 | { 25 | const MAP = ['type' => ASN1::TYPE_GENERALIZED_TIME]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/NetworkAddress.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * NetworkAddress 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class NetworkAddress 24 | { 25 | const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/UniqueIdentifier.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * UniqueIdentifier 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class UniqueIdentifier 24 | { 25 | const MAP = ['type' => ASN1::TYPE_BIT_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/netscape_comment.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * netscape_comment 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class netscape_comment 24 | { 25 | const MAP = ['type' => ASN1::TYPE_IA5_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/OrganizationName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * OrganizationName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class OrganizationName 24 | { 25 | const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PolicyQualifierId.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PolicyQualifierId 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PolicyQualifierId 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/Raw.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Formats\Signature; 15 | 16 | use phpseclib3\Crypt\Common\Formats\Signature\Raw as Progenitor; 17 | 18 | /** 19 | * Raw DSA Signature Handler 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Raw extends Progenitor 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/TerminalIdentifier.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * TerminalIdentifier 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class TerminalIdentifier 24 | { 25 | const MAP = ['type' => ASN1::TYPE_PRINTABLE_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/BlockCipher.php: -------------------------------------------------------------------------------- 1 | 9 | * @author Hans-Juergen Petrich 10 | * @copyright 2007 Jim Wigginton 11 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 12 | * @link http://phpseclib.sourceforge.net 13 | */ 14 | 15 | namespace phpseclib3\Crypt\Common; 16 | 17 | /** 18 | * Base Class for all block cipher classes 19 | * 20 | * @author Jim Wigginton 21 | */ 22 | abstract class BlockCipher extends SymmetricKey 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/Raw.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Crypt\DSA\Formats\Signature; 15 | 16 | use phpseclib3\Crypt\Common\Formats\Signature\Raw as Progenitor; 17 | 18 | /** 19 | * Raw DSA Signature Handler 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Raw extends Progenitor 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/HoldInstructionCode.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * HoldInstructionCode 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class HoldInstructionCode 24 | { 25 | const MAP = ['type' => ASN1::TYPE_OBJECT_IDENTIFIER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertificateSerialNumber.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CertificateSerialNumber 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CertificateSerialNumber 24 | { 25 | const MAP = ['type' => ASN1::TYPE_INTEGER]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/NumericUserIdentifier.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * NumericUserIdentifier 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class NumericUserIdentifier 24 | { 25 | const MAP = ['type' => ASN1::TYPE_NUMERIC_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/netscape_ca_policy_url.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * netscape_ca_policy_url 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class netscape_ca_policy_url 24 | { 25 | const MAP = ['type' => ASN1::TYPE_IA5_STRING]; 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/paragonie/random_compat/psalm.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Name.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Name 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Name 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'rdnSequence' => RDNSequence::MAP 29 | ] 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/OpenSSL.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\PHP; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\OpenSSL as Progenitor; 17 | 18 | /** 19 | * OpenSSL Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class OpenSSL extends Progenitor 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/OpenSSL.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\BCMath; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\OpenSSL as Progenitor; 17 | 18 | /** 19 | * OpenSSL Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class OpenSSL extends Progenitor 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/BACKERS.md: -------------------------------------------------------------------------------- 1 | # Backers 2 | 3 | phpseclib ongoing development is made possible by [Tidelift](https://tidelift.com/subscription/pkg/packagist-phpseclib-phpseclib?utm_source=packagist-phpseclib-phpseclib&utm_medium=referral&utm_campaign=readme) and by contributions by users like you. Thank you. 4 | 5 | ## Backers 6 | 7 | - Allan Simon 8 | - [ChargeOver](https://chargeover.com/) 9 | - Raghu Veer Dendukuri 10 | - Zane Hooper 11 | - [Setasign](https://www.setasign.com/) 12 | - [Charles Severance](https://github.com/csev) 13 | - [Rachel Fish](https://github.com/itsrachelfish) 14 | - Tharyrok 15 | - [cjhaas](https://github.com/cjhaas) 16 | - [istiak-tridip](https://github.com/istiak-tridip) 17 | - [Anna Filina](https://github.com/afilina) -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/PublicKey.php: -------------------------------------------------------------------------------- 1 | 7 | * @copyright 2009 Jim Wigginton 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 | * @link http://phpseclib.sourceforge.net 10 | */ 11 | 12 | namespace phpseclib3\Crypt\Common; 13 | 14 | /** 15 | * PublicKey interface 16 | * 17 | * @author Jim Wigginton 18 | */ 19 | interface PublicKey 20 | { 21 | public function verify($message, $signature); 22 | //public function encrypt($plaintext); 23 | public function toString($type, array $options = []); 24 | public function getFingerprint($algorithm); 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Attributes.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Attributes 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Attributes 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SET, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => Attribute::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/DefaultEngine.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\PHP; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\PHP\Reductions\EvalBarrett; 17 | 18 | /** 19 | * PHP Default Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DefaultEngine extends EvalBarrett 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/DefaultEngine.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\BCMath; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\BCMath\Reductions\Barrett; 17 | 18 | /** 19 | * PHP Default Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DefaultEngine extends Barrett 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/GeneralNames.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * GeneralNames 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class GeneralNames 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => GeneralName::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/GeneralSubtrees.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * GeneralSubtrees 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class GeneralSubtrees 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => GeneralSubtree::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ExtKeyUsageSyntax.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * ExtKeyUsageSyntax 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class ExtKeyUsageSyntax 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => KeyPurposeId::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Validity.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Validity 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Validity 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'notBefore' => Time::MAP, 29 | 'notAfter' => Time::MAP 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertificatePolicies.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CertificatePolicies 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CertificatePolicies 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => PolicyInformation::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PostalAddress.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PostalAddress 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PostalAddress 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'optional' => true, 28 | 'min' => 1, 29 | 'max' => -1, 30 | 'children' => DirectoryString::MAP 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CRLDistributionPoints.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CRLDistributionPoints 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CRLDistributionPoints 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => DistributionPoint::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/SubjectInfoAccessSyntax.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * SubjectInfoAccessSyntax 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class SubjectInfoAccessSyntax 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => AccessDescription::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DssSigValue.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DssSigValue 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DssSigValue 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'r' => ['type' => ASN1::TYPE_INTEGER], 29 | 's' => ['type' => ASN1::TYPE_INTEGER] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/SubjectDirectoryAttributes.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * SubjectDirectoryAttributes 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class SubjectDirectoryAttributes 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => Attribute::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Time.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Time 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Time 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'utcTime' => ['type' => ASN1::TYPE_UTC_TIME], 29 | 'generalTime' => ['type' => ASN1::TYPE_GENERALIZED_TIME] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AuthorityInfoAccessSyntax.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AuthorityInfoAccessSyntax 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AuthorityInfoAccessSyntax 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => AccessDescription::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ExtensionAttributes.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * ExtensionAttributes 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class ExtensionAttributes 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SET, 27 | 'min' => 1, 28 | 'max' => 256, // ub-extension-attributes 29 | 'children' => ExtensionAttribute::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/EcdsaSigValue.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * EcdsaSigValue 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class EcdsaSigValue 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'r' => ['type' => ASN1::TYPE_INTEGER], 29 | 's' => ['type' => ASN1::TYPE_INTEGER] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PKCS9String.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PKCS9String 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PKCS9String 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'ia5String' => ['type' => ASN1::TYPE_IA5_STRING], 29 | 'directoryString' => DirectoryString::MAP 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/OtherPrimeInfos.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * OtherPrimeInfos 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class OtherPrimeInfos 24 | { 25 | // version must be multi if otherPrimeInfos present 26 | const MAP = [ 27 | 'type' => ASN1::TYPE_SEQUENCE, 28 | 'min' => 1, 29 | 'max' => -1, 30 | 'children' => OtherPrimeInfo::MAP 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AttributeTypeAndValue.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AttributeTypeAndValue 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AttributeTypeAndValue 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'type' => AttributeType::MAP, 29 | 'value' => AttributeValue::MAP 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/RSAPublicKey.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * RSAPublicKey 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class RSAPublicKey 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'modulus' => ['type' => ASN1::TYPE_INTEGER], 29 | 'publicExponent' => ['type' => ASN1::TYPE_INTEGER] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/OrganizationalUnitNames.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * OrganizationalUnitNames 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class OrganizationalUnitNames 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => 4, // ub-organizational-units 29 | 'children' => ['type' => ASN1::TYPE_PRINTABLE_STRING] 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AccessDescription.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AccessDescription 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AccessDescription 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'accessMethod' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 29 | 'accessLocation' => GeneralName::MAP 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PolicyQualifierInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PolicyQualifierInfo 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PolicyQualifierInfo 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'policyQualifierId' => PolicyQualifierId::MAP, 29 | 'qualifier' => ['type' => ASN1::TYPE_ANY] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/bootstrap.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DSAParams 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DSAParams 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'p' => ['type' => ASN1::TYPE_INTEGER], 29 | 'q' => ['type' => ASN1::TYPE_INTEGER], 30 | 'g' => ['type' => ASN1::TYPE_INTEGER] 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PublicKeyAndChallenge.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PublicKeyAndChallenge 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PublicKeyAndChallenge 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'spki' => SubjectPublicKeyInfo::MAP, 29 | 'challenge' => ['type' => ASN1::TYPE_IA5_STRING] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PrivateDomainName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PrivateDomainName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PrivateDomainName 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'numeric' => ['type' => ASN1::TYPE_NUMERIC_STRING], 29 | 'printable' => ['type' => ASN1::TYPE_PRINTABLE_STRING] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/autoload.php: -------------------------------------------------------------------------------- 1 | 7 | * @copyright 2009 Jim Wigginton 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 | * @link http://phpseclib.sourceforge.net 10 | */ 11 | 12 | namespace phpseclib3\Crypt\Common; 13 | 14 | /** 15 | * PrivateKey interface 16 | * 17 | * @author Jim Wigginton 18 | */ 19 | interface PrivateKey 20 | { 21 | public function sign($message); 22 | //public function decrypt($ciphertext); 23 | public function getPublicKey(); 24 | public function toString($type, array $options = []); 25 | 26 | /** 27 | * @param string|false $password 28 | * @return mixed 29 | */ 30 | public function withPassword($password = false); 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/EncryptedPrivateKeyInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * EncryptedPrivateKeyInfo 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class EncryptedPrivateKeyInfo 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'encryptionAlgorithm' => AlgorithmIdentifier::MAP, 29 | 'encryptedData' => EncryptedData::MAP 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/SubjectPublicKeyInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * SubjectPublicKeyInfo 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class SubjectPublicKeyInfo 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'algorithm' => AlgorithmIdentifier::MAP, 29 | 'subjectPublicKey' => ['type' => ASN1::TYPE_BIT_STRING] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/BuiltInDomainDefinedAttributes.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * BuiltInDomainDefinedAttributes 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class BuiltInDomainDefinedAttributes 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => 4, // ub-domain-defined-attributes 29 | 'children' => BuiltInDomainDefinedAttribute::MAP 30 | ]; 31 | } 32 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Certificate.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Certificate 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Certificate 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'tbsCertificate' => TBSCertificate::MAP, 29 | 'signatureAlgorithm' => AlgorithmIdentifier::MAP, 30 | 'signature' => ['type' => ASN1::TYPE_BIT_STRING] 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DigestInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DigestInfo 20 | * 21 | * from https://tools.ietf.org/html/rfc2898#appendix-A.3 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class DigestInfo 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'digestAlgorithm' => AlgorithmIdentifier::MAP, 31 | 'digest' => ['type' => ASN1::TYPE_OCTET_STRING] 32 | ] 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertificateList.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CertificateList 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CertificateList 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'tbsCertList' => TBSCertList::MAP, 29 | 'signatureAlgorithm' => AlgorithmIdentifier::MAP, 30 | 'signature' => ['type' => ASN1::TYPE_BIT_STRING] 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/FieldID.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * FieldID 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class FieldID 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'fieldType' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 29 | 'parameters' => [ 30 | 'type' => ASN1::TYPE_ANY, 31 | 'optional' => true 32 | ] 33 | ] 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PBES2params.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PBES2params 20 | * 21 | * from https://tools.ietf.org/html/rfc2898#appendix-A.3 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class PBES2params 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'keyDerivationFunc' => AlgorithmIdentifier::MAP, 31 | 'encryptionScheme' => AlgorithmIdentifier::MAP 32 | ] 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Curve.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Curve 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Curve 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'a' => FieldElement::MAP, 29 | 'b' => FieldElement::MAP, 30 | 'seed' => [ 31 | 'type' => ASN1::TYPE_BIT_STRING, 32 | 'optional' => true 33 | ] 34 | ] 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Extensions.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Extensions 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Extensions 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | // technically, it's MAX, but we'll assume anything < 0 is MAX 29 | 'max' => -1, 30 | // if 'children' isn't an array then 'min' and 'max' must be defined 31 | 'children' => Extension::MAP 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PBEParameter.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PBEParameter 20 | * 21 | * from https://tools.ietf.org/html/rfc2898#appendix-A.3 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class PBEParameter 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'salt' => ['type' => ASN1::TYPE_OCTET_STRING], 31 | 'iterationCount' => ['type' => ASN1::TYPE_INTEGER] 32 | ] 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PBMAC1params.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PBMAC1params 20 | * 21 | * from https://tools.ietf.org/html/rfc2898#appendix-A.3 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class PBMAC1params 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'keyDerivationFunc' => AlgorithmIdentifier::MAP, 31 | 'messageAuthScheme' => AlgorithmIdentifier::MAP 32 | ] 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Pentanomial.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Pentanomial 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Pentanomial 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'k1' => ['type' => ASN1::TYPE_INTEGER], // k1 > 0 29 | 'k2' => ['type' => ASN1::TYPE_INTEGER], // k2 > k1 30 | 'k3' => ['type' => ASN1::TYPE_INTEGER], // k3 > h2 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/BuiltInDomainDefinedAttribute.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * BuiltInDomainDefinedAttribute 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class BuiltInDomainDefinedAttribute 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'type' => ['type' => ASN1::TYPE_PRINTABLE_STRING], 29 | 'value' => ['type' => ASN1::TYPE_PRINTABLE_STRING] 30 | ] 31 | ]; 32 | } 33 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AlgorithmIdentifier.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AlgorithmIdentifier 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AlgorithmIdentifier 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'algorithm' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 29 | 'parameters' => [ 30 | 'type' => ASN1::TYPE_ANY, 31 | 'optional' => true 32 | ] 33 | ] 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertificationRequest.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CertificationRequest 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CertificationRequest 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'certificationRequestInfo' => CertificationRequestInfo::MAP, 29 | 'signatureAlgorithm' => AlgorithmIdentifier::MAP, 30 | 'signature' => ['type' => ASN1::TYPE_BIT_STRING] 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Attribute.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Attribute 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Attribute 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'type' => AttributeType::MAP, 29 | 'value' => [ 30 | 'type' => ASN1::TYPE_SET, 31 | 'min' => 1, 32 | 'max' => -1, 33 | 'children' => AttributeValue::MAP 34 | ] 35 | ] 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php: -------------------------------------------------------------------------------- 1 | 7 | * @copyright 2015 Jim Wigginton 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 | * @link http://phpseclib.sourceforge.net 10 | */ 11 | 12 | namespace phpseclib3\Crypt\EC; 13 | 14 | use phpseclib3\Crypt\EC; 15 | 16 | /** 17 | * EC Parameters 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | final class Parameters extends EC 22 | { 23 | /** 24 | * Returns the parameters 25 | * 26 | * @param string $type 27 | * @param array $options optional 28 | * @return string 29 | */ 30 | public function toString($type = 'PKCS1', array $options = []) 31 | { 32 | $type = self::validatePlugin('Keys', 'PKCS1', 'saveParameters'); 33 | 34 | return $type::saveParameters($this->curve, $options); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/RevokedCertificate.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * RevokedCertificate 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class RevokedCertificate 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'userCertificate' => CertificateSerialNumber::MAP, 29 | 'revocationDate' => Time::MAP, 30 | 'crlEntryExtensions' => [ 31 | 'optional' => true 32 | ] + Extensions::MAP 33 | ] 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/SignedPublicKeyAndChallenge.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * SignedPublicKeyAndChallenge 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class SignedPublicKeyAndChallenge 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'publicKeyAndChallenge' => PublicKeyAndChallenge::MAP, 29 | 'signatureAlgorithm' => AlgorithmIdentifier::MAP, 30 | 'signature' => ['type' => ASN1::TYPE_BIT_STRING] 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DisplayText.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DisplayText 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DisplayText 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'ia5String' => ['type' => ASN1::TYPE_IA5_STRING], 29 | 'visibleString' => ['type' => ASN1::TYPE_VISIBLE_STRING], 30 | 'bmpString' => ['type' => ASN1::TYPE_BMP_STRING], 31 | 'utf8String' => ['type' => ASN1::TYPE_UTF8_STRING] 32 | ] 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Parameters.php: -------------------------------------------------------------------------------- 1 | 7 | * @copyright 2015 Jim Wigginton 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 | * @link http://phpseclib.sourceforge.net 10 | */ 11 | 12 | namespace phpseclib3\Crypt\DH; 13 | 14 | use phpseclib3\Crypt\DH; 15 | 16 | /** 17 | * DH Parameters 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | final class Parameters extends DH 22 | { 23 | /** 24 | * Returns the parameters 25 | * 26 | * @param string $type 27 | * @param array $options optional 28 | * @return string 29 | */ 30 | public function toString($type = 'PKCS1', array $options = []) 31 | { 32 | $type = self::validatePlugin('Keys', 'PKCS1', 'saveParameters'); 33 | 34 | return $type::saveParameters($this->prime, $this->base, $options); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Parameters.php: -------------------------------------------------------------------------------- 1 | 7 | * @copyright 2015 Jim Wigginton 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 | * @link http://phpseclib.sourceforge.net 10 | */ 11 | 12 | namespace phpseclib3\Crypt\DSA; 13 | 14 | use phpseclib3\Crypt\DSA; 15 | 16 | /** 17 | * DSA Parameters 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | final class Parameters extends DSA 22 | { 23 | /** 24 | * Returns the parameters 25 | * 26 | * @param string $type 27 | * @param array $options optional 28 | * @return string 29 | */ 30 | public function toString($type = 'PKCS1', array $options = []) 31 | { 32 | $type = self::validatePlugin('Keys', 'PKCS1', 'saveParameters'); 33 | 34 | return $type::saveParameters($this->p, $this->q, $this->g, $options); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ORAddress.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * ORAddress 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class ORAddress 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'built-in-standard-attributes' => BuiltInStandardAttributes::MAP, 29 | 'built-in-domain-defined-attributes' => ['optional' => true] + BuiltInDomainDefinedAttributes::MAP, 30 | 'extension-attributes' => ['optional' => true] + ExtensionAttributes::MAP 31 | ] 32 | ]; 33 | } 34 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/OtherPrimeInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * OtherPrimeInfo 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class OtherPrimeInfo 24 | { 25 | // version must be multi if otherPrimeInfos present 26 | const MAP = [ 27 | 'type' => ASN1::TYPE_SEQUENCE, 28 | 'children' => [ 29 | 'prime' => ['type' => ASN1::TYPE_INTEGER], // ri 30 | 'exponent' => ['type' => ASN1::TYPE_INTEGER], // di 31 | 'coefficient' => ['type' => ASN1::TYPE_INTEGER] // ti 32 | ] 33 | ]; 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AnotherName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AnotherName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AnotherName 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'type-id' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 29 | 'value' => [ 30 | 'type' => ASN1::TYPE_ANY, 31 | 'constant' => 0, 32 | 'optional' => true, 33 | 'explicit' => true 34 | ] 35 | ] 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PolicyMappings.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PolicyMappings 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PolicyMappings 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'min' => 1, 28 | 'max' => -1, 29 | 'children' => [ 30 | 'type' => ASN1::TYPE_SEQUENCE, 31 | 'children' => [ 32 | 'issuerDomainPolicy' => CertPolicyId::MAP, 33 | 'subjectDomainPolicy' => CertPolicyId::MAP 34 | ] 35 | ] 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/KeyUsage.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * KeyUsage 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class KeyUsage 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_BIT_STRING, 27 | 'mapping' => [ 28 | 'digitalSignature', 29 | 'nonRepudiation', 30 | 'keyEncipherment', 31 | 'dataEncipherment', 32 | 'keyAgreement', 33 | 'keyCertSign', 34 | 'cRLSign', 35 | 'encipherOnly', 36 | 'decipherOnly' 37 | ] 38 | ]; 39 | } 40 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/RC2CBCParameter.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * RC2CBCParameter 20 | * 21 | * from https://tools.ietf.org/html/rfc2898#appendix-A.3 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class RC2CBCParameter 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'rc2ParametersVersion' => [ 31 | 'type' => ASN1::TYPE_INTEGER, 32 | 'optional' => true 33 | ], 34 | 'iv' => ['type' => ASN1::TYPE_OCTET_STRING] 35 | ] 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Common/Traits/ReadBytes.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\System\SSH\Common\Traits; 15 | 16 | /** 17 | * ReadBytes trait 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | trait ReadBytes 22 | { 23 | /** 24 | * Read data 25 | * 26 | * @param int $length 27 | * @throws \RuntimeException on connection errors 28 | */ 29 | public function readBytes($length) 30 | { 31 | $temp = fread($this->fsock, $length); 32 | if (strlen($temp) != $length) { 33 | throw new \RuntimeException("Expected $length bytes; got " . strlen($temp)); 34 | } 35 | return $temp; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PublicKeyInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PublicKeyInfo 20 | * 21 | * this format is not formally defined anywhere but is none-the-less the form you 22 | * get when you do "openssl rsa -in private.pem -outform PEM -pubout" 23 | * 24 | * @author Jim Wigginton 25 | */ 26 | abstract class PublicKeyInfo 27 | { 28 | const MAP = [ 29 | 'type' => ASN1::TYPE_SEQUENCE, 30 | 'children' => [ 31 | 'publicKeyAlgorithm' => AlgorithmIdentifier::MAP, 32 | 'publicKey' => ['type' => ASN1::TYPE_BIT_STRING] 33 | ] 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/UserNotice.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * UserNotice 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class UserNotice 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'noticeRef' => [ 29 | 'optional' => true, 30 | 'implicit' => true 31 | ] + NoticeReference::MAP, 32 | 'explicitText' => [ 33 | 'optional' => true, 34 | 'implicit' => true 35 | ] + DisplayText::MAP 36 | ] 37 | ]; 38 | } 39 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Characteristic_two.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Characteristic_two 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Characteristic_two 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'm' => ['type' => ASN1::TYPE_INTEGER], // field size 2**m 29 | 'basis' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 30 | 'parameters' => [ 31 | 'type' => ASN1::TYPE_ANY, 32 | 'optional' => true 33 | ] 34 | ] 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/NoticeReference.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * NoticeReference 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class NoticeReference 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'organization' => DisplayText::MAP, 29 | 'noticeNumbers' => [ 30 | 'type' => ASN1::TYPE_SEQUENCE, 31 | 'min' => 1, 32 | 'max' => 200, 33 | 'children' => ['type' => ASN1::TYPE_INTEGER] 34 | ] 35 | ] 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ReasonFlags.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * ReasonFlags 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class ReasonFlags 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_BIT_STRING, 27 | 'mapping' => [ 28 | 'unused', 29 | 'keyCompromise', 30 | 'cACompromise', 31 | 'affiliationChanged', 32 | 'superseded', 33 | 'cessationOfOperation', 34 | 'certificateHold', 35 | 'privilegeWithdrawn', 36 | 'aACompromise' 37 | ] 38 | ]; 39 | } 40 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/composer/platform_check.php: -------------------------------------------------------------------------------- 1 | = 70400)) { 8 | $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; 9 | } 10 | 11 | if ($issues) { 12 | if (!headers_sent()) { 13 | header('HTTP/1.1 500 Internal Server Error'); 14 | } 15 | if (!ini_get('display_errors')) { 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { 17 | fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); 18 | } elseif (!headers_sent()) { 19 | echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; 20 | } 21 | } 22 | trigger_error( 23 | 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 | E_USER_ERROR 25 | ); 26 | } 27 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect113r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect113r1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(113, 9, 0); 24 | $this->setCoefficients( 25 | '003088250CA6E7C7FE649CE85820F7', 26 | '00E8BEE4D3E2260744188BE0E9C723' 27 | ); 28 | $this->setBasePoint( 29 | '009D73616F35F4AB1407D73562C10F', 30 | '00A52830277958EE84D1315ED31886' 31 | ); 32 | $this->setOrder(new BigInteger('0100000000000000D9CCEC8A39E56F', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect113r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect113r2 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(113, 9, 0); 24 | $this->setCoefficients( 25 | '00689918DBEC7E5A0DD6DFC0AA55C7', 26 | '0095E9A9EC9B297BD4BF36E059184F' 27 | ); 28 | $this->setBasePoint( 29 | '01A57A6A7B26CA5EF52FCDB8164797', 30 | '00B3ADC94ED1FE674C06E695BABA1D' 31 | ); 32 | $this->setOrder(new BigInteger('010000000000000108789B2496AF93', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/BasicConstraints.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * BasicConstraints 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class BasicConstraints 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'cA' => [ 29 | 'type' => ASN1::TYPE_BOOLEAN, 30 | 'optional' => true, 31 | 'default' => false 32 | ], 33 | 'pathLenConstraint' => [ 34 | 'type' => ASN1::TYPE_INTEGER, 35 | 'optional' => true 36 | ] 37 | ] 38 | ]; 39 | } 40 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DSAPrivateKey.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DSAPrivateKey 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DSAPrivateKey 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'version' => ['type' => ASN1::TYPE_INTEGER], 29 | 'p' => ['type' => ASN1::TYPE_INTEGER], 30 | 'q' => ['type' => ASN1::TYPE_INTEGER], 31 | 'g' => ['type' => ASN1::TYPE_INTEGER], 32 | 'y' => ['type' => ASN1::TYPE_INTEGER], 33 | 'x' => ['type' => ASN1::TYPE_INTEGER] 34 | ] 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DHParameter.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2016 Jim Wigginton 12 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 13 | * @link http://phpseclib.sourceforge.net 14 | */ 15 | 16 | namespace phpseclib3\File\ASN1\Maps; 17 | 18 | use phpseclib3\File\ASN1; 19 | 20 | /** 21 | * DHParameter 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class DHParameter 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'prime' => ['type' => ASN1::TYPE_INTEGER], 31 | 'base' => ['type' => ASN1::TYPE_INTEGER], 32 | 'privateValueLength' => [ 33 | 'type' => ASN1::TYPE_INTEGER, 34 | 'optional' => true 35 | ] 36 | ] 37 | ]; 38 | } 39 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PolicyInformation.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PolicyInformation 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PolicyInformation 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'policyIdentifier' => CertPolicyId::MAP, 29 | 'policyQualifiers' => [ 30 | 'type' => ASN1::TYPE_SEQUENCE, 31 | 'min' => 0, 32 | 'max' => -1, 33 | 'optional' => true, 34 | 'children' => PolicyQualifierInfo::MAP 35 | ] 36 | ] 37 | ]; 38 | } 39 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect131r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect131r1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(131, 8, 3, 2, 0); 24 | $this->setCoefficients( 25 | '07A11B09A76B562144418FF3FF8C2570B8', 26 | '0217C05610884B63B9C6C7291678F9D341' 27 | ); 28 | $this->setBasePoint( 29 | '0081BAF91FDF9833C40F9C181343638399', 30 | '078C6E7EA38C001F73C8134B1B4EF9E150' 31 | ); 32 | $this->setOrder(new BigInteger('0400000000000000023123953A9464B54D', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect131r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect131r2 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(131, 8, 3, 2, 0); 24 | $this->setCoefficients( 25 | '03E5A88919D7CAFCBF415F07C2176573B2', 26 | '04B8266A46C55657AC734CE38F018F2192' 27 | ); 28 | $this->setBasePoint( 29 | '0356DCD8F2F95031AD652D23951BB366A8', 30 | '0648F06D867940A5366D9E265DE9EB240F' 31 | ); 32 | $this->setOrder(new BigInteger('0400000000000000016954A233049BA98F', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Element.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2012 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1; 15 | 16 | /** 17 | * ASN.1 Raw Element 18 | * 19 | * An ASN.1 ANY mapping will return an ASN1\Element object. Use of this object 20 | * will also bypass the normal encoding rules in ASN1::encodeDER() 21 | * 22 | * @author Jim Wigginton 23 | */ 24 | class Element 25 | { 26 | /** 27 | * Raw element value 28 | * 29 | * @var string 30 | */ 31 | public $element; 32 | 33 | /** 34 | * Constructor 35 | * 36 | * @param string $encoded 37 | * @return \phpseclib3\File\ASN1\Element 38 | */ 39 | public function __construct($encoded) 40 | { 41 | $this->element = $encoded; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/netscape_cert_type.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * netscape_cert_type 20 | * 21 | * mapping is from 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class netscape_cert_type 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_BIT_STRING, 29 | 'mapping' => [ 30 | 'SSLClient', 31 | 'SSLServer', 32 | 'Email', 33 | 'ObjectSigning', 34 | 'Reserved', 35 | 'SSLCA', 36 | 'EmailCA', 37 | 'ObjectSigningCA' 38 | ] 39 | ]; 40 | } 41 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DirectoryString.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DirectoryString 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DirectoryString 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'teletexString' => ['type' => ASN1::TYPE_TELETEX_STRING], 29 | 'printableString' => ['type' => ASN1::TYPE_PRINTABLE_STRING], 30 | 'universalString' => ['type' => ASN1::TYPE_UNIVERSAL_STRING], 31 | 'utf8String' => ['type' => ASN1::TYPE_UTF8_STRING], 32 | 'bmpString' => ['type' => ASN1::TYPE_BMP_STRING] 33 | ] 34 | ]; 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CRLReason.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CRLReason 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CRLReason 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_ENUMERATED, 27 | 'mapping' => [ 28 | 'unspecified', 29 | 'keyCompromise', 30 | 'cACompromise', 31 | 'affiliationChanged', 32 | 'superseded', 33 | 'cessationOfOperation', 34 | 'certificateHold', 35 | // Value 7 is not used. 36 | 8 => 'removeFromCRL', 37 | 'privilegeWithdrawn', 38 | 'aACompromise' 39 | ] 40 | ]; 41 | } 42 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163k1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect163k1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(163, 7, 6, 3, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000001', 26 | '000000000000000000000000000000000000000001' 27 | ); 28 | $this->setBasePoint( 29 | '02FE13C0537BBC11ACAA07D793DE4E6D5E5C94EEE8', 30 | '0289070FB05D38FF58321F2E800536D538CCDAA3D9' 31 | ); 32 | $this->setOrder(new BigInteger('04000000000000000000020108A2E0CC0D99F8A5EF', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect163r1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(163, 7, 6, 3, 0); 24 | $this->setCoefficients( 25 | '07B6882CAAEFA84F9554FF8428BD88E246D2782AE2', 26 | '0713612DCDDCB40AAB946BDA29CA91F73AF958AFD9' 27 | ); 28 | $this->setBasePoint( 29 | '0369979697AB43897789566789567F787A7876A654', 30 | '00435EDB42EFAFB2989D51FEFCE3C80988F41FF883' 31 | ); 32 | $this->setOrder(new BigInteger('03FFFFFFFFFFFFFFFFFFFF48AAB689C29CA710279B', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect163r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect163r2 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(163, 7, 6, 3, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000001', 26 | '020A601907B8C953CA1481EB10512F78744A3205FD' 27 | ); 28 | $this->setBasePoint( 29 | '03F0EBA16286A2D57EA0991168D4994637E8343E36', 30 | '00D51FBC6C71A0094FA2CDD545B11C5C0C797324F1' 31 | ); 32 | $this->setOrder(new BigInteger('040000000000000000000292FE77E70C12A4234C33', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CountryName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CountryName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CountryName 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | // if class isn't present it's assumed to be \phpseclib3\File\ASN1::CLASS_UNIVERSAL or 28 | // (if constant is present) \phpseclib3\File\ASN1::CLASS_CONTEXT_SPECIFIC 29 | 'class' => ASN1::CLASS_APPLICATION, 30 | 'cast' => 1, 31 | 'children' => [ 32 | 'x121-dcc-code' => ['type' => ASN1::TYPE_NUMERIC_STRING], 33 | 'iso-3166-alpha2-code' => ['type' => ASN1::TYPE_PRINTABLE_STRING] 34 | ] 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/NameConstraints.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * NameConstraints 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class NameConstraints 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'permittedSubtrees' => [ 29 | 'constant' => 0, 30 | 'optional' => true, 31 | 'implicit' => true 32 | ] + GeneralSubtrees::MAP, 33 | 'excludedSubtrees' => [ 34 | 'constant' => 1, 35 | 'optional' => true, 36 | 'implicit' => true 37 | ] + GeneralSubtrees::MAP 38 | ] 39 | ]; 40 | } 41 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/GMP/DefaultEngine.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\GMP; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\GMP; 17 | 18 | /** 19 | * GMP Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DefaultEngine extends GMP 24 | { 25 | /** 26 | * Performs modular exponentiation. 27 | * 28 | * @param GMP $x 29 | * @param GMP $e 30 | * @param GMP $n 31 | * @return GMP 32 | */ 33 | protected static function powModHelper(GMP $x, GMP $e, GMP $n) 34 | { 35 | $temp = new GMP(); 36 | $temp->value = gmp_powm($x->value, $e->value, $n->value); 37 | 38 | return $x->normalize($temp); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect193r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect193r1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(193, 15, 0); 24 | $this->setCoefficients( 25 | '0017858FEB7A98975169E171F77B4087DE098AC8A911DF7B01', 26 | '00FDFB49BFE6C3A89FACADAA7A1E5BBC7CC1C2E5D831478814' 27 | ); 28 | $this->setBasePoint( 29 | '01F481BC5F0FF84A74AD6CDF6FDEF4BF6179625372D8C0C5E1', 30 | '0025E399F2903712CCF3EA9E3A1AD17FB0B3201B6AF7CE1B05' 31 | ); 32 | $this->setOrder(new BigInteger('01000000000000000000000000C7F34A778F443ACC920EBA49', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect193r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect193r2 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(193, 15, 0); 24 | $this->setCoefficients( 25 | '0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B', 26 | '00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE' 27 | ); 28 | $this->setBasePoint( 29 | '00D9B67D192E0367C803F39E1A7E82CA14A651350AAE617E8F', 30 | '01CE94335607C304AC29E7DEFBD9CA01F596F927224CDECF6C' 31 | ); 32 | $this->setOrder(new BigInteger('010000000000000000000000015AAB561B005413CCD4EE99D5', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DistributionPointName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DistributionPointName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DistributionPointName 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | 'children' => [ 28 | 'fullName' => [ 29 | 'constant' => 0, 30 | 'optional' => true, 31 | 'implicit' => true 32 | ] + GeneralNames::MAP, 33 | 'nameRelativeToCRLIssuer' => [ 34 | 'constant' => 1, 35 | 'optional' => true, 36 | 'implicit' => true 37 | ] + RelativeDistinguishedName::MAP 38 | ] 39 | ]; 40 | } 41 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/composer/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Copyright (c) Nils Adermann, Jordi Boggiano 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is furnished 9 | to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in all 12 | copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. 21 | 22 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp112r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp112r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('DB7C2ABF62E35E668076BEAD208B', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('DB7C2ABF62E35E668076BEAD2088', 16), 26 | new BigInteger('659EF8BA043916EEDE8911702B22', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('09487239995A5EE76B55F9C2F098', 16), 30 | new BigInteger('A89CE5AF8724C0A23E0E0FF77500', 16) 31 | ); 32 | $this->setOrder(new BigInteger('DB7C2ABF62E35E7628DFAC6561C5', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AdministrationDomainName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AdministrationDomainName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AdministrationDomainName 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_CHOICE, 27 | // if class isn't present it's assumed to be \phpseclib3\File\ASN1::CLASS_UNIVERSAL or 28 | // (if constant is present) \phpseclib3\File\ASN1::CLASS_CONTEXT_SPECIFIC 29 | 'class' => ASN1::CLASS_APPLICATION, 30 | 'cast' => 2, 31 | 'children' => [ 32 | 'numeric' => ['type' => ASN1::TYPE_NUMERIC_STRING], 33 | 'printable' => ['type' => ASN1::TYPE_PRINTABLE_STRING] 34 | ] 35 | ]; 36 | } 37 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2019 TerraFrost and other contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PrivateKeyInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PrivateKeyInfo 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PrivateKeyInfo 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'version' => [ 29 | 'type' => ASN1::TYPE_INTEGER, 30 | 'mapping' => ['v1'] 31 | ], 32 | 'privateKeyAlgorithm' => AlgorithmIdentifier::MAP, 33 | 'privateKey' => PrivateKey::MAP, 34 | 'attributes' => [ 35 | 'constant' => 0, 36 | 'optional' => true, 37 | 'implicit' => true 38 | ] + Attributes::MAP 39 | ] 40 | ]; 41 | } 42 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PrivateKeyUsagePeriod.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PrivateKeyUsagePeriod 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class PrivateKeyUsagePeriod 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'notBefore' => [ 29 | 'constant' => 0, 30 | 'optional' => true, 31 | 'implicit' => true, 32 | 'type' => ASN1::TYPE_GENERALIZED_TIME], 33 | 'notAfter' => [ 34 | 'constant' => 1, 35 | 'optional' => true, 36 | 'implicit' => true, 37 | 'type' => ASN1::TYPE_GENERALIZED_TIME] 38 | ] 39 | ]; 40 | } 41 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/BuiltIn.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\BCMath; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\BCMath; 17 | 18 | /** 19 | * Built-In BCMath Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class BuiltIn extends BCMath 24 | { 25 | /** 26 | * Performs modular exponentiation. 27 | * 28 | * @param BCMath $x 29 | * @param BCMath $e 30 | * @param BCMath $n 31 | * @return BCMath 32 | */ 33 | protected static function powModHelper(BCMath $x, BCMath $e, BCMath $n) 34 | { 35 | $temp = new BCMath(); 36 | $temp->value = bcpowmod($x->value, $e->value, $n->value); 37 | 38 | return $x->normalize($temp); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp128r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC', 16), 26 | new BigInteger('E87579C11079F43DD824993C2CEE5ED3', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('161FF7528B899B2D0C28607CA52C5B86', 16), 30 | new BigInteger('CF5AC8395BAFEB13C02DA292DDED7A83', 16) 31 | ); 32 | $this->setOrder(new BigInteger('FFFFFFFE0000000075A30D1B9038A115', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/GeneralSubtree.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * GeneralSubtree 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class GeneralSubtree 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'base' => GeneralName::MAP, 29 | 'minimum' => [ 30 | 'constant' => 0, 31 | 'optional' => true, 32 | 'implicit' => true, 33 | 'default' => '0' 34 | ] + BaseDistance::MAP, 35 | 'maximum' => [ 36 | 'constant' => 1, 37 | 'optional' => true, 38 | 'implicit' => true, 39 | ] + BaseDistance::MAP 40 | ] 41 | ]; 42 | } 43 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp112r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp112r2 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | // same modulo as secp112r1 24 | $this->setModulo(new BigInteger('DB7C2ABF62E35E668076BEAD208B', 16)); 25 | $this->setCoefficients( 26 | new BigInteger('6127C24C05F38A0AAAF65C0EF02C', 16), 27 | new BigInteger('51DEF1815DB5ED74FCC34C85D709', 16) 28 | ); 29 | $this->setBasePoint( 30 | new BigInteger('4BA30AB5E892B4E1649DD0928643', 16), 31 | new BigInteger('ADCD46F5882E3747DEF36E956E97', 16) 32 | ); 33 | $this->setOrder(new BigInteger('36DF0AAFD8B8D7597CA10520D04B', 16)); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect233k1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect233k1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(233, 74, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000000000000000000000000', 26 | '000000000000000000000000000000000000000000000000000000000001' 27 | ); 28 | $this->setBasePoint( 29 | '017232BA853A7E731AF129F22FF4149563A419C26BF50A4C9D6EEFAD6126', 30 | '01DB537DECE819B7F70F555A67C427A8CD9BF18AEB9B56E0C11056FAE6A3' 31 | ); 32 | $this->setOrder(new BigInteger('8000000000000000000000000000069D5BB915BCD46EFB1AD5F173ABDF', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect233r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect233r1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(233, 74, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000000000000000000000001', 26 | '0066647EDE6C332C7F8C0923BB58213B333B20E9CE4281FE115F7D8F90AD' 27 | ); 28 | $this->setBasePoint( 29 | '00FAC9DFCBAC8313BB2139F1BB755FEF65BC391F8B36F8F8EB7371FD558B', 30 | '01006A08A41903350678E58528BEBF8A0BEFF867A7CA36716F7E01F81052' 31 | ); 32 | $this->setOrder(new BigInteger('01000000000000000000000000000013E974E72F8A6922031D2603CFE0D7', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/CertificationRequestInfo.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * CertificationRequestInfo 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class CertificationRequestInfo 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'version' => [ 29 | 'type' => ASN1::TYPE_INTEGER, 30 | 'mapping' => ['v1'] 31 | ], 32 | 'subject' => Name::MAP, 33 | 'subjectPKInfo' => SubjectPublicKeyInfo::MAP, 34 | 'attributes' => [ 35 | 'constant' => 0, 36 | 'optional' => true, 37 | 'implicit' => true 38 | ] + Attributes::MAP, 39 | ] 40 | ]; 41 | } 42 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/paragonie/random_compat/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Paragon Initiative Enterprises 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect239k1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect239k1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(239, 158, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000000000000000000000000', 26 | '000000000000000000000000000000000000000000000000000000000001' 27 | ); 28 | $this->setBasePoint( 29 | '29A0B6A887A983E9730988A68727A8B2D126C44CC2CC7B2A6555193035DC', 30 | '76310804F12E549BDB011C103089E73510ACB275FC312A5DC6B76553F0CA' 31 | ); 32 | $this->setOrder(new BigInteger('2000000000000000000000000000005A79FEC67CB6E91F1C1DA800E478A5', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/RelativeDistinguishedName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * RelativeDistinguishedName 20 | * 21 | * In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare, 22 | * but they can be useful at times when either there is no unique attribute in the entry or you 23 | * want to ensure that the entry's DN contains some useful identifying information. 24 | * 25 | * - https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName 26 | * 27 | * @author Jim Wigginton 28 | */ 29 | abstract class RelativeDistinguishedName 30 | { 31 | const MAP = [ 32 | 'type' => ASN1::TYPE_SET, 33 | 'min' => 1, 34 | 'max' => -1, 35 | 'children' => AttributeTypeAndValue::MAP 36 | ]; 37 | } 38 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp128r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp128r2 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | // same as secp128r1 24 | $this->setModulo(new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF', 16)); 25 | $this->setCoefficients( 26 | new BigInteger('D6031998D1B3BBFEBF59CC9BBFF9AEE1', 16), 27 | new BigInteger('5EEEFCA380D02919DC2C6558BB6D8A5D', 16) 28 | ); 29 | $this->setBasePoint( 30 | new BigInteger('7B6AA5D85E572983E6FB32A7CDEBC140', 16), 31 | new BigInteger('27B6916A894D3AEE7106FE805FC34B44', 16) 32 | ); 33 | $this->setOrder(new BigInteger('3FFFFFFF7FFFFFFFBE0024720613B5A3', 16)); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ExtensionAttribute.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * ExtensionAttribute 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class ExtensionAttribute 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'extension-attribute-type' => [ 29 | 'type' => ASN1::TYPE_PRINTABLE_STRING, 30 | 'constant' => 0, 31 | 'optional' => true, 32 | 'implicit' => true 33 | ], 34 | 'extension-attribute-value' => [ 35 | 'type' => ASN1::TYPE_ANY, 36 | 'constant' => 1, 37 | 'optional' => true, 38 | 'explicit' => true 39 | ] 40 | ] 41 | ]; 42 | } 43 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/PHP/Reductions/Classic.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Math\BigInteger\Engines\PHP\Reductions; 15 | 16 | use phpseclib3\Math\BigInteger\Engines\PHP\Base; 17 | 18 | /** 19 | * PHP Classic Modular Exponentiation Engine 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class Classic extends Base 24 | { 25 | /** 26 | * Regular Division 27 | * 28 | * @param array $x 29 | * @param array $n 30 | * @param string $class 31 | * @return array 32 | */ 33 | protected static function reduce(array $x, array $n, $class) 34 | { 35 | $lhs = new $class(); 36 | $lhs->value = $x; 37 | $rhs = new $class(); 38 | $rhs->value = $n; 39 | list(, $temp) = $lhs->divide($rhs); 40 | return $temp->value; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp160r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC', 16), 26 | new BigInteger('1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('4A96B5688EF573284664698968C38BB913CBFC82', 16), 30 | new BigInteger('23A628553168947D59DCC912042351377AC5FB32', 16) 31 | ); 32 | $this->setOrder(new BigInteger('0100000000000000000001F4C8F927AED3CA752257', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP160r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP160r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('E95E4A5F737059DC60DFC7AD95B3D8139515620F', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('340E7BE2A280EB74E2BE61BADA745D97E8F7C300', 16), 26 | new BigInteger('1E589A8595423412134FAA2DBDEC95C8D8675E58', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('BED5AF16EA3F6A4F62938C4631EB5AF7BDBCDBC3', 16), 30 | new BigInteger('1667CB477A1A8EC338F94741669C976316DA6321', 16) 31 | ); 32 | $this->setOrder(new BigInteger('E95E4A5F737059DC60DF5991D45029409E60FC09', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/RDNSequence.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * RDNSequence 20 | * 21 | * In practice, RDNs containing multiple name-value pairs (called "multivalued RDNs") are rare, 22 | * but they can be useful at times when either there is no unique attribute in the entry or you 23 | * want to ensure that the entry's DN contains some useful identifying information. 24 | * 25 | * - https://www.opends.org/wiki/page/DefinitionRelativeDistinguishedName 26 | * 27 | * @author Jim Wigginton 28 | */ 29 | abstract class RDNSequence 30 | { 31 | const MAP = [ 32 | 'type' => ASN1::TYPE_SEQUENCE, 33 | // RDNSequence does not define a min or a max, which means it doesn't have one 34 | 'min' => 0, 35 | 'max' => -1, 36 | 'children' => RelativeDistinguishedName::MAP 37 | ]; 38 | } 39 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp160r2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp160r2 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | // same as secp160k1 24 | $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73', 16)); 25 | $this->setCoefficients( 26 | new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC70', 16), 27 | new BigInteger('B4E134D3FB59EB8BAB57274904664D5AF50388BA', 16) 28 | ); 29 | $this->setBasePoint( 30 | new BigInteger('52DCB034293A117E1F4FF11B30F7199D3144CE6D', 16), 31 | new BigInteger('FEAFFEF2E331F296E071FA0DF9982CFEA7D43F2E', 16) 32 | ); 33 | $this->setOrder(new BigInteger('0100000000000000000000351EE786A818F3A1A16B', 16)); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect283k1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect283k1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(283, 12, 7, 5, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000000000000000000000000000000000000', 26 | '000000000000000000000000000000000000000000000000000000000000000000000001' 27 | ); 28 | $this->setBasePoint( 29 | '0503213F78CA44883F1A3B8162F188E553CD265F23C1567A16876913B0C2AC2458492836', 30 | '01CCDA380F1C9E318D90F95D07E5426FE87E45C0E8184698E45962364E34116177DD2259' 31 | ); 32 | $this->setOrder(new BigInteger('01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9AE2ED07577265DFF7F94451E061E163C61', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/sect283r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class sect283r1 extends Binary 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(283, 12, 7, 5, 0); 24 | $this->setCoefficients( 25 | '000000000000000000000000000000000000000000000000000000000000000000000001', 26 | '027B680AC8B8596DA5A4AF8A19A0303FCA97FD7645309FA2A581485AF6263E313B79A2F5' 27 | ); 28 | $this->setBasePoint( 29 | '05F939258DB7DD90E1934F8C70B0DFEC2EED25B8557EAC9C80E2E198F8CDBECD86B12053', 30 | '03676854FE24141CB98FE6D4B20D02B4516FF702350EDDB0826779C813F0DF45BE8112F4' 31 | ); 32 | $this->setOrder(new BigInteger('03FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEF90399660FC938A90165B042A7CEFADB307', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Math/Common/FiniteField/Integer.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | */ 12 | 13 | namespace phpseclib3\Math\Common\FiniteField; 14 | 15 | /** 16 | * Finite Field Integer 17 | * 18 | * @author Jim Wigginton 19 | */ 20 | abstract class Integer implements \JsonSerializable 21 | { 22 | /** 23 | * JSON Serialize 24 | * 25 | * Will be called, automatically, when json_encode() is called on a BigInteger object. 26 | * 27 | * PHP Serialize isn't supported because unserializing would require the factory be 28 | * serialized as well and that just sounds like too much 29 | * 30 | * @return array{hex: string} 31 | */ 32 | #[\ReturnTypeWillChange] 33 | public function jsonSerialize() 34 | { 35 | return ['hex' => $this->toHex(true)]; 36 | } 37 | 38 | /** 39 | * Converts an Integer to a hex string (eg. base-16). 40 | * 41 | * @return string 42 | */ 43 | abstract public function toHex(); 44 | } 45 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class prime192v2 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC', 16), 26 | new BigInteger('CC22D6DFB95C6B25E49C0D6364A4E5980C393AA21668D953', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('EEA2BAE7E1497842F2DE7769CFE9C989C072AD696F48034A', 16), 30 | new BigInteger('6574D11D69B6EC7A672BB82A083DF2F2B0847DE970B2DE15', 16) 31 | ); 32 | $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFE5FB1A724DC80418648D8DD31', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime192v3.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class prime192v3 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC', 16), 26 | new BigInteger('22123DC2395A05CAA7423DAECCC94760A7D462256BD56916', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('7D29778100C65A1DA1783716588DCE2B8B4AEE8E228F1896', 16), 30 | new BigInteger('38A90F22637337334B49DCB66A6DC8F9978ACA7648A943B0', 16) 31 | ); 32 | $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFF7A62D031C83F4294F640EC13', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/PBKDF2params.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * PBKDF2params 20 | * 21 | * from https://tools.ietf.org/html/rfc2898#appendix-A.3 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class PBKDF2params 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | // technically, this is a CHOICE in RFC2898 but the other "choice" is, currently, more of a placeholder 31 | // in the RFC 32 | 'salt' => ['type' => ASN1::TYPE_OCTET_STRING], 33 | 'iterationCount' => ['type' => ASN1::TYPE_INTEGER], 34 | 'keyLength' => [ 35 | 'type' => ASN1::TYPE_INTEGER, 36 | 'optional' => true 37 | ], 38 | 'prf' => AlgorithmIdentifier::MAP + ['optional' => true] 39 | ] 40 | ]; 41 | } 42 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP192r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP192r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86297', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('6A91174076B1E0E19C39C031FE8685C1CAE040E5C69A28EF', 16), 26 | new BigInteger('469A28EF7C28CCA3DC721D044F4496BCCA7EF4146FBF25C9', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('C0A0647EAAB6A48753B033C56CB0F0900A2F5C4853375FD6', 16), 30 | new BigInteger('14B690866ABD5BB88B5F4828C1490002E6773FA2FA299B8F', 16) 31 | ); 32 | $this->setOrder(new BigInteger('C302F41D932A36CDA7A3462F9E9E916B5BE8F1029AC4ACC1', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP192t1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP192t1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86297', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('C302F41D932A36CDA7A3463093D18DB78FCE476DE1A86294', 16), // eg. -3 26 | new BigInteger('13D56FFAEC78681E68F9DEB43B35BEC2FB68542E27897B79', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('3AE9E58C82F63C30282E1FE7BBF43FA72C446AF6F4618129', 16), 30 | new BigInteger('097E2C5667C2223A902AB5CA449D0084B7E5B3DE7CCC01C9', 16) 31 | ); 32 | $this->setOrder(new BigInteger('C302F41D932A36CDA7A3462F9E9E916B5BE8F1029AC4ACC1', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/Extension.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * Extension 20 | * 21 | * A certificate using system MUST reject the certificate if it encounters 22 | * a critical extension it does not recognize; however, a non-critical 23 | * extension may be ignored if it is not recognized. 24 | * 25 | * http://tools.ietf.org/html/rfc5280#section-4.2 26 | * 27 | * @author Jim Wigginton 28 | */ 29 | abstract class Extension 30 | { 31 | const MAP = [ 32 | 'type' => ASN1::TYPE_SEQUENCE, 33 | 'children' => [ 34 | 'extnId' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 35 | 'critical' => [ 36 | 'type' => ASN1::TYPE_BOOLEAN, 37 | 'optional' => true, 38 | 'default' => false 39 | ], 40 | 'extnValue' => ['type' => ASN1::TYPE_OCTET_STRING] 41 | ] 42 | ]; 43 | } 44 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/PublicKey.php: -------------------------------------------------------------------------------- 1 | 7 | * @copyright 2015 Jim Wigginton 8 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 9 | * @link http://phpseclib.sourceforge.net 10 | */ 11 | 12 | namespace phpseclib3\Crypt\DH; 13 | 14 | use phpseclib3\Crypt\Common; 15 | use phpseclib3\Crypt\DH; 16 | 17 | /** 18 | * DH Public Key 19 | * 20 | * @author Jim Wigginton 21 | */ 22 | final class PublicKey extends DH 23 | { 24 | use Common\Traits\Fingerprint; 25 | 26 | /** 27 | * Returns the public key 28 | * 29 | * @param string $type 30 | * @param array $options optional 31 | * @return string 32 | */ 33 | public function toString($type, array $options = []) 34 | { 35 | $type = self::validatePlugin('Keys', $type, 'savePublicKey'); 36 | 37 | return $type::savePublicKey($this->prime, $this->base, $this->publicKey, $options); 38 | } 39 | 40 | /** 41 | * Returns the public key as a BigInteger 42 | * 43 | * @return \phpseclib3\Math\BigInteger 44 | */ 45 | public function toBigInteger() 46 | { 47 | return $this->publicKey; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/EDIPartyName.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * EDIPartyName 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class EDIPartyName 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'nameAssigner' => [ 29 | 'constant' => 0, 30 | 'optional' => true, 31 | 'implicit' => true 32 | ] + DirectoryString::MAP, 33 | // partyName is technically required but \phpseclib3\File\ASN1 doesn't currently support non-optional constants and 34 | // setting it to optional gets the job done in any event. 35 | 'partyName' => [ 36 | 'constant' => 1, 37 | 'optional' => true, 38 | 'implicit' => true 39 | ] + DirectoryString::MAP 40 | ] 41 | ]; 42 | } 43 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/DistributionPoint.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * DistributionPoint 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class DistributionPoint 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'distributionPoint' => [ 29 | 'constant' => 0, 30 | 'optional' => true, 31 | 'explicit' => true 32 | ] + DistributionPointName::MAP, 33 | 'reasons' => [ 34 | 'constant' => 1, 35 | 'optional' => true, 36 | 'implicit' => true 37 | ] + ReasonFlags::MAP, 38 | 'cRLIssuer' => [ 39 | 'constant' => 2, 40 | 'optional' => true, 41 | 'implicit' => true 42 | ] + GeneralNames::MAP 43 | ] 44 | ]; 45 | } 46 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp224r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp224r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE', 16), 26 | new BigInteger('B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21', 16), 30 | new BigInteger('BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34', 16) 31 | ); 32 | $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/PasswordProtected.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2015 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\Crypt\Common\Traits; 15 | 16 | /** 17 | * Password Protected Trait for Private Keys 18 | * 19 | * @author Jim Wigginton 20 | */ 21 | trait PasswordProtected 22 | { 23 | /** 24 | * Password 25 | * 26 | * @var string|bool 27 | */ 28 | private $password = false; 29 | 30 | /** 31 | * Sets the password 32 | * 33 | * Private keys can be encrypted with a password. To unset the password, pass in the empty string or false. 34 | * Or rather, pass in $password such that empty($password) && !is_string($password) is true. 35 | * 36 | * @see self::createKey() 37 | * @see self::load() 38 | * @param string|bool $password 39 | */ 40 | public function withPassword($password = false) 41 | { 42 | $new = clone $this; 43 | $new->password = $password; 44 | return $new; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP224r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP224r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('68A5E62CA9CE6C1C299803A6C1530B514E182AD8B0042A59CAD29F43', 16), 26 | new BigInteger('2580F63CCFE44138870713B1A92369E33E2135D266DBB372386C400B', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('0D9029AD2C7E5CF4340823B2A87DC68C9E4CE3174C1E6EFDEE12C07D', 16), 30 | new BigInteger('58AA56F772C0726F24C6B89E4ECDAC24354B9E99CAA3F6D3761402CD', 16) 31 | ); 32 | $this->setOrder(new BigInteger('D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP224t1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP224t1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FC', 16), // eg. -3 26 | new BigInteger('4B337D934104CD7BEF271BF60CED1ED20DA14C08B3BB64F18A60888D', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('6AB1E344CE25FF3896424E7FFE14762ECB49F8928AC0C76029B4D580', 16), 30 | new BigInteger('0374E9F5143E568CD23F3F4D7C0D4B1E41C8CC0D1C6ABD5F1A46DB4C', 16) 31 | ); 32 | $this->setOrder(new BigInteger('D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class prime239v1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFC', 16), 26 | new BigInteger('6B016C3BDCF18941D0D654921475CA71A9DB2FB27D1D37796185C2942C0A', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('0FFA963CDCA8816CCC33B8642BEDF905C3D358573D3F27FBBD3B3CB9AAAF', 16), 30 | new BigInteger('7DEBE8E4E90A5DAE6E4054CA530BA04654B36818CE226B39FCCB7B02F1AE', 16) 31 | ); 32 | $this->setOrder(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFF9E5E9A9F5D9071FBD1522688909D0B', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v2.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class prime239v2 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFC', 16), 26 | new BigInteger('617FAB6832576CBBFED50D99F0249C3FEE58B94BA0038C7AE84C8C832F2C', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('38AF09D98727705120C921BB5E9E26296A3CDCF2F35757A0EAFD87B830E7', 16), 30 | new BigInteger('5B0125E4DBEA0EC7206DA0FC01D9B081329FB555DE6EF460237DFF8BE4BA', 16) 31 | ); 32 | $this->setOrder(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF800000CFA7E8594377D414C03821BC582063', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/prime239v3.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class prime239v3 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFC', 16), 26 | new BigInteger('255705FA2A306654B1F4CB03D6A750A30C250102D4988717D9BA15AB6D3E', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('6768AE8E18BB92CFCF005C949AA2C6D94853D0E660BBF854B1C9505FE95A', 16), 30 | new BigInteger('1607E6898F390C06BC1D552BAD226F3B6FCFE48B6E818499AF18E3ED6CF3', 16) 31 | ); 32 | $this->setOrder(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFF975DEB41B3A6057C3C432146526551', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/AuthorityKeyIdentifier.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2016 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://phpseclib.sourceforge.net 12 | */ 13 | 14 | namespace phpseclib3\File\ASN1\Maps; 15 | 16 | use phpseclib3\File\ASN1; 17 | 18 | /** 19 | * AuthorityKeyIdentifier 20 | * 21 | * @author Jim Wigginton 22 | */ 23 | abstract class AuthorityKeyIdentifier 24 | { 25 | const MAP = [ 26 | 'type' => ASN1::TYPE_SEQUENCE, 27 | 'children' => [ 28 | 'keyIdentifier' => [ 29 | 'constant' => 0, 30 | 'optional' => true, 31 | 'implicit' => true 32 | ] + KeyIdentifier::MAP, 33 | 'authorityCertIssuer' => [ 34 | 'constant' => 1, 35 | 'optional' => true, 36 | 'implicit' => true 37 | ] + GeneralNames::MAP, 38 | 'authorityCertSerialNumber' => [ 39 | 'constant' => 2, 40 | 'optional' => true, 41 | 'implicit' => true 42 | ] + CertificateSerialNumber::MAP 43 | ] 44 | ]; 45 | } 46 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/SpecifiedECDomain.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2016 Jim Wigginton 12 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 13 | * @link http://phpseclib.sourceforge.net 14 | */ 15 | 16 | namespace phpseclib3\File\ASN1\Maps; 17 | 18 | use phpseclib3\File\ASN1; 19 | 20 | /** 21 | * SpecifiedECDomain 22 | * 23 | * @author Jim Wigginton 24 | */ 25 | abstract class SpecifiedECDomain 26 | { 27 | const MAP = [ 28 | 'type' => ASN1::TYPE_SEQUENCE, 29 | 'children' => [ 30 | 'version' => [ 31 | 'type' => ASN1::TYPE_INTEGER, 32 | 'mapping' => [1 => 'ecdpVer1', 'ecdpVer2', 'ecdpVer3'] 33 | ], 34 | 'fieldID' => FieldID::MAP, 35 | 'curve' => Curve::MAP, 36 | 'base' => ECPoint::MAP, 37 | 'order' => ['type' => ASN1::TYPE_INTEGER], 38 | 'cofactor' => [ 39 | 'type' => ASN1::TYPE_INTEGER, 40 | 'optional' => true 41 | ], 42 | 'hash' => ['optional' => true] + HashAlgorithm::MAP 43 | ] 44 | ]; 45 | } 46 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/secp256r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class secp256r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC', 16), 26 | new BigInteger('5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296', 16), 30 | new BigInteger('4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5', 16) 31 | ); 32 | $this->setOrder(new BigInteger('FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP256r1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP256r1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('7D5A0975FC2C3057EEF67530417AFFE7FB8055C126DC5C6CE94A4B44F330B5D9', 16), 26 | new BigInteger('26DC5C6CE94A4B44F330B5D9BBD77CBF958416295CF7E1CE6BCCDC18FF8C07B6', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('8BD2AEB9CB7E57CB2C4B482FFC81B7AFB9DE27E1E3BD23C23A4453BD9ACE3262', 16), 30 | new BigInteger('547EF835C3DAC4FD97F8461A14611DC9C27745132DED8E545C1D54C72F046997', 16) 31 | ); 32 | $this->setOrder(new BigInteger('A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7', 16)); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/File/ASN1/Maps/ECParameters.php: -------------------------------------------------------------------------------- 1 | 11 | * @copyright 2016 Jim Wigginton 12 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 13 | * @link http://phpseclib.sourceforge.net 14 | */ 15 | 16 | namespace phpseclib3\File\ASN1\Maps; 17 | 18 | use phpseclib3\File\ASN1; 19 | 20 | /** 21 | * ECParameters 22 | * 23 | * ECParameters ::= CHOICE { 24 | * namedCurve OBJECT IDENTIFIER 25 | * -- implicitCurve NULL 26 | * -- specifiedCurve SpecifiedECDomain 27 | * } 28 | * -- implicitCurve and specifiedCurve MUST NOT be used in PKIX. 29 | * -- Details for SpecifiedECDomain can be found in [X9.62]. 30 | * -- Any future additions to this CHOICE should be coordinated 31 | * -- with ANSI X9. 32 | * 33 | * @author Jim Wigginton 34 | */ 35 | abstract class ECParameters 36 | { 37 | const MAP = [ 38 | 'type' => ASN1::TYPE_CHOICE, 39 | 'children' => [ 40 | 'namedCurve' => ['type' => ASN1::TYPE_OBJECT_IDENTIFIER], 41 | 'implicitCurve' => ['type' => ASN1::TYPE_NULL], 42 | 'specifiedCurve' => SpecifiedECDomain::MAP 43 | ] 44 | ]; 45 | } 46 | -------------------------------------------------------------------------------- /libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/brainpoolP256t1.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright 2017 Jim Wigginton 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 | * @link http://pear.php.net/package/Math_BigInteger 12 | */ 13 | 14 | namespace phpseclib3\Crypt\EC\Curves; 15 | 16 | use phpseclib3\Crypt\EC\BaseCurves\Prime; 17 | use phpseclib3\Math\BigInteger; 18 | 19 | class brainpoolP256t1 extends Prime 20 | { 21 | public function __construct() 22 | { 23 | $this->setModulo(new BigInteger('A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5377', 16)); 24 | $this->setCoefficients( 25 | new BigInteger('A9FB57DBA1EEA9BC3E660A909D838D726E3BF623D52620282013481D1F6E5374', 16), // eg. -3 26 | new BigInteger('662C61C430D84EA4FE66A7733D0B76B7BF93EBC4AF2F49256AE58101FEE92B04', 16) 27 | ); 28 | $this->setBasePoint( 29 | new BigInteger('A3E8EB3CC1CFE7B7732213B23A656149AFA142C47AAFBC2B79A191562E1305F4', 16), 30 | new BigInteger('2D996C823439C56D7F7B22E14644417E69BCB6DE39D027001DABE8F35B25C9BE', 16) 31 | ); 32 | $this->setOrder(new BigInteger('A9FB57DBA1EEA9BC3E660A909D838D718C397AA3B561A6F7901E0E82974856A7', 16)); 33 | } 34 | } 35 | --------------------------------------------------------------------------------