org.spongycastle.x509.CertStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of prov Show documentation
Show all versions of prov Show documentation
Spongy Castle is a package-rename (org.bouncycastle.* to org.spongycastle.*) of Bouncy Castle
intended for the Android platform. Android unfortunately ships with a stripped-down version of
Bouncy Castle, which prevents easy upgrades - Spongy Castle overcomes this and provides a full,
up-to-date version of the Bouncy Castle cryptographic libs.
The newest version!
package org.spongycastle.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;
}
}