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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IdentifiedRegionstatic IdentifiedRegioncountryAndSubregions(CountryAndSubregions countryAndSubregions) static IdentifiedRegioncountryOnly(CountryOnly only) intorg.bouncycastle.asn1.ASN1Encodablestatic IdentifiedRegionorg.bouncycastle.asn1.ASN1PrimitiveMethods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
countryOnly
public static final int countryOnly- See Also:
-
countryAndRegions
public static final int countryAndRegions- See Also:
-
countryAndSubregions
public static final int countryAndSubregions- See Also:
-
-
Constructor Details
-
IdentifiedRegion
public IdentifiedRegion(int choice, org.bouncycastle.asn1.ASN1Encodable region)
-
-
Method Details
-
countryOnly
-
countryAndRegions
-
countryAndSubregions
-
getInstance
-
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
-