Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
namespace Aws\Crypto;
3
 
4
use Psr\Http\Message\StreamInterface;
5
 
6
interface AesStreamInterface extends StreamInterface
7
{
8
    /**
9
     * Returns an identifier recognizable by `openssl_*` functions, such as
10
     * `aes-256-cbc` or `aes-128-ctr`.
11
     *
12
     * @return string
13
     */
14
    public function getOpenSslName();
15
 
16
    /**
17
     * Returns an AES recognizable name, such as 'AES/GCM/NoPadding'.
18
     *
19
     * @return string
20
     */
21
    public function getAesName();
22
 
23
    /**
24
     * Returns the IV that should be used to initialize the next block in
25
     * encrypt or decrypt.
26
     *
27
     * @return string
28
     */
29
    public function getCurrentIv();
30
}