OpenSSH Formatted RSA Key Handler
author | Jim Wigginton terrafrost@php.net |
---|---|
package | Default |
checkType(string $candidate)
string
load(string $key,string $password = ''): array
$type can be either ssh-dss or ssh-rsa
string
string
array
savePrivateKey(\phpseclib3\Math\BigInteger $n,\phpseclib3\Math\BigInteger $e,\phpseclib3\Math\BigInteger $d,array $primes,array $exponents,array $coefficients,string $password = '',array $options = array()): string
array
array
array
string
optional
array
optional
string
savePublicKey(\phpseclib3\Math\BigInteger $n,\phpseclib3\Math\BigInteger $e,array $options = array()): string
array
optional
string
setBinaryOutput(boolean $enabled)
Printable keys are what are generated by default. These are the ones that go in $HOME/.ssh/authorized_key.
boolean
setComment(string $comment)
string
wrapPrivateKey(string $publicKey,string $privateKey,string $password,array $options): string
string
string
string
array
string
types :array
var |
---|
array
binary :boolean
var |
---|
boolean
Default comment
Type(s)
string