Interface AesStreamInterface
- Aws\Crypto\AesStreamInterface implements Psr\Http\Message\StreamInterface
- Namespace: Aws\Crypto
- Located at Crypto/AesStreamInterface.php
Describes a data stream.
Typically, an instance will wrap a PHP stream; this interface provides a wrapper around the most common operations, including serialization of the entire stream to a string.
Direct known implementers
Aws\Crypto\AesDecryptingStream
,
Aws\Crypto\AesEncryptingStream
,
Aws\Crypto\AesGcmDecryptingStream
,
Aws\Crypto\AesGcmEncryptingStream
Methods Summary
-
getOpenSslName ( )
Returns an identifier recognizable by
openssl_*
functions, such asaes-256-cbc
oraes-128-ctr
. -
getAesName ( )
Returns an AES recognizable name, such as 'AES/GCM/NoPadding'.
-
getCurrentIv ( )
Returns the IV that should be used to initialize the next block in encrypt or decrypt.
Methods inherited from Psr\Http\Message\StreamInterface
Methods Details
string getOpenSslName ( )
Returns an identifier recognizable by openssl_*
functions, such as
aes-256-cbc
or aes-128-ctr
.
Returns
string |
string getAesName ( )
Returns an AES recognizable name, such as 'AES/GCM/NoPadding'.
Returns
string |
string getCurrentIv ( )
Returns the IV that should be used to initialize the next block in encrypt or decrypt.
Returns
string |