PuTTY Formatted DSA Key Handler
author | Jim Wigginton terrafrost@php.net |
---|---|
package | Default |
generateV2Key(string $password,integer $length): string
string
integer
string
generateV3Key(string $password,string $flavour,integer $memory,integer $passes,string $salt): array
string
string
integer
integer
string
array
load(string $key,string $password): array
string
string
array
savePrivateKey(\phpseclib3\Math\BigInteger $p,\phpseclib3\Math\BigInteger $q,\phpseclib3\Math\BigInteger $g,\phpseclib3\Math\BigInteger $y,\phpseclib3\Math\BigInteger $x,string $password = false,array $options = array()): string
string
optional
array
optional
string
savePublicKey(\phpseclib3\Math\BigInteger $p,\phpseclib3\Math\BigInteger $q,\phpseclib3\Math\BigInteger $g,\phpseclib3\Math\BigInteger $y): string
string
setComment(string $comment)
string
setVersion(integer $version)
integer
wrapPrivateKey(string $public,string $private,string $type,string $password,array $options = array()): string
string
string
string
string
array
optional
string
wrapPublicKey(string $key,string $type): string
This is basically the format described in RFC 4716 (https://tools.ietf.org/html/rfc4716)
string
string
string
PUBLIC_HANDLER
var |
---|
types :array
var |
---|
array
version :integer
var |
---|
integer
Default comment
Type(s)
string