[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/ -> PKCS1.php (summary)

PKCS1 Formatted 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: 223 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  setEncryptionAlgorithm()
  getEncryptionMode()
  getEncryptionObject()
  generateSymmetricKey()
  load()
  wrapPrivateKey()
  wrapPublicKey()

Functions
Functions that are not part of a class:

setEncryptionAlgorithm($algo)   X-Ref
Sets the default encryption algorithm

param: string $algo

getEncryptionMode($mode)   X-Ref
Returns the mode constant corresponding to the mode string

param: string $mode
return: int

getEncryptionObject($algo)   X-Ref
Returns a cipher object corresponding to a string

param: string $algo
return: string

generateSymmetricKey($password, $iv, $length)   X-Ref
Generate a symmetric key for PKCS#1 keys

param: string $password
param: string $iv
param: int $length
return: string

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

wrapPrivateKey($key, $type, $password, array $options = [])   X-Ref
No description

wrapPublicKey($key, $type)   X-Ref
Wrap a public key appropriately

param: string $key
param: string $type
return: string



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