added predis and eseye back in.
This commit is contained in:
32
vendor/web-token/jwt-encryption/Algorithm/KeyEncryptionAlgorithm.php
vendored
Normal file
32
vendor/web-token/jwt-encryption/Algorithm/KeyEncryptionAlgorithm.php
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014-2020 Spomky-Labs
|
||||
*
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Jose\Component\Encryption\Algorithm;
|
||||
|
||||
use Jose\Component\Core\Algorithm;
|
||||
|
||||
interface KeyEncryptionAlgorithm extends Algorithm
|
||||
{
|
||||
public const MODE_DIRECT = 'dir';
|
||||
|
||||
public const MODE_ENCRYPT = 'enc';
|
||||
|
||||
public const MODE_WRAP = 'wrap';
|
||||
|
||||
public const MODE_AGREEMENT = 'agree';
|
||||
|
||||
/**
|
||||
* Returns the key management mode used by the key encryption algorithm.
|
||||
*/
|
||||
public function getKeyManagementMode(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user