|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.cms.CMSVersion
public class CMSVersion
The CMSVersion.
The CMSVersion is defined as ASN.1 Integer: (see RFC 5652):
CMSVersion ::= INTEGER { v0(0), v1(1), v2(2), v3(3), v4(4), v5(5) }
Constructor Summary | |
---|---|
CMSVersion(int version)
Creates a CMSVersion from the version number. |
Method Summary | |
---|---|
void |
clearEncoded()
Clears the encoded CMSVersion. |
byte[] |
getEncoded()
Returns the DER encoded CMSVersion. |
int |
getVersion()
Gets the version. |
ASN1Object |
toASN1Object()
Returns this CMSVersion as ASN1Object. |
java.lang.String |
toString()
Returns a String representation of the version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CMSVersion(int version)
version
- the version numberMethod Detail |
---|
public int getVersion()
public ASN1Object toASN1Object()
public byte[] getEncoded()
public void clearEncoded()
toASN1Object()
or
getEncoded()
will build the internal ASN.1 object
anew.
public java.lang.String toString()
toString
in class java.lang.Object
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |