__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\TraversableOptions for this adapter
\Zend\Filter\Exception\ExtensionNotLoadedException |
|---|
decrypt(string $value) : string
Decrypts $value with the defined settings
stringContent to decrypt
\Zend\Filter\Exception\RuntimeException |
|---|
stringThe decrypted contentencrypt(string $value) : string
stringContent to encrypt
\Zend\Filter\Exception\RuntimeException |
|---|
stringThe encrypted contentgetCompression() : array
arraygetEnvelopeKey() : array
arraygetPackage() : bool
boolgetPassphrase() : string
stringgetPrivateKey() : array
arraygetPublicKey() : array
arraysetCompression(string | array $compression) : \Zend\Filter\Encrypt\self
stringarray
\Zend\Filter\Encrypt\selfsetEnvelopeKey(string | array $key) : \Zend\Filter\Encrypt\self
stringarrayEnvelope keys
\Zend\Filter\Encrypt\selfsetPackage(bool $package) : \Zend\Filter\Encrypt\self
bool
\Zend\Filter\Encrypt\selfsetPassphrase(string $passphrase) : \Zend\Filter\Encrypt\self
string
\Zend\Filter\Encrypt\selfsetPrivateKey(string $key, string $passphrase) : \Zend\Filter\Encrypt\self
stringPrivate key
string
\Zend\Filter\Encrypt\selfsetPublicKey(string | array $key) : \Zend\Filter\Encrypt\self
stringarrayPublic keys
\Zend\Filter\Encrypt\selftoString() : string
string_setKeys(string | array $keys) : \Zend\Filter\Encrypt\self
stringarrayKey with type association
\Zend\Filter\Exception\InvalidArgumentException |
|---|
\Zend\Filter\Encrypt\self$compression : array
$keys
$package : bool
$passphrase : string