Top Fields Constructors Methods
org.bouncycastle.oer.its.etsi102941.basetypes

public Class Version

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1Integer, .ASN1Object, .ASN1Primitive, org.bouncycastle.oer.its.ieee1609dot2.basetypes.UINT8

Field Summary

Modifier and TypeField and Description
private final BigInteger

Constructor Summary

AccessConstructor and Description
public
public
Version(int value)

public
Version(long value)

protected

Method Summary

Modifier and TypeMethod and Description
public static Version
public BigInteger
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

versionback to summary
private final BigInteger version

Constructor Detail

Versionback to summary
public Version(BigInteger value)
Versionback to summary
public Version(int value)
Versionback to summary
public Version(long value)
Versionback to summary
protected Version(ASN1Integer integer)

Method Detail

getInstanceback to summary
public static Version getInstance(Object o)
getVersionback to summary
public BigInteger getVersion()
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.