SOMA.security.infrastructure
Class CertificateCRLList

java.lang.Object
  extended byPKCS7CertList
      extended bySOMA.security.infrastructure.CertificateCRLList
All Implemented Interfaces:
java.io.Serializable

public class CertificateCRLList
extends PKCS7CertList
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.util.Date lastCertUpdate
           
protected  java.util.Date lastCRLUpdate
           
 
Constructor Summary
CertificateCRLList()
           
CertificateCRLList(java.io.InputStream is)
          Constructor a CertList with an input; see the method void writeTo(java.io.OutputStream os) for the output
CertificateCRLList(X509Certificate[] certificateList, X509CRL[] crlList)
          Constructor a CertList with an array of cert; see the method void writeTo(java.io.OutputStream os) for the output
 
Method Summary
 boolean CertificateInList(X509Certificate cert)
           
 boolean certInCRL(X509Certificate[] certs)
           
 X509Certificate getCertificate(java.lang.String dn)
           
 java.security.Principal getIssuerDN()
           
 java.security.Principal getIssuerDN(int position)
           
 java.util.Date getLastCertUpdate()
           
 java.util.Date getLastCRLUpdate()
           
 boolean isEmpty()
           
 long lengthCert()
           
 long lengthCRL()
           
 java.util.Enumeration[] listRevockedCertificates()
           
 CertificateCRLList putCertificate(X509Certificate cert)
           
 void setCertificateList(X509Certificate[] certificateList)
           
 void setCRLList(X509CRL[] crlList)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lastCRLUpdate

protected java.util.Date lastCRLUpdate

lastCertUpdate

protected java.util.Date lastCertUpdate
Constructor Detail

CertificateCRLList

public CertificateCRLList()
                   throws java.io.IOException,
                          iaik.pkcs.PKCSParsingException

CertificateCRLList

public CertificateCRLList(java.io.InputStream is)
                   throws java.io.IOException,
                          iaik.pkcs.PKCSParsingException
Constructor a CertList with an input; see the method void writeTo(java.io.OutputStream os) for the output

Parameters:
is - is the imput stream for load a cerification list.

CertificateCRLList

public CertificateCRLList(X509Certificate[] certificateList,
                          X509CRL[] crlList)
                   throws java.io.IOException,
                          iaik.pkcs.PKCSParsingException
Constructor a CertList with an array of cert; see the method void writeTo(java.io.OutputStream os) for the output

Method Detail

CertificateInList

public boolean CertificateInList(X509Certificate cert)

putCertificate

public CertificateCRLList putCertificate(X509Certificate cert)
                                  throws java.io.IOException,
                                         iaik.pkcs.PKCSParsingException
Throws:
java.io.IOException
iaik.pkcs.PKCSParsingException

getCertificate

public X509Certificate getCertificate(java.lang.String dn)

isEmpty

public boolean isEmpty()

lengthCert

public long lengthCert()

lengthCRL

public long lengthCRL()

getIssuerDN

public java.security.Principal getIssuerDN(int position)

getIssuerDN

public java.security.Principal getIssuerDN()

certInCRL

public boolean certInCRL(X509Certificate[] certs)

listRevockedCertificates

public java.util.Enumeration[] listRevockedCertificates()

setCRLList

public void setCRLList(X509CRL[] crlList)

setCertificateList

public void setCertificateList(X509Certificate[] certificateList)

getLastCRLUpdate

public java.util.Date getLastCRLUpdate()

getLastCertUpdate

public java.util.Date getLastCertUpdate()

toString

public java.lang.String toString()


Copyright © 2004 Luca Foschini