[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ -> PKCS8.php (summary)

PKCS#8 Formatted EC Key Handler PHP version 5

Author: Jim Wigginton <[email protected]>
Copyright: 2015 Jim Wigginton
License: http://www.opensource.org/licenses/mit-license.html MIT License
File Size: 248 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  load()
  loadEdDSA()
  savePublicKey()
  savePrivateKey()

Functions
Functions that are not part of a class:

load($key, $password = '')   X-Ref
Break a public or private key down into its constituent components

param: string $key
param: string $password optional
return: array

loadEdDSA(array $key)   X-Ref
Break a public or private EdDSA key down into its constituent components

return: array

savePublicKey(BaseCurve $curve, array $publicKey, array $options = [])   X-Ref
Convert an EC public key to the appropriate format

param: \phpseclib3\Crypt\EC\BaseCurves\Base $curve
param: \phpseclib3\Math\Common\FiniteField\Integer[] $publicKey
param: array $options optional
return: string

savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, $password = '', array $options = [])   X-Ref
Convert a private key to the appropriate format.

param: \phpseclib3\Math\BigInteger $privateKey
param: \phpseclib3\Crypt\EC\BaseCurves\Base $curve
param: \phpseclib3\Math\Common\FiniteField\Integer[] $publicKey
param: string $password optional
param: array $options optional
return: string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer