Class AesGcmDecryptingStream
- Aws\Crypto\AesGcmDecryptingStream implements Aws\Crypto\AesStreamInterface uses GuzzleHttp\Psr7\StreamDecoratorTrait
- Namespace: Aws\Crypto
- Located at Crypto/AesGcmDecryptingStream.php
Methods Summary
- __construct ( Psr\Http\Message\StreamInterface $cipherText, string $key, string $initializationVector, string $tag, string $aad = '', int $tagLength = 128, int $keySize = 256 )
-
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.
- createStream ( )
-
isWritable ( )
Returns whether or not the stream is writable.
Methods inherited from Psr\Http\Message\StreamInterface
__toString()
,
close()
,
detach()
,
eof()
,
getContents()
,
getMetadata()
,
getSize()
,
isReadable()
,
isSeekable()
,
read()
,
rewind()
,
seek()
,
tell()
,
write()
Methods used from GuzzleHttp\Psr7\StreamDecoratorTrait
Methods Details
__construct (
Psr\Http\Message\StreamInterface
$cipherText,
string
$key,
string
$initializationVector,
string
$tag,
string
$aad = '',
integer
$tagLength = 128,
integer
$keySize = 256
)
Parameters
Psr\Http\Message\StreamInterface |
$cipherText | |
string | $key | |
string | $initializationVector | |
string | $tag | |
string | $aad = '' | |
integer | $tagLength = 128 | |
integer | $keySize = 256 |
string getOpenSslName ( )
Returns an identifier recognizable by openssl_*
functions, such as
aes-256-cbc
or aes-128-ctr
.
Returns
string |
Implementation of
string getAesName ( )
Returns an AES recognizable name, such as 'AES/GCM/NoPadding'.
Returns
string |
Implementation of
string getCurrentIv ( )
Returns the IV that should be used to initialize the next block in encrypt or decrypt.
Returns
string |
Implementation of
createStream ( )
boolean isWritable ( )
Returns whether or not the stream is writable.
Returns
boolean |