org.bouncycastle.jcajce.PKIXCertRevocationCheckerParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk14 Show documentation
Show all versions of bcprov-jdk14 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.4.
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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy