|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.ac.AttCertVersion
public class AttCertVersion
This class represents the AttCertVersion ASN.1 construct. It has two predefined integers in it: V1 and V2, but you can always specify your own.
Field Summary | |
---|---|
static java.math.BigInteger |
DEFAULT
|
static java.math.BigInteger |
V1
|
static java.math.BigInteger |
V2
|
protected java.math.BigInteger |
version
|
Constructor Summary | |
---|---|
AttCertVersion()
This constructor creates an object with the version set to default (V1). |
|
AttCertVersion(ASN1Object ao)
This constructor creates the AttCertVersion from a given ASN1Object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
decode(ASN1Object ao)
This method decodes and sets the version from a given ASN1Object. |
java.math.BigInteger |
getVersion()
Returns the version of the AC. |
void |
setVersion(java.math.BigInteger version)
Sets the version of the AC. |
ASN1Object |
toASN1Object()
This method returns the ASN1Object of the version. |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String ident)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.math.BigInteger V1
public static final java.math.BigInteger V2
public static final java.math.BigInteger DEFAULT
protected java.math.BigInteger version
Constructor Detail |
---|
public AttCertVersion()
public AttCertVersion(ASN1Object ao) throws CodingException
ao
- - the ASN1Object containing an INTEGER with the version; if null,
the default version is assumed (V1)
CodingException
Method Detail |
---|
public java.math.BigInteger getVersion()
public void setVersion(java.math.BigInteger version)
public ASN1Object toASN1Object() throws CodingException
CodingException
public void decode(ASN1Object ao) throws CodingException
ao
- - the ASN1Object with the version; it must be an INTEGER; if
null, the default version is assumed
CodingException
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.lang.String ident)
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |