aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/java/org/spongycastle/asn1/ASN1Choice.java
blob: 92e15c08ea95cb993f03d5a42620c8bc64b62ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.spongycastle.asn1;

/**
 * Marker interface for CHOICE objects - if you implement this in a role 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. 
 */
public interface ASN1Choice
{
    // marker interface
}