lib/JWX/JWE/EncryptionAlgorithm/AESCBCAlgorithm.php 1 location
|
@@ 178-184 (lines=7) @@
|
| 175 |
|
* |
| 176 |
|
* @return string|null |
| 177 |
|
*/ |
| 178 |
|
protected function _getLastOpenSSLError() { |
| 179 |
|
$msg = null; |
| 180 |
|
while (false !== ($err = openssl_error_string())) { |
| 181 |
|
$msg = $err; |
| 182 |
|
} |
| 183 |
|
return $msg; |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
public function ivSize() { |
| 187 |
|
return 16; |
lib/JWX/JWS/Algorithm/OpenSSLSignatureAlgorithm.php 1 location
|
@@ 79-85 (lines=7) @@
|
| 76 |
|
* |
| 77 |
|
* @return string|null |
| 78 |
|
*/ |
| 79 |
|
protected function _getLastOpenSSLError() { |
| 80 |
|
$msg = null; |
| 81 |
|
while (false !== ($err = openssl_error_string())) { |
| 82 |
|
$msg = $err; |
| 83 |
|
} |
| 84 |
|
return $msg; |
| 85 |
|
} |
| 86 |
|
} |
| 87 |
|
|
lib/JWX/JWE/KeyAlgorithm/RSAESKeyAlgorithm.php 1 location
|
@@ 189-195 (lines=7) @@
|
| 186 |
|
* |
| 187 |
|
* @return string|null |
| 188 |
|
*/ |
| 189 |
|
protected function _getLastOpenSSLError() { |
| 190 |
|
$msg = null; |
| 191 |
|
while (false !== ($err = openssl_error_string())) { |
| 192 |
|
$msg = $err; |
| 193 |
|
} |
| 194 |
|
return $msg; |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
public function headerParameters() { |
| 198 |
|
return array(AlgorithmParameter::fromAlgorithm($this)); |