Class CMSVersion


public class CMSVersion
extends DERInteger

CMSVersion class is DER encoded integer represented in ASN.1 notation according to RFC2630.

CMSVersion ::= INTEGER { v0(0), v1(1), v2(2), v3(3), v4(4) }

Constructor Summary
CMSVersion(int ver0)
          Construction is possible only for few discret integer values
Methods inherited from class org.webdocwf.util.smime.der.DERObject
getContentOctets, getContentPartSize, getDEREncoded, getIdentifierOctet, getLengthOctets, getLengthPartSize, getTagClassType, getTagComplexity, getTagTypeNumber, getTotalSize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public CMSVersion(int ver0)
           throws SMIMEException
Construction is possible only for few discret integer values
ver0 - can be 0, 1, 2, 3 or 4
SMIMEException - if parameter ver0 is not from group 0, 1, 2, 3 or 4. Also, it can be thrown from super class constructor.

Copyright © 2002-2002 Together Teamlösungen. All Rights Reserved.