Interface AesStreamInterfaceV2
- Aws\Crypto\AesStreamInterfaceV2 implements Psr\Http\Message\StreamInterface
- Namespace: Aws\Crypto
- Located at Crypto/AesStreamInterfaceV2.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
Methods Summary
-
static
getStaticAesName ( )
Returns an AES recognizable name, such as 'AES/GCM/NoPadding'. V2 interface is accessible from a static context.
-
getOpenSslName ( )
Returns an identifier recognizable by
openssl_*
functions, such asaes-256-cbc
oraes-128-ctr
. -
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
static string getStaticAesName ( )
Returns an AES recognizable name, such as 'AES/GCM/NoPadding'. V2 interface is accessible from a static context.
Returns
string |
string getOpenSslName ( )
Returns an identifier recognizable by openssl_*
functions, such as
aes-256-cbc
or aes-128-ctr
.
Returns
string |
string getCurrentIv ( )
Returns the IV that should be used to initialize the next block in encrypt or decrypt.
Returns
string |