SOMA.security.infrastructure
Class CertificateCRLList
java.lang.Object
PKCS7CertList
SOMA.security.infrastructure.CertificateCRLList
- All Implemented Interfaces:
- java.io.Serializable
- public class CertificateCRLList
- extends PKCS7CertList
- implements java.io.Serializable
- See Also:
- Serialized Form
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
lastCRLUpdate
protected java.util.Date lastCRLUpdate
lastCertUpdate
protected java.util.Date lastCertUpdate
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
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