org.webdocwf.util.smime.cms
Class Certificates

java.lang.Object
  |
  +--org.webdocwf.util.smime.der.DERObject
        |
        +--org.webdocwf.util.smime.der.DERClassContextSpecificPr
              |
              +--org.webdocwf.util.smime.cms.Certificates

public class Certificates
extends DERClassContextSpecificPr

Certificates class is DER encoded container, represented in ASN.1 notation according to RFC2630, for storing X509 certificates or for storing certificates chain in CMS object of signed message.

certificates [0] IMPLICIT CertificateSet OPTIONAL


Constructor Summary
Certificates()
          Constructs structured DER encoded object with tag Class Context Specific
 
Method Summary
 void addCertificate(java.security.cert.X509Certificate cert0)
          Adds X509 Certificate
 
Methods inherited from class org.webdocwf.util.smime.der.DERClassContextSpecificPr
addContent
 
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

Certificates

public Certificates()
             throws SMIMEException
Constructs structured DER encoded object with tag Class Context Specific
Throws:
SMIMEException - thrown from super class constructor.
Method Detail

addCertificate

public void addCertificate(java.security.cert.X509Certificate cert0)
                    throws SMIMEException
Adds X509 Certificate
Parameters:
cert0 - X509Certificate
Throws:
SMIMEException - caused by non SMIMEException which is: CertificateEncodingException. Also, it can be thrown from super class addContent method.


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