001 package com.nimbusds.jose;
002
003
004 /**
005 * Enumeration of JOSE algorithm implementation requirements. Refers to the
006 * requirement levels defined in RFC 2119.
007 *
008 * @author Vladimir Dzhuvinov
009 * @version $version$ (2012-09-17)
010 */
011 public enum Requirement {
012
013
014 /**
015 * The implementation of the algorithm is required.
016 */
017 REQUIRED,
018
019
020 /**
021 * The implementation of the algorithm is recommended.
022 */
023 RECOMMENDED,
024
025
026 /**
027 * The implementation of the algorithm is optional.
028 */
029 OPTIONAL;
030 }