PKCS#1 Formatted DSA Key Handler
author | Jim Wigginton terrafrost@php.net |
---|---|
package | Default |
generateSymmetricKey(string $password,string $iv,integer $length): string
string
string
integer
string
getEncryptionMode(string $mode): integer
Throws |
|
---|
string
integer
getEncryptionObject(string $algo): string
Throws |
|
---|
string
string
load(string $key,string $password): array
string
string
optional
array
requireAny()
This is the default setting
requireDER()
requirePEM()
saveParameters(\phpseclib3\Math\BigInteger $p,\phpseclib3\Math\BigInteger $q,\phpseclib3\Math\BigInteger $g): string
string
savePrivateKey(\phpseclib3\Math\BigInteger $p,\phpseclib3\Math\BigInteger $q,\phpseclib3\Math\BigInteger $g,\phpseclib3\Math\BigInteger $y,\phpseclib3\Math\BigInteger $x,string $password = '',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
setEncryptionAlgorithm(string $algo)
string
wrapPrivateKey(string $key,string $type,string $password,array $options = array()): string
string
string
string
array
optional
string
wrapPublicKey(string $key,string $type): string
string
string
string
MODE_ANY
MODE_PEM
MODE_DER
defaultEncryptionAlgorithm :string
var |
---|
string
format :integer
var |
---|
integer