summaryrefslogtreecommitdiffstats
path: root/src/net/gcdc/asn1/datatypes/RestrictedString.java
blob: 6ad6bdc1f6a05d73060fc6515cf27c2e8cbd5454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package net.gcdc.asn1.datatypes;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RestrictedString {
    CharacterRestriction value();
    Class<? extends Alphabet> alphabet() default DefaultAlphabet.class;
}