org.webdocwf.util.smime.der
Class DERInteger

java.lang.Object
  |
  +--org.webdocwf.util.smime.der.DERObject
        |
        +--org.webdocwf.util.smime.der.DERInteger
Direct Known Subclasses:
CertificateSerialNumber, CMSVersion

public class DERInteger
extends DERObject

DERInteger is primitive type of DER encoded object which represents integer value in ASN.1 notation.


Constructor Summary
DERInteger(java.math.BigInteger integer0)
          Construction with the given BigInteger type of data.
DERInteger(long integer0)
          Construction with the given integer value.
 
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

DERInteger

public DERInteger(long integer0)
           throws SMIMEException
Construction with the given integer value. This constructor is limited with dimension of Java type - long (from -9223372036854775808 to 9223372036854775807)
Parameters:
integer0 - data (long type)
Throws:
SMIMEException - thrown in super class constructor or in super class addContent method.

DERInteger

public DERInteger(java.math.BigInteger integer0)
           throws SMIMEException
Construction with the given BigInteger type of data. This constructor is used for integer numbers greater that long Java type can provide
Parameters:
integer0 - data (BigInteger type)
Throws:
SMIMEException - thrown in super class constructor or in super class addContent method.


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