Raw

Raw DSA Key Handler

author

Jim Wigginton terrafrost@php.net

package

Default

Methods

Break a public or private key down into its constituent components

load(array $key,string $password = ''): array
static

Arguments

$key

array

$password

string

optional

Response

array

Convert a private key to the appropriate format.

savePrivateKey(\phpseclib3\Math\BigInteger $p,\phpseclib3\Math\BigInteger $q,\phpseclib3\Math\BigInteger $g,\phpseclib3\Math\BigInteger $y,\phpseclib3\Math\BigInteger $x,string $password = ''): string
static

Convert a public key to the appropriate format

savePublicKey(\phpseclib3\Math\BigInteger $p,\phpseclib3\Math\BigInteger $q,\phpseclib3\Math\BigInteger $g,\phpseclib3\Math\BigInteger $y): string
static