Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 28... Línea 28...
28
    private $tag;
28
    private $tag;
Línea 29... Línea 29...
29
 
29
 
Línea 30... Línea 30...
30
    private $tagLength;
30
    private $tagLength;
-
 
31
 
-
 
32
    /**
-
 
33
     * @var StreamInterface
-
 
34
     */
-
 
35
    private $stream;
31
 
36
 
32
    /**
37
    /**
33
     * @param StreamInterface $cipherText
38
     * @param StreamInterface $cipherText
34
     * @param string $key
39
     * @param string $key
35
     * @param string $initializationVector
40
     * @param string $initializationVector
Línea 52... Línea 57...
52
        $this->initializationVector = $initializationVector;
57
        $this->initializationVector = $initializationVector;
53
        $this->tag = $tag;
58
        $this->tag = $tag;
54
        $this->aad = $aad;
59
        $this->aad = $aad;
55
        $this->tagLength = $tagLength;
60
        $this->tagLength = $tagLength;
56
        $this->keySize = $keySize;
61
        $this->keySize = $keySize;
-
 
62
        // unsetting the property forces the first access to go through
-
 
63
        // __get().
-
 
64
        unset($this->stream);
57
    }
65
    }
Línea 58... Línea 66...
58
 
66
 
59
    public function getOpenSslName()
67
    public function getOpenSslName()
60
    {
68
    {
Línea 98... Línea 106...
98
            }
106
            }
99
            return Psr7\Utils::streamFor($result);
107
            return Psr7\Utils::streamFor($result);
100
        }
108
        }
101
    }
109
    }
Línea 102... Línea 110...
102
 
110
 
103
    public function isWritable()
111
    public function isWritable(): bool
104
    {
112
    {
105
        return false;
113
        return false;
106
    }
114
    }