cleaned up composer
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
|
||||
|
||||
use Jose\Component\Core\JWK;
|
||||
use Jose\Component\Encryption\Algorithm\KeyEncryptionAlgorithm;
|
||||
|
||||
interface KeyAgreement extends KeyEncryptionAlgorithm
|
||||
{
|
||||
/**
|
||||
* Computes the agreement key.
|
||||
*
|
||||
* @param array<string, mixed> $completeHeader
|
||||
* @param array<string, mixed> $additionalHeaderValues
|
||||
*/
|
||||
public function getAgreementKey(
|
||||
int $encryptionKeyLength,
|
||||
string $algorithm,
|
||||
JWK $recipientKey,
|
||||
?JWK $senderKey,
|
||||
array $completeHeader = [],
|
||||
array &$additionalHeaderValues = []
|
||||
): string;
|
||||
}
|
||||
Reference in New Issue
Block a user