org.bouncycastle.pkix.jcajce.CertStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcpkix-jdk15on Show documentation
Show all versions of bcpkix-jdk15on Show documentation
The Bouncy Castle Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation. This jar contains APIs for JDK 1.5 to JDK 1.8. The APIs can be used in conjunction with a JCE/JCA provider such as the one provided with the Bouncy Castle Cryptography APIs.
package org.bouncycastle.pkix.jcajce;
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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy