summary refs log tree commit diff
path: root/crypto/src/asn1/IAsn1Choice.cs
blob: 7ca87d48a52bfcdae70c643427dd318ed1d38d69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Org.BouncyCastle.Asn1
{
	/**
	 * Marker interface for CHOICE objects - if you implement this in a roll-your-own
	 * object, any attempt to tag the object implicitly will convert the tag to an
	 * explicit one as the encoding rules require.
	 * <p>
	 * If you use this interface your class should also implement the getInstance
	 * pattern which takes a tag object and the tagging mode used. 
	 * </p>
	 */
	// TODO[api] Add method to Report the smallest tag that can appear (for use with CER encoding rules).
	public interface IAsn1Choice
	{
		// marker interface
	}
}