Class IdentifiedRegion
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.oer.its.ieee1609dot2.basetypes.IdentifiedRegion
-
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice,org.bouncycastle.asn1.ASN1Encodable,RegionInterface,org.bouncycastle.util.Encodable
public class IdentifiedRegion extends org.bouncycastle.asn1.ASN1Object implements org.bouncycastle.asn1.ASN1Choice, RegionInterface
IdentifiedRegion ::= CHOICE { countryOnly CountryOnly, countryAndRegions CountryAndRegions, countryAndSubregions CountryAndSubregions, ... }
-
-
Field Summary
Fields Modifier and Type Field Description static intcountryAndRegionsstatic intcountryAndSubregionsstatic intcountryOnly
-
Constructor Summary
Constructors Constructor Description IdentifiedRegion(int choice, org.bouncycastle.asn1.ASN1Encodable region)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentifiedRegioncountryAndRegions(CountryAndRegions value)static IdentifiedRegioncountryAndSubregions(CountryAndSubregions countryAndSubregions)static IdentifiedRegioncountryOnly(CountryOnly only)intgetChoice()org.bouncycastle.asn1.ASN1EncodablegetIdentifiedRegion()static IdentifiedRegiongetInstance(java.lang.Object o)org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()
-
-
-
Field Detail
-
countryOnly
public static final int countryOnly
- See Also:
- Constant Field Values
-
countryAndRegions
public static final int countryAndRegions
- See Also:
- Constant Field Values
-
countryAndSubregions
public static final int countryAndSubregions
- See Also:
- Constant Field Values
-
-
Method Detail
-
countryOnly
public static IdentifiedRegion countryOnly(CountryOnly only)
-
countryAndRegions
public static IdentifiedRegion countryAndRegions(CountryAndRegions value)
-
countryAndSubregions
public static IdentifiedRegion countryAndSubregions(CountryAndSubregions countryAndSubregions)
-
getInstance
public static IdentifiedRegion getInstance(java.lang.Object o)
-
getChoice
public int getChoice()
-
getIdentifiedRegion
public org.bouncycastle.asn1.ASN1Encodable getIdentifiedRegion()
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
-