|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectiaik.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. |
iaik.asn1.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 number| Method Detail |
|---|
public int getVersion()
public iaik.asn1.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
|
IAIK CMS/SMIME Toolkit API Documentation
Version 6.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
|
v6.1 (c) 2002 IAIK, (c) 2003 - 2025 SIC |
|