org.webdocwf.util.smime.cms
Class CertificateSerialNumber

java.lang.Object
  |
  +--org.webdocwf.util.smime.der.DERObject
        |
        +--org.webdocwf.util.smime.der.DERInteger
              |
              +--org.webdocwf.util.smime.cms.CertificateSerialNumber

public class CertificateSerialNumber
extends DERInteger

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

CertificateSerialNumber ::= INTEGER


Constructor Summary
CertificateSerialNumber(java.math.BigInteger integer0)
          Construction with BigInteger type of data as input.
CertificateSerialNumber(long longNumb0)
          Construction with integer as input.
CertificateSerialNumber(java.security.cert.X509Certificate cert0)
          Construction by extracting serial number from X509 certificate
 
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

CertificateSerialNumber

public CertificateSerialNumber(java.math.BigInteger integer0)
                        throws SMIMEException
Construction with BigInteger type of data as input. This constructor is used for integer numbers larger than long Java type can provide
Parameters:
integer0 - data of type BigInteger.
Throws:
SMIMEException - thrown from super class constructor.

CertificateSerialNumber

public CertificateSerialNumber(java.security.cert.X509Certificate cert0)
                        throws SMIMEException
Construction by extracting serial number from X509 certificate
Parameters:
cert0 - X509Certificate
Throws:
SMIMEException - thrown from super class constructor.

CertificateSerialNumber

public CertificateSerialNumber(long longNumb0)
                        throws SMIMEException
Construction with integer as input. This constructor is limited with dimension of Java type - long (from -9223372036854775808 to 9223372036854775807)
Parameters:
longNumb0 - data of type long
Throws:
SMIMEException - thrown from super class constructor.


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