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

public Class CountryAndSubregions

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence

CountryAndSubregions ::= SEQUENCE { country CountryOnly, regionAndSubregions SequenceOfRegionAndSubregions }

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 SequenceOfRegionAndSubregions

Constructor Summary

AccessConstructor and Description
public
private

Method Summary

Modifier and TypeMethod and Description
public static CountryAndSubregions.Builder
public CountryOnly
public static CountryAndSubregions
public SequenceOfRegionAndSubregions
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

countryback to summary
private final CountryOnly country
regionAndSubregionsback to summary
private final SequenceOfRegionAndSubregions regionAndSubregions

Constructor Detail

CountryAndSubregionsback to summary
public CountryAndSubregions(CountryOnly countryOnly, SequenceOfRegionAndSubregions regionAndSubregions)
CountryAndSubregionsback to summary
private CountryAndSubregions(ASN1Sequence sequence)

Method Detail

builderback to summary
public static CountryAndSubregions.Builder builder()
getCountryback to summary
public CountryOnly getCountry()
getInstanceback to summary
public static CountryAndSubregions getInstance(Object o)
getRegionAndSubregionsback to summary
public SequenceOfRegionAndSubregions getRegionAndSubregions()
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.

Annotations
@Override
org.bouncycastle.oer.its.ieee1609dot2.basetypes back to summary

public Class CountryAndSubregions.Builder

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

Field Summary

Modifier and TypeField and Description
private CountryOnly
private SequenceOfRegionAndSubregions

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Field Detail

countryback to summary
private CountryOnly country
regionAndSubregionsback to summary
private SequenceOfRegionAndSubregions regionAndSubregions

Constructor Detail

Builderback to summary
public Builder()

Method Detail

createCountryAndSubregionsback to summary
public CountryAndSubregions createCountryAndSubregions()
setCountryback to summary
public CountryAndSubregions.Builder setCountry(CountryOnly country)
setRegionAndSubregionsback to summary
public CountryAndSubregions.Builder setRegionAndSubregions(SequenceOfRegionAndSubregions regionAndSubregions)