org.testifyproject.bouncycastle.cert.ocsp.jcajce.JcaBasicOCSPRespBuilder Maven / Gradle / Ivy
The newest version!
package org.testifyproject.bouncycastle.cert.ocsp.jcajce;
import java.security.PublicKey;
import org.testifyproject.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
import org.testifyproject.bouncycastle.cert.ocsp.BasicOCSPRespBuilder;
import org.testifyproject.bouncycastle.cert.ocsp.OCSPException;
import org.testifyproject.bouncycastle.operator.DigestCalculator;
public class JcaBasicOCSPRespBuilder
extends BasicOCSPRespBuilder
{
public JcaBasicOCSPRespBuilder(PublicKey key, DigestCalculator digCalc)
throws OCSPException
{
super(SubjectPublicKeyInfo.getInstance(key.getEncoded()), digCalc);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy