mirror of
https://gh.wpcy.net/https://github.com/mainwp/mainwp.dev.git
synced 2026-07-17 06:34:55 +08:00
3464 lines
177 KiB
HTML
3464 lines
177 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>MainWP Child Documentation</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/template.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">MainWP Child Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category -namespaces">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/mainwp.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/mainwp-child.html" class="">Child</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/paragonie.html" class="">ParagonIE</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/paragonie-constanttime.html" class="">ConstantTime</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpseclib3.html" class="">phpseclib3</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpseclib3-common.html" class="">Common</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpseclib3-crypt.html" class="">Crypt</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpseclib3-exception.html" class="">Exception</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpseclib3-file.html" class="">File</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpseclib3-math.html" class="">Math</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpseclib3-net.html" class="">Net</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpseclib3-system.html" class="">System</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category -packages">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWP.html" class="">MainWP</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/MainWP-Child.html" class="">Child</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-ChildCreditsPlugin.html" class="">ChildCreditsPlugin</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="packages/MainWP-Dashboard.html" class="">Dashboard</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/MainWPChild.html" class="">MainWPChild</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/ParagonIE.html" class="">ParagonIE</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="packages/ParagonIE-ConstantTime.html" class="">ConstantTime</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -reports">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="graphs/classes.html">Class Diagram</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category -indices">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -nine phpdocumentor-content">
|
|
<section>
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpseclib3.html">phpseclib3</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpseclib3-crypt.html">Crypt</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/phpseclib3-crypt-ec.html">EC</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
Parameters
|
|
|
|
<span class="phpdocumentor-element__extends">
|
|
extends <a href="classes/phpseclib3-Crypt-EC.html"><abbr title="\phpseclib3\Crypt\EC">EC</abbr></a>
|
|
</span>
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP.html">MainWP</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/MainWP-Child.html">Child</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
|
<div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
|
|
|
|
|
|
</div>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec-parameters.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php">Parameters.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">21</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.21" class="phpdocumentor-element-found-in__source" data-line="21" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">EC Parameters</p>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">author</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Jim Wigginton <a href="mailto:terrafrost@php.net">terrafrost@php.net</a></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-constants">
|
|
Constants
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#constant_ALGORITHM">ALGORITHM</a>
|
|
<span>
|
|
= 'EC' </span>
|
|
</dt>
|
|
<dd>Algorithm Name</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_context">$context</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Context</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_curve">$curve</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-EC-BaseCurves-Base.html"><abbr title="\phpseclib3\Crypt\EC\BaseCurves\Base">Base</abbr></a> </span>
|
|
</dt>
|
|
<dd>Curve</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_engines">$engines</a>
|
|
<span>
|
|
: array<string|int, bool> </span>
|
|
</dt>
|
|
<dd>Available Engines</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_format">$format</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Signature Format</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_hash">$hash</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Hash.html"><abbr title="\phpseclib3\Crypt\Hash">Hash</abbr></a> </span>
|
|
</dt>
|
|
<dd>Hash function</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_one">$one</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a> </span>
|
|
</dt>
|
|
<dd>Precomputed One</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_q">$q</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a> </span>
|
|
</dt>
|
|
<dd>Curve Order</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_QA">$QA</a>
|
|
<span>
|
|
: array<string|int, object> </span>
|
|
</dt>
|
|
<dd>Public Key QA</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_shortFormat">$shortFormat</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Signature Format (Short)</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_sigFormat">$sigFormat</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Signature Format</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_x">$x</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a> </span>
|
|
</dt>
|
|
<dd>Alias for the private key</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_zero">$zero</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a> </span>
|
|
</dt>
|
|
<dd>Precomputed Zero</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_comment">$comment</a>
|
|
<span>
|
|
: null|string </span>
|
|
</dt>
|
|
<dd>Key Comment</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#property_curveName">$curveName</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Curve Name</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_hmac">$hmac</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Hash.html"><abbr title="\phpseclib3\Crypt\Hash">Hash</abbr></a> </span>
|
|
</dt>
|
|
<dd>HMAC function</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_invisiblePlugins">$invisiblePlugins</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Invisible plugins</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_plugins">$plugins</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Supported plugins (lower case)</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method___toString">__toString()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>__toString() magic method</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_addFileFormat">addFileFormat()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Add a fileformat plugin</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_createKey">createKey()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-EC-PrivateKey.html"><abbr title="\phpseclib3\Crypt\EC\PrivateKey">PrivateKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Create public / private key pair.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getComment">getComment()</a>
|
|
<span>
|
|
: null|string </span>
|
|
</dt>
|
|
<dd>Returns the key's comment</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getContext">getContext()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Returns the signature format currently being used</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getCurve">getCurve()</a>
|
|
<span>
|
|
: string|array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Returns the curve</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getEncodedCoordinates">getEncodedCoordinates()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Returns the public key coordinates as a string</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getEngine">getEngine()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Returns the current engine being used</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getHash">getHash()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Returns the hash algorithm currently being used</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getLength">getLength()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Returns the key size</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getLoadedFormat">getLoadedFormat()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Returns the format of the loaded key.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getParameters">getParameters()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Returns the parameters</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_getSignatureFormat">getSignatureFormat()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Returns the signature format currently being used</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getSupportedKeyFormats">getSupportedKeyFormats()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Returns a list of supported formats.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_load">load()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a>|<a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Load the key</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadFormat">loadFormat()</a>
|
|
<span>
|
|
: static </span>
|
|
</dt>
|
|
<dd>Load the key, assuming a specific format</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadParameters">loadParameters()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html"><abbr title="\phpseclib3\Crypt\Common\AsymmetricKey">AsymmetricKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Loads parameters</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadParametersFormat">loadParametersFormat()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html"><abbr title="\phpseclib3\Crypt\Common\AsymmetricKey">AsymmetricKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Loads parameters</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPrivateKey">loadPrivateKey()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Loads a private key</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPrivateKeyFormat">loadPrivateKeyFormat()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Loads a private key</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPublicKey">loadPublicKey()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Loads a public key</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPublicKeyFormat">loadPublicKeyFormat()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a> </span>
|
|
</dt>
|
|
<dd>Loads a public key</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC-Parameters.html#method_toString">toString()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Returns the parameters</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_useBestEngine">useBestEngine()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Tests engine validity</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_useInternalEngine">useInternalEngine()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Flag to use internal engine only (useful for unit testing)</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_withContext">withContext()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Sets the context</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_withHash">withHash()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Determines which hashing function should be used</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_withSignatureFormat">withSignatureFormat()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Determines the signature padding mode</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Constructor</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_bits2int">bits2int()</a>
|
|
<span>
|
|
: <a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a> </span>
|
|
</dt>
|
|
<dd>Bit String to Integer</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_computek">computek()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Compute the pseudorandom k for signature generation,
|
|
using the process specified for deterministic DSA.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_initialize_static_variables">initialize_static_variables()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Initialize static variables</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-EC.html#method_onLoad">onLoad()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>OnLoad Handler</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_validatePlugin">validatePlugin()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Validate Plugin</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_bits2octets">bits2octets()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Bit String to Octet String</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_int2octets">int2octets()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Integer to Octet String</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a class="" href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPlugins">loadPlugins()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Load Plugins</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-constants">
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
|
Constants
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_ALGORITHM">
|
|
ALGORITHM
|
|
<a href="classes/phpseclib3-Crypt-EC.html#constant_ALGORITHM" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">61</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.61" class="phpdocumentor-element-found-in__source" data-line="61" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Algorithm Name</p>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">ALGORITHM</span>
|
|
= <span class="phpdocumentor-signature__default-value">'EC'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_context">
|
|
$context
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_context" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">124</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.124" class="phpdocumentor-element-found-in__source" data-line="124" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Context</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$context</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_curve">
|
|
$curve
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_curve" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">75</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.75" class="phpdocumentor-element-found-in__source" data-line="75" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Curve</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Crypt-EC-BaseCurves-Base.html"><abbr title="\phpseclib3\Crypt\EC\BaseCurves\Base">Base</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$curve</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_engines">
|
|
$engines
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_engines" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">86</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.86" class="phpdocumentor-element-found-in__source" data-line="86" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Available Engines</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array<string|int, bool></span>
|
|
<span class="phpdocumentor-signature__name">$engines</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_format">
|
|
$format
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_format" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">82</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.82" class="phpdocumentor-element-found-in__source" data-line="82" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Signature Format</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$format</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_hash">
|
|
$hash
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_hash" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">56</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.56" class="phpdocumentor-element-found-in__source" data-line="56" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hash function</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Crypt-Hash.html"><abbr title="\phpseclib3\Crypt\Hash">Hash</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$hash</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_one">
|
|
$one
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_one" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">42</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.42" class="phpdocumentor-element-found-in__source" data-line="42" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Precomputed One</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$one</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_q">
|
|
$q
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_q" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">105</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.105" class="phpdocumentor-element-found-in__source" data-line="105" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Curve Order</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$q</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"><p>Used for deterministic ECDSA</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_QA">
|
|
$QA
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_QA" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">68</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.68" class="phpdocumentor-element-found-in__source" data-line="68" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Public Key QA</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">array<string|int, object></span>
|
|
<span class="phpdocumentor-signature__name">$QA</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_shortFormat">
|
|
$shortFormat
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_shortFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">89</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.89" class="phpdocumentor-element-found-in__source" data-line="89" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Signature Format (Short)</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$shortFormat</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_sigFormat">
|
|
$sigFormat
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_sigFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">131</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.131" class="phpdocumentor-element-found-in__source" data-line="131" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Signature Format</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$sigFormat</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_x">
|
|
$x
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_x" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">117</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.117" class="phpdocumentor-element-found-in__source" data-line="117" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Alias for the private key</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$x</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"><p>Used for deterministic ECDSA. AsymmetricKey expects $x. I don't like x because
|
|
with x you have x * the base point yielding an (x, y)-coordinate that is the
|
|
public key. But the x is different depending on which side of the equal sign
|
|
you're on. It's less ambiguous if you do dA * base point = (x, y)-coordinate.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_zero">
|
|
$zero
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_zero" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">35</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.35" class="phpdocumentor-element-found-in__source" data-line="35" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Precomputed Zero</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$zero</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_comment">
|
|
$comment
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_comment" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">93</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.93" class="phpdocumentor-element-found-in__source" data-line="93" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Key Comment</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">null|string</span>
|
|
<span class="phpdocumentor-signature__name">$comment</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_curveName">
|
|
$curveName
|
|
<a href="classes/phpseclib3-Crypt-EC.html#property_curveName" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">96</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.96" class="phpdocumentor-element-found-in__source" data-line="96" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Curve Name</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string</span>
|
|
<span class="phpdocumentor-signature__name">$curveName</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_hmac">
|
|
$hmac
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_hmac" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">63</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.63" class="phpdocumentor-element-found-in__source" data-line="63" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">HMAC function</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/phpseclib3-Crypt-Hash.html"><abbr title="\phpseclib3\Crypt\Hash">Hash</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$hmac</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_invisiblePlugins">
|
|
$invisiblePlugins
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_invisiblePlugins" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">79</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.79" class="phpdocumentor-element-found-in__source" data-line="79" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Invisible plugins</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$invisiblePlugins</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_invisiblePlugins#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\Common\self::initialize_static_variables()">self::initialize_static_variables()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_plugins">
|
|
$plugins
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_plugins" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">71</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.71" class="phpdocumentor-element-found-in__source" data-line="71" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Supported plugins (lower case)</p>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__type">array<string|int, mixed></span>
|
|
<span class="phpdocumentor-signature__name">$plugins</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_plugins#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\Common\self::initialize_static_variables()">self::initialize_static_variables()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___toString">
|
|
__toString()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method___toString" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">472</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.472" class="phpdocumentor-element-found-in__source" data-line="472" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">__toString() magic method</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__toString</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_addFileFormat">
|
|
addFileFormat()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_addFileFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">376</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.376" class="phpdocumentor-element-found-in__source" data-line="376" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Add a fileformat plugin</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">addFileFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$fullname</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>The plugin needs to either already be loaded or be auto-loadable.
|
|
Loading a plugin whose shortname overwrite an existing shortname will overwrite the old plugin.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$fullname</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_addFileFormat#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\Common\self::load()">self::load()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_createKey">
|
|
createKey()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_createKey" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">139</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.139" class="phpdocumentor-element-found-in__source" data-line="139" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Create public / private key pair.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">createKey</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$curve</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-EC-PrivateKey.html"><abbr title="\phpseclib3\Crypt\EC\PrivateKey">PrivateKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$curve</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-EC-PrivateKey.html"><abbr title="\phpseclib3\Crypt\EC\PrivateKey">PrivateKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getComment">
|
|
getComment()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getComment" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">416</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.416" class="phpdocumentor-element-found-in__source" data-line="416" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the key's comment</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getComment</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">null|string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Not all key formats support comments. If you want to set a comment use toString()</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">null|string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getContext">
|
|
getContext()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getContext" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">442</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.442" class="phpdocumentor-element-found-in__source" data-line="442" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the signature format currently being used</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getContext</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getCurve">
|
|
getCurve()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getCurve" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">271</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.271" class="phpdocumentor-element-found-in__source" data-line="271" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the curve</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getCurve</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Returns a string if it's a named curve, an array if not</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getEncodedCoordinates">
|
|
getEncodedCoordinates()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getEncodedCoordinates" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">351</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.351" class="phpdocumentor-element-found-in__source" data-line="351" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the public key coordinates as a string</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getEncodedCoordinates</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Used by ECDH</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getEngine">
|
|
getEngine()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getEngine" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">330</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.330" class="phpdocumentor-element-found-in__source" data-line="330" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the current engine being used</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getEngine</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getEngine#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\self::useInternalEngine()">self::useInternalEngine()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\self::useBestEngine()">self::useBestEngine()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHash">
|
|
getHash()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getHash" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">481</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.481" class="phpdocumentor-element-found-in__source" data-line="481" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the hash algorithm currently being used</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getHash</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getLength">
|
|
getLength()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getLength" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">318</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.318" class="phpdocumentor-element-found-in__source" data-line="318" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the key size</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getLength</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Quoting https://tools.ietf.org/html/rfc5656#section-2,</p>
|
|
<p>"The size of a set of elliptic curve domain parameters on a prime
|
|
curve is defined as the number of bits in the binary representation
|
|
of the field order, commonly denoted by p. Size on a
|
|
characteristic-2 curve is defined as the number of bits in the binary
|
|
representation of the field, commonly denoted by m. A set of
|
|
elliptic curve domain parameters defines a group of order n generated
|
|
by a base point P"</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getLoadedFormat">
|
|
getLoadedFormat()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getLoadedFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">399</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.399" class="phpdocumentor-element-found-in__source" data-line="399" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the format of the loaded key.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getLoadedFormat</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>If the key that was loaded wasn't in a valid or if the key was auto-generated
|
|
with RSA::createKey() then this will throw an exception.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getLoadedFormat#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\Common\self::load()">self::load()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getParameters">
|
|
getParameters()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">369</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.369" class="phpdocumentor-element-found-in__source" data-line="369" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the parameters</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getParameters</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">'PKCS1'</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">'PKCS1'</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getParameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\self::getPublicKey()">self::getPublicKey()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSignatureFormat">
|
|
getSignatureFormat()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_getSignatureFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">403</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.403" class="phpdocumentor-element-found-in__source" data-line="403" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the signature format currently being used</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getSignatureFormat</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSupportedKeyFormats">
|
|
getSupportedKeyFormats()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getSupportedKeyFormats" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">359</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.359" class="phpdocumentor-element-found-in__source" data-line="359" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns a list of supported formats.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">getSupportedKeyFormats</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_load">
|
|
load()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_load" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">135</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.135" class="phpdocumentor-element-found-in__source" data-line="135" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Load the key</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">load</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a>|<a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$password</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a>|<a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadFormat">
|
|
loadFormat()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">228</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.228" class="phpdocumentor-element-found-in__source" data-line="228" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Load the key, assuming a specific format</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">static</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$password</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">static</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadParameters">
|
|
loadParameters()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">211</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.211" class="phpdocumentor-element-found-in__source" data-line="211" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads parameters</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadParameters</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html"><abbr title="\phpseclib3\Crypt\Common\AsymmetricKey">AsymmetricKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html"><abbr title="\phpseclib3\Crypt\Common\AsymmetricKey">AsymmetricKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadParametersFormat">
|
|
loadParametersFormat()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadParametersFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">293</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.293" class="phpdocumentor-element-found-in__source" data-line="293" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads parameters</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadParametersFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html"><abbr title="\phpseclib3\Crypt\Common\AsymmetricKey">AsymmetricKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html"><abbr title="\phpseclib3\Crypt\Common\AsymmetricKey">AsymmetricKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadPrivateKey">
|
|
loadPrivateKey()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPrivateKey" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">181</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.181" class="phpdocumentor-element-found-in__source" data-line="181" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads a private key</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadPrivateKey</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">''</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$password</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">''</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadPrivateKeyFormat">
|
|
loadPrivateKeyFormat()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPrivateKeyFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">261</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.261" class="phpdocumentor-element-found-in__source" data-line="261" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads a private key</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadPrivateKeyFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$password</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">false</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$password</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">false</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PrivateKey.html"><abbr title="\phpseclib3\Crypt\Common\PrivateKey">PrivateKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadPublicKey">
|
|
loadPublicKey()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPublicKey" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">196</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.196" class="phpdocumentor-element-found-in__source" data-line="196" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads a public key</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadPublicKey</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadPublicKeyFormat">
|
|
loadPublicKeyFormat()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPublicKeyFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">277</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.277" class="phpdocumentor-element-found-in__source" data-line="277" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Loads a public key</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadPublicKeyFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Crypt-Common-PublicKey.html"><abbr title="\phpseclib3\Crypt\Common\PublicKey">PublicKey</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_toString">
|
|
toString()
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#method_toString" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec-parameters.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php">Parameters.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">30</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.30" class="phpdocumentor-element-found-in__source" data-line="30" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the parameters</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">toString</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">'PKCS1'</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$options</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">'PKCS1'</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$options</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_useBestEngine">
|
|
useBestEngine()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_useBestEngine" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">425</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.425" class="phpdocumentor-element-found-in__source" data-line="425" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Tests engine validity</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">useBestEngine</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_useInternalEngine">
|
|
useInternalEngine()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_useInternalEngine" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">443</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.443" class="phpdocumentor-element-found-in__source" data-line="443" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Flag to use internal engine only (useful for unit testing)</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">useInternalEngine</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_withContext">
|
|
withContext()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_withContext" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">417</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.417" class="phpdocumentor-element-found-in__source" data-line="417" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the context</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">withContext</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$context</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Used by Ed25519 / Ed448.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$context</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_withContext#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\self::sign()">self::sign()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\phpseclib3\Crypt\self::verify()">self::verify()</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_withHash">
|
|
withHash()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_withHash" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">452</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.452" class="phpdocumentor-element-found-in__source" data-line="452" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Determines which hashing function should be used</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">withHash</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$hash</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hash</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_withSignatureFormat">
|
|
withSignatureFormat()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_withSignatureFormat" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">387</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.387" class="phpdocumentor-element-found-in__source" data-line="387" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Determines the signature padding mode</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">withSignatureFormat</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$format</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>Valid values are: ASN1, SSH2, Raw</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$format</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">256</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.256" class="phpdocumentor-element-found-in__source" data-line="256" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Constructor</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<section class="phpdocumentor-description"><p>PublicKey and PrivateKey objects can only be created from abstract RSA class</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_bits2int">
|
|
bits2int()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_bits2int" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">556</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.556" class="phpdocumentor-element-found-in__source" data-line="556" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Bit String to Integer</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">bits2int</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$in</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$in</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_computek">
|
|
computek()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_computek" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">493</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.493" class="phpdocumentor-element-found-in__source" data-line="493" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Compute the pseudorandom k for signature generation,
|
|
using the process specified for deterministic DSA.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">computek</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$h1</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$h1</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_initialize_static_variables">
|
|
initialize_static_variables()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_initialize_static_variables" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">115</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.115" class="phpdocumentor-element-found-in__source" data-line="115" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Initialize static variables</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">initialize_static_variables</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_onLoad">
|
|
onLoad()
|
|
<a href="classes/phpseclib3-Crypt-EC.html#method_onLoad" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-ec.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php">EC.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">221</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.221" class="phpdocumentor-element-found-in__source" data-line="221" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">OnLoad Handler</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">onLoad</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$components</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$components</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_validatePlugin">
|
|
validatePlugin()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_validatePlugin" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">310</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.310" class="phpdocumentor-element-found-in__source" data-line="310" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Validate Plugin</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">validatePlugin</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$format</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$type</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$method</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$format</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$method</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>optional</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_bits2octets">
|
|
bits2octets()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_bits2octets" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">573</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.573" class="phpdocumentor-element-found-in__source" data-line="573" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Bit String to Octet String</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">bits2octets</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$in</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$in</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_int2octets">
|
|
int2octets()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_int2octets" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">537</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.537" class="phpdocumentor-element-found-in__source" data-line="537" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Integer to Octet String</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">int2octets</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$v</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$v</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/phpseclib3-Math-BigInteger.html"><abbr title="\phpseclib3\Math\BigInteger">BigInteger</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
-static "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_loadPlugins">
|
|
loadPlugins()
|
|
<a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPlugins" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php"><a href="files/libs-phpseclib-vendor-phpseclib-phpseclib-phpseclib-crypt-common-asymmetrickey.html"><abbr title="libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php">AsymmetricKey.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">329</span>
|
|
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#source-view.329" class="phpdocumentor-element-found-in__source" data-line="329" data-modal="source-view" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/AsymmetricKey.php.txt"></a>
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Load Plugins</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__static">static</span> <span class="phpdocumentor-signature__name">loadPlugins</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$format</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$format</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/libs/phpseclib/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Parameters.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc-constants">Constants</a></li>
|
|
<li><a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/phpseclib3-Crypt-EC-Parameters.html#toc-methods">Methods</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#constant_ALGORITHM">ALGORITHM</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_context">$context</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_curve">$curve</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_engines">$engines</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_format">$format</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_hash">$hash</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_one">$one</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_q">$q</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_QA">$QA</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_shortFormat">$shortFormat</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_sigFormat">$sigFormat</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_x">$x</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_zero">$zero</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_comment">$comment</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#property_curveName">$curveName</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_hmac">$hmac</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_invisiblePlugins">$invisiblePlugins</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#property_plugins">$plugins</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method___toString">__toString()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_addFileFormat">addFileFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_createKey">createKey()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getComment">getComment()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getContext">getContext()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getCurve">getCurve()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getEncodedCoordinates">getEncodedCoordinates()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getEngine">getEngine()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getHash">getHash()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getLength">getLength()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getLoadedFormat">getLoadedFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getParameters">getParameters()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_getSignatureFormat">getSignatureFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_getSupportedKeyFormats">getSupportedKeyFormats()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_load">load()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadFormat">loadFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadParameters">loadParameters()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadParametersFormat">loadParametersFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPrivateKey">loadPrivateKey()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPrivateKeyFormat">loadPrivateKeyFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPublicKey">loadPublicKey()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPublicKeyFormat">loadPublicKeyFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC-Parameters.html#method_toString">toString()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_useBestEngine">useBestEngine()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_useInternalEngine">useInternalEngine()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_withContext">withContext()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_withHash">withHash()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_withSignatureFormat">withSignatureFormat()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method___construct">__construct()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_bits2int">bits2int()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_computek">computek()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_initialize_static_variables">initialize_static_variables()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-EC.html#method_onLoad">onLoad()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_validatePlugin">validatePlugin()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_bits2octets">bits2octets()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_int2octets">int2octets()</a></li>
|
|
<li class=""><a href="classes/phpseclib3-Crypt-Common-AsymmetricKey.html#method_loadPlugins">loadPlugins()</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
|
|
</section>
|
|
</div>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
<a href="classes/phpseclib3-Crypt-EC-Parameters.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|