__construct()
decrypt()
encrypt()
getCompression()
getEnvelopeKey()
getPackage()
getPassphrase()
getPrivateKey()
getPublicKey()
setCompression()
setEnvelopeKey()
setPackage()
setPassphrase()
setPrivateKey()
setPublicKey()
toString()
_setKeys()
$compression
$keys
$package
$passphrase
Encryption adapter for openssl
__construct(string | array | \Traversable $options)
stringarray\Traversable
Options for this adapter
\Zend\Filter\Exception\ExtensionNotLoadedException |
---|
decrypt(string $value) : string
Decrypts $value with the defined settings
string
Content to decrypt
\Zend\Filter\Exception\RuntimeException |
---|
string
The decrypted contentencrypt(string $value) : string
string
Content to encrypt
\Zend\Filter\Exception\RuntimeException |
---|
string
The encrypted contentgetCompression() : array
array
getEnvelopeKey() : array
array
getPackage() : bool
bool
getPassphrase() : string
string
getPrivateKey() : array
array
getPublicKey() : array
array
setCompression(string | array $compression) : \Zend\Filter\Encrypt\self
stringarray
\Zend\Filter\Encrypt\self
setEnvelopeKey(string | array $key) : \Zend\Filter\Encrypt\self
stringarray
Envelope keys
\Zend\Filter\Encrypt\self
setPackage(bool $package) : \Zend\Filter\Encrypt\self
bool
\Zend\Filter\Encrypt\self
setPassphrase(string $passphrase) : \Zend\Filter\Encrypt\self
string
\Zend\Filter\Encrypt\self
setPrivateKey(string $key, string $passphrase) : \Zend\Filter\Encrypt\self
string
Private key
string
\Zend\Filter\Encrypt\self
setPublicKey(string | array $key) : \Zend\Filter\Encrypt\self
stringarray
Public keys
\Zend\Filter\Encrypt\self
toString() : string
string
_setKeys(string | array $keys) : \Zend\Filter\Encrypt\self
stringarray
Key with type association
\Zend\Filter\Exception\InvalidArgumentException |
---|
\Zend\Filter\Encrypt\self
$compression : array
$keys
$package : bool
$passphrase : string