public static class NamedTokens extends BerChoice {
public BerNode create(int tag, BerInputStream stream) {
switch (tag) {
case Tag.CONTEXT | 0:
return new Identifier().init("freeNamedToken", "freeNamedToken", tag, stream);
case Tag.CONTEXT | 1:
return new Identifier().init("ownedNamedToken", "ownedNamedToken", tag, stream);
case Tag.CONTEXT | 2:
return new Identifier().init("hungNamedToken", "hungNamedToken", tag, stream);
default:
return Asn1Utils.createUnknown(tag, stream);
}
}