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

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

Go to download

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.5 to JDK 1.8.

There is a newer version: 1.79
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