| /* GENERATED SOURCE. DO NOT MODIFY. */ |
| package com.android.org.bouncycastle.jcajce.provider.asymmetric.x509; |
| |
| import java.security.cert.CRLException; |
| |
| import com.android.org.bouncycastle.asn1.x509.CertificateList; |
| import com.android.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; |
| } |
| } |