[ Index ] |
PHP Cross Reference of DokuWiki |
[Source view] [Print] [Project Stats]
PKCS#8 Formatted DH 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: | 132 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
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 |
savePrivateKey(BigInteger $prime, BigInteger $base, BigInteger $privateKey, BigInteger $publicKey, $password = '', array $options = []) X-Ref |
Convert a private key to the appropriate format. return: string param: \phpseclib3\Math\BigInteger $prime param: \phpseclib3\Math\BigInteger $base param: \phpseclib3\Math\BigInteger $privateKey param: \phpseclib3\Math\BigInteger $publicKey param: string $password optional param: array $options optional |
savePublicKey(BigInteger $prime, BigInteger $base, BigInteger $publicKey, array $options = []) X-Ref |
Convert a public key to the appropriate format return: string param: \phpseclib3\Math\BigInteger $prime param: \phpseclib3\Math\BigInteger $base param: \phpseclib3\Math\BigInteger $publicKey param: array $options optional |