Top Description Inners Fields Constructors Methods
org.bouncycastle.oer.its.ieee1609dot2.basetypes

public Class CountryAndRegions

extends ASN1Object
implements RegionInterface
Class Inheritance
All Implemented Interfaces
org.bouncycastle.oer.its.ieee1609dot2.basetypes.RegionInterface
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1Primitive, .ASN1Sequence, org.bouncycastle.oer.its.ItsUtils

CountryAndRegions ::= SEQUENCE { countryOnly CountryOnly, regions SequenceOfUint8 }

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final CountryOnly
private final SequenceOfUint8

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static CountryAndRegions.Builder
public CountryOnly
public static CountryAndRegions
public SequenceOfUint8
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

countryOnlyback to summary
private final CountryOnly countryOnly
regionsback to summary
private final SequenceOfUint8 regions

Constructor Detail

CountryAndRegionsback to summary
public CountryAndRegions(CountryOnly countryOnly, SequenceOfUint8 regionList)
CountryAndRegionsback to summary
private CountryAndRegions(ASN1Sequence sequence)

Method Detail

builderback to summary
public static CountryAndRegions.Builder builder()
getCountryOnlyback to summary
public CountryOnly getCountryOnly()
getInstanceback to summary
public static CountryAndRegions getInstance(Object object)
getRegionsback to summary
public SequenceOfUint8 getRegions()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

org.bouncycastle.oer.its.ieee1609dot2.basetypes back to summary

public Class CountryAndRegions.Builder

extends Object
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.oer.its.ieee1609dot2.basetypes.CountryAndRegions.Builder

Field Summary

Modifier and TypeField and Description
private CountryOnly
private SequenceOfUint8

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CountryAndRegions
public CountryAndRegions.Builder
public CountryAndRegions.Builder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countryOnlyback to summary
private CountryOnly countryOnly
regionListback to summary
private SequenceOfUint8 regionList

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createCountryAndRegionsback to summary
public CountryAndRegions createCountryAndRegions()
setCountryOnlyback to summary
public CountryAndRegions.Builder setCountryOnly(CountryOnly countryOnly)
setRegionsback to summary
public CountryAndRegions.Builder setRegions(SequenceOfUint8 regionList)