// Path: src/main/java/com/wesabe/grendel/util/IntegerEquivalent.java
// public interface IntegerEquivalent {
// 	/**
// 	 * Returns the object as an integer.
// 	 */
// 	public abstract int toInteger();
// }


import java.util.List;
import org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags;
import com.google.common.collect.ImmutableList;
import com.wesabe.grendel.util.IntegerEquivalent;
package com.wesabe.grendel.openpgp;




/**
 * A symmetric encryption algorithm for OpenPGP messages.
 * 
 * @author coda
 * @see <a href="http://www.ietf.org/rfc/rfc4880.txt">Section 9.2, RFC 4880</a>
 */
public enum SymmetricAlgorithm implements IntegerEquivalent {
	/**
	 * Plaintext or unencrypted data
	 * 
	 * @deprecated Do not store unencrypted data.
	 */
	@Deprecated
	PLAINTEXT(	"Plaintext",	SymmetricKeyAlgorithmTags.NULL),
	
	/**
	 * IDEA
	 * 
	 * @deprecated Encumbered by patents.
	 */
	@Deprecated
	IDEA(		"IDEA",			SymmetricKeyAlgorithmTags.IDEA),
	
	/**
	 * TripleDES (DES-EDE, 168 bit key derived from 192)
	 * 
	 * @deprecated Replaced by AES.
	 */
	@Deprecated
// Path: src/main/java/com/wesabe/grendel/util/IntegerEquivalent.java
// public interface IntegerEquivalent {
// 	/**
// 	 * Returns the object as an integer.
// 	 */
// 	public abstract int toInteger();
// }


// Path: src/main/java/com/wesabe/grendel/openpgp/SymmetricAlgorithm.java
import java.util.List;
import org.bouncycastle.bcpg.SymmetricKeyAlgorithmTags;
import com.google.common.collect.ImmutableList;
import com.wesabe.grendel.util.IntegerEquivalent;

package com.wesabe.grendel.openpgp;




/**
 * A symmetric encryption algorithm for OpenPGP messages.
 * 
 * @author coda
 * @see <a href="http://www.ietf.org/rfc/rfc4880.txt">Section 9.2, RFC 4880</a>
 */
public enum SymmetricAlgorithm implements IntegerEquivalent {
	/**
	 * Plaintext or unencrypted data
	 * 
	 * @deprecated Do not store unencrypted data.
	 */
	@Deprecated
	PLAINTEXT(	"Plaintext",	SymmetricKeyAlgorithmTags.NULL),
	
	/**
	 * IDEA
	 * 
	 * @deprecated Encumbered by patents.
	 */
	@Deprecated
	IDEA(		"IDEA",			SymmetricKeyAlgorithmTags.IDEA),
	
	/**
	 * TripleDES (DES-EDE, 168 bit key derived from 192)
	 * 
	 * @deprecated Replaced by AES.
	 */
	@Deprecated
	TRIPLE_DES(	"3DES",			SymmetricKeyAlgorithmTags.TRIPLE_DES),