[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

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

Defines 14 functions

  setEncryptionAlgorithm()
  setEncryptionScheme()
  setIterationCount()
  setPRF()
  getPBES1EncryptionObject()
  getPBES1Hash()
  getPBES1KDF()
  getPBES2EncryptionObject()
  initialize_static_variables()
  load()
  wrapPrivateKey()
  wrapPublicKey()
  preParse()
  extractEncryptionAlgorithm()

Functions
Functions that are not part of a class:

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

param: string $algo

setEncryptionScheme($algo)   X-Ref
Sets the default encryption algorithm for PBES2

param: string $algo

setIterationCount($count)   X-Ref
Sets the iteration count

param: int $count

setPRF($algo)   X-Ref
Sets the PRF for PBES2

param: string $algo

getPBES1EncryptionObject($algo)   X-Ref
Returns a SymmetricKey object based on a PBES1 $algo

param: string $algo
return: \phpseclib3\Crypt\Common\SymmetricKey

getPBES1Hash($algo)   X-Ref
Returns a hash based on a PBES1 $algo

param: string $algo
return: string

getPBES1KDF($algo)   X-Ref
Returns a KDF baesd on a PBES1 $algo

param: string $algo
return: string

getPBES2EncryptionObject($algo)   X-Ref
Returns a SymmetricKey object baesd on a PBES2 $algo

param: string $algo
return: SymmetricKey

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

wrapPrivateKey($key, $attr, $params, $password, $oid = null, $publicKey = '', array $options = [])   X-Ref
Wrap a private key appropriately

param: string $key
param: string $attr
param: mixed $params
param: string $password
param: string $oid optional
param: string $publicKey optional
param: array $options optional
return: string

wrapPublicKey($key, $params, $oid = null)   X-Ref
Wrap a public key appropriately

param: string $key
param: mixed $params
param: string $oid
return: string

preParse(&$key)   X-Ref
Perform some preliminary parsing of the key

param: string $key
return: array

extractEncryptionAlgorithm($key)   X-Ref
Returns the encryption parameters used by the key

param: string $key
return: array



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