org.bouncycastle.x509.CertStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15on Show documentation
Show all versions of bcprov-jdk15on Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 and up.
package org.bouncycastle.x509;
import java.util.Date;
class CertStatus
{
public static final int UNREVOKED = 11;
public static final int UNDETERMINED = 12;
int certStatus = UNREVOKED;
Date revocationDate = null;
/**
* @return Returns the revocationDate.
*/
public Date getRevocationDate()
{
return revocationDate;
}
/**
* @param revocationDate The revocationDate to set.
*/
public void setRevocationDate(Date revocationDate)
{
this.revocationDate = revocationDate;
}
/**
* @return Returns the certStatus.
*/
public int getCertStatus()
{
return certStatus;
}
/**
* @param certStatus The certStatus to set.
*/
public void setCertStatus(int certStatus)
{
this.certStatus = certStatus;
}
}