org.bouncycastle.jcajce.provider.asymmetric.x509.X509CRLInternal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15on Show documentation
Show all versions of bcprov-jdk15on 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.5 and up.
package org.bouncycastle.jcajce.provider.asymmetric.x509;
import java.security.cert.CRLException;
import org.bouncycastle.asn1.x509.CertificateList;
import org.bouncycastle.jcajce.util.JcaJceHelper;
class X509CRLInternal extends X509CRLImpl
{
private final byte[] encoding;
X509CRLInternal(JcaJceHelper bcHelper, CertificateList c, String sigAlgName, byte[] sigAlgParams, boolean isIndirect,
byte[] encoding)
{
super(bcHelper, c, sigAlgName, sigAlgParams, isIndirect);
this.encoding = encoding;
}
public byte[] getEncoded() throws CRLException
{
if (null == encoding)
{
throw new CRLException();
}
return encoding;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy