[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ -> PSS.php (summary)

PKCS#8 Formatted RSA-PSS 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: 250 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  initialize_static_variables()
  load()
  savePrivateKey()
  savePublicKey()
  savePSSParams()

Functions
Functions that are not part of a class:

initialize_static_variables()   X-Ref
Initialize static variables


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

savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, array $exponents, array $coefficients, $password = '', array $options = [])   X-Ref
Convert a private key to the appropriate format.

param: \phpseclib3\Math\BigInteger $n
param: \phpseclib3\Math\BigInteger $e
param: \phpseclib3\Math\BigInteger $d
param: array $primes
param: array $exponents
param: array $coefficients
param: string $password optional
param: array $options optional
return: string

savePublicKey(BigInteger $n, BigInteger $e, array $options = [])   X-Ref
Convert a public key to the appropriate format

param: \phpseclib3\Math\BigInteger $n
param: \phpseclib3\Math\BigInteger $e
param: array $options optional
return: string

savePSSParams(array $options)   X-Ref
Encodes PSS parameters

param: array $options
return: string



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