<?php

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2016 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Jose\Algorithm;

interface KeyEncryptionAlgorithmInterface extends JWAInterface
{
    const MODE_DIRECT = 'dir';
    const MODE_ENCRYPT = 'enc';
    const MODE_WRAP = 'wrap';
    const MODE_AGREEMENT = 'agree';

    /**
     * @return string
     */
    public function getKeyManagementMode();
}
