org.bouncycastle.jcajce.PKIXCertRevocationCheckerParameters Maven / Gradle / Ivy
The newest version!
package org.bouncycastle.jcajce;
import java.security.PublicKey;
import java.security.cert.CertPath;
import java.security.cert.X509Certificate;
import java.util.Date;
public class PKIXCertRevocationCheckerParameters
{
private final PKIXExtendedParameters paramsPKIX;
private final Date validDate;
private final CertPath certPath;
private final int index;
private final X509Certificate signingCert;
private final PublicKey workingPublicKey;
public PKIXCertRevocationCheckerParameters(PKIXExtendedParameters paramsPKIX, Date validDate, CertPath certPath, int index, X509Certificate signingCert, PublicKey workingPublicKey)
{
this.paramsPKIX = paramsPKIX;
this.validDate = validDate;
this.certPath = certPath;
this.index = index;
this.signingCert = signingCert;
this.workingPublicKey = workingPublicKey;
}
public PKIXExtendedParameters getParamsPKIX()
{
return paramsPKIX;
}
public Date getValidDate()
{
return new Date(validDate.getTime());
}
public CertPath getCertPath()
{
return certPath;
}
public int getIndex()
{
return index;
}
public X509Certificate getSigningCert()
{
return signingCert;
}
public PublicKey getWorkingPublicKey()
{
return workingPublicKey;
}
}