| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 37 | public function unwrapAgreementKey(JWKInterface $receiver_key, $encrypted_cek, $encryption_key_length, array $complete_header) |
||
| 38 | { |
||
| 39 | $ecdh_es = new ECDHES(); |
||
| 40 | |||
| 41 | $agreement_key = $ecdh_es->getAgreementKey($encryption_key_length, $receiver_key, null, $complete_header); |
||
| 42 | $wrapper = $this->getWrapper(); |
||
| 43 | |||
| 44 | return $wrapper->unwrap($agreement_key, $encrypted_cek); |
||
| 45 | } |
||
| 46 | |||
| 60 |