Method |
Description |
|
generateSymmetricKey ( string $password, string $iv, integer $length ) : string |
Generate a symmetric key for PKCS#1 keys |
|
getEncryptionMode ( string $mode ) : integer |
Returns the mode constant corresponding to the mode string |
|
getEncryptionObject ( string $algo ) : string |
Returns a cipher object corresponding to a string |
|
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 |
|
wrapPrivateKey ( string $key, string $type, string $password ) : string |
Wrap a private key appropriately |
|
wrapPublicKey ( string $key, string $type ) : string |
Wrap a public key appropriately |
|