PKCS#8 Formatted DSA Key Handler
author | Jim Wigginton terrafrost@php.net |
---|---|
package | Default |
extractEncryptionAlgorithm(string $key): array
string
array
getPBES1EncryptionObject(string $algo): \phpseclib3\Crypt\Common\SymmetricKey
getPBES1Hash(string $algo): string
string
string
getPBES1KDF(string $algo): string
string
string
getPBES2EncryptionObject(string $algo): \phpseclib3\Crypt\Common\Formats\Keys\SymmetricKey
string
\phpseclib3\Crypt\Common\Formats\Keys\SymmetricKey
initialize_static_variables()
load(string $key,string $password = ''): array
string
string
optional
array
preParse(string &$key): array
string
array
requireAny()
This is the default setting
requireDER()
requirePEM()
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,array $options = array()): string
array
optional
string
setEncryptionAlgorithm(string $algo)
string
setEncryptionScheme(string $algo)
string
setIterationCount(integer $count)
integer
setPRF(string $algo)
string
wrapPrivateKey(string $key,string $attr,mixed $params,string $password,string $oid = null,string $publicKey = '',array $options = array()): string
string
string
mixed
string
string
optional
string
optional
array
optional
string
wrapPublicKey(string $key,mixed $params,string $oid = null): string
string
mixed
string
string
OID_NAME
var |
---|
OID_VALUE
var |
---|
MODE_ANY
MODE_PEM
MODE_DER
childOIDsLoaded :boolean
var |
---|
boolean
defaultEncryptionAlgorithm :string
var |
---|
string
defaultEncryptionScheme :string
Only used when defaultEncryptionAlgorithm is id-PBES2
var |
---|
string
defaultPRF :string
Only used when defaultEncryptionAlgorithm is id-PBES2
var |
---|
string
defaultIterationCount :integer
var |
---|
integer
oidsLoaded :boolean
var |
---|
boolean
format :integer
var |
---|
integer