All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.jcajce.PKIXCertRevocationCheckerParameters Maven / Gradle / Ivy

There is a newer version: 1.2.2.1-jre17
Show 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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy