[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
PKCS1 Formatted Key Handler PHP version 5
Author: | Jim Wigginton |
Copyright: | 2015 Jim Wigginton |
License: | http://www.opensource.org/licenses/mit-license.html MIT License |
Link: | http://phpseclib.sourceforge.net |
File Size: | 209 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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 return: int param: string $mode |
getEncryptionObject($algo) X-Ref |
Returns a cipher object corresponding to a string return: string param: string $algo |
generateSymmetricKey($password, $iv, $length) X-Ref |
Generate a symmetric key for PKCS#1 keys return: string param: string $password param: string $iv param: int $length |
load($key, $password) X-Ref |
Break a public or private key down into its constituent components return: array param: string $key param: string $password optional |
wrapPrivateKey($key, $type, $password, array $options = []) X-Ref |
No description |
wrapPublicKey($key, $type) X-Ref |
Wrap a public key appropriately return: string param: string $key param: string $type |