Method | Description | |
---|---|---|
load ( string $key, string $password = '' ) : array | Break a public or private key down into its constituent components | |
savePrivateKey ( phpseclib\Math\BigInteger $n, phpseclib\Math\BigInteger $e, phpseclib\Math\BigInteger $d, array $primes, array $exponents, array $coefficients, string $password = '' ) : string | Convert a private key to the appropriate format. | |
savePublicKey ( phpseclib\Math\BigInteger $n, phpseclib\Math\BigInteger $e ) : string | Convert a public key to the appropriate format |
static public savePrivateKey ( phpseclib\Math\BigInteger $n, phpseclib\Math\BigInteger $e, phpseclib\Math\BigInteger $d, array $primes, array $exponents, array $coefficients, string $password = '' ) : string | ||
$n | phpseclib\Math\BigInteger | |
$e | phpseclib\Math\BigInteger | |
$d | phpseclib\Math\BigInteger | |
$primes | array | |
$exponents | array | |
$coefficients | array | |
$password | string | optional |
return | string |
static public savePublicKey ( phpseclib\Math\BigInteger $n, phpseclib\Math\BigInteger $e ) : string | ||
$n | phpseclib\Math\BigInteger | |
$e | phpseclib\Math\BigInteger | |
return | string |