Свойство | Type | Description | |
---|---|---|---|
$defaultEncryptionAlgorithm | string | Default encryption algorithm | |
$defaultEncryptionScheme | string | Only used when defaultEncryptionAlgorithm is id-PBES2 | |
$defaultIterationCount | integer | Default Iteration Count | |
$defaultPRF | string | Only used when defaultEncryptionAlgorithm is id-PBES2 |
Méthode | Description | |
---|---|---|
getPBES1EncryptionObject ( string $algo ) | Returns a SymmetricKey object based on a PBES1 $algo | |
getPBES1Hash ( string $algo ) | Returns a hash based on a PBES1 $algo | |
getPBES1KDF ( string $algo ) | Returns a KDF baesd on a PBES1 $algo | |
getPBES2EncryptionObject ( string $algo ) | Returns a SymmetricKey object baesd on a PBES2 $algo | |
load ( string $key, string $password = '' ) : array | Break a public or private key down into its constituent components | |
setEncryptionAlgorithm ( string $algo ) | Sets the default encryption algorithm | |
setEncryptionScheme ( string $algo ) | Sets the default encryption algorithm for PBES2 | |
setIterationCount ( integer $count ) | Sets the iteration count | |
setPRF ( string $algo ) | Sets the PRF for PBES2 | |
wrapPrivateKey ( string $key, string $algorithm, string $attr, string $password ) : string | Wrap a private key appropriately | |
wrapPublicKey ( string $key, $algorithm ) : string | Wrap a public key appropriately |
static public getPBES1EncryptionObject ( string $algo ) | ||
$algo | string |
static public getPBES1Hash ( string $algo ) | ||
$algo | string |
static public getPBES1KDF ( string $algo ) | ||
$algo | string |
static public getPBES2EncryptionObject ( string $algo ) | ||
$algo | string |
static public setEncryptionAlgorithm ( string $algo ) | ||
$algo | string |
static public setEncryptionScheme ( string $algo ) | ||
$algo | string |
static public setIterationCount ( integer $count ) | ||
$count | integer |
static public wrapPublicKey ( string $key, $algorithm ) : string | ||
$key | string | |
Résultat | string |
static public string $defaultEncryptionAlgorithm | ||
Résultat | string |
static public string $defaultEncryptionScheme | ||
Résultat | string |
static public int $defaultIterationCount | ||
Résultat | integer |
static public string $defaultPRF | ||
Résultat | string |