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-fips Show documentation
Show all versions of bcpkix-fips Show documentation
The Bouncy Castle Java APIs for CMS, PKCS, EAC, TSP, CMP, CRMF, OCSP, and certificate generation. The APIs are designed primarily to be used in conjunction with the BC FIPS provider. The APIs may also be used with other providers although if being used in a FIPS context it is the responsibility of the user to ensure that any other providers used are FIPS certified.
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