All Packages Class Hierarchy This Package Previous Next Index
Class iaik.x509.RevokedCertificate
java.lang.Object
|
+----iaik.x509.X509Extensions
|
+----iaik.x509.RevokedCertificate
- public class RevokedCertificate
- extends X509Extensions
This class represents a revoked certificate.
-
RevokedCertificate(ASN1Object)
- Crates a revoked certificate from an ASN1Object.
-
RevokedCertificate(BigInteger, Date)
- Creates a revoked certificate from a serial number and a date.
-
RevokedCertificate(X509Certificate, Date)
- Creates a revoked certificate from a certificate and a date.
-
getRevocationDate()
- Returns the revocation date of the revoked cert.
-
getSerialNumber()
- Returns the serial number of the revoked cert.
-
setRevocationDate(Date)
- Set the revocation date of the certificate.
-
setSerialNumber(BigInteger)
- Set the serial number for the revoked cert.
-
toASN1Object()
- Returns the revoked certificate as ASN1Object.
-
toString()
- Returns a string that represents this revoked certificate.
-
toString(boolean)
- Returns a string that represents this revoked certificate.
RevokedCertificate
public RevokedCertificate(ASN1Object obj) throws CertException
- Crates a revoked certificate from an ASN1Object.
- Parameters:
- obj - the revoked certificate as ASN1Object
- Throws: CertException
- if the ASN1Object has the wrong format
RevokedCertificate
public RevokedCertificate(X509Certificate cert,
Date revocationDate)
- Creates a revoked certificate from a certificate and a date.
- Parameters:
- cert - the certificate, which should be revoked
- revocationDate - the date when the becomes unvalid
RevokedCertificate
public RevokedCertificate(BigInteger serialNumber,
Date revocationDate)
- Creates a revoked certificate from a serial number and a date.
- Parameters:
- serialNumber - the serial number of the cert to revoke
- revocationDate - the date when the certificate becomes unvalid
toASN1Object
public ASN1Object toASN1Object() throws CertException
- Returns the revoked certificate as ASN1Object.
- Returns:
- the revoked cert as ASN1Object
- Throws: CertException
- if the ASN1Object could not be created
setSerialNumber
public void setSerialNumber(BigInteger serialNumber)
- Set the serial number for the revoked cert.
- Parameters:
- serialNumber - the serial number of the revoked cert
setRevocationDate
public void setRevocationDate(Date revocationDate)
- Set the revocation date of the certificate.
- Parameters:
- revocationDate - the date when the certificate becomes unvalid
getSerialNumber
public BigInteger getSerialNumber()
- Returns the serial number of the revoked cert.
- Returns:
- the serial number of the revoked cert
getRevocationDate
public Date getRevocationDate()
- Returns the revocation date of the revoked cert.
- Returns:
- the date when the certificate becomes unvalid
toString
public String toString()
- Returns a string that represents this revoked certificate.
- Returns:
- the string representation
- Overrides:
- toString in class Object
toString
public String toString(boolean detailed)
- Returns a string that represents this revoked certificate.
- Parameters:
- detailed - - whether or not to give detailed information about the certificate.
- Returns:
- the string representation
All Packages Class Hierarchy This Package Previous Next Index