public class org.bouncycastle.cmc.SimplePKIResponse implements org.bouncycastle.util.Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cmc.SimplePKIResponse
super_class: java.lang.Object
{
private final org.bouncycastle.cms.CMSSignedData certificateResponse;
descriptor: Lorg/bouncycastle/cms/CMSSignedData;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static org.bouncycastle.asn1.cms.ContentInfo parseBytes(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/cms/ContentInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.asn1.ASN1Primitive.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
invokestatic org.bouncycastle.asn1.cms.ContentInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/cms/ContentInfo;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new org.bouncycastle.cmc.CMCException
dup
new java.lang.StringBuilder
dup
ldc "malformed data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.bouncycastle.cmc.CMCException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 responseEncoding [B
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.cmc.CMCException
MethodParameters:
Name Flags
responseEncoding
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.cmc.SimplePKIResponse.parseBytes:([B)Lorg/bouncycastle/asn1/cms/ContentInfo;
invokespecial org.bouncycastle.cmc.SimplePKIResponse.<init>:(Lorg/bouncycastle/asn1/cms/ContentInfo;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cmc/SimplePKIResponse;
0 2 1 responseEncoding [B
Exceptions:
throws org.bouncycastle.cmc.CMCException
MethodParameters:
Name Flags
responseEncoding
public void <init>(org.bouncycastle.asn1.cms.ContentInfo);
descriptor: (Lorg/bouncycastle/asn1/cms/ContentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.cms.CMSSignedData
dup
aload 1
invokespecial org.bouncycastle.cms.CMSSignedData.<init>:(Lorg/bouncycastle/asn1/cms/ContentInfo;)V
putfield org.bouncycastle.cmc.SimplePKIResponse.certificateResponse:Lorg/bouncycastle/cms/CMSSignedData;
2: goto 5
3: StackMap locals: org.bouncycastle.cmc.SimplePKIResponse org.bouncycastle.asn1.cms.ContentInfo
StackMap stack: org.bouncycastle.cms.CMSException
astore 2
start local 2 4: new org.bouncycastle.cmc.CMCException
dup
new java.lang.StringBuilder
dup
ldc "malformed response: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.bouncycastle.cms.CMSException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.cmc.CMCException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cmc.SimplePKIResponse.certificateResponse:Lorg/bouncycastle/cms/CMSSignedData;
invokevirtual org.bouncycastle.cms.CMSSignedData.getSignerInfos:()Lorg/bouncycastle/cms/SignerInformationStore;
invokevirtual org.bouncycastle.cms.SignerInformationStore.size:()I
ifeq 7
6: new org.bouncycastle.cmc.CMCException
dup
ldc "malformed response: SignerInfo structures found"
invokespecial org.bouncycastle.cmc.CMCException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cmc.SimplePKIResponse.certificateResponse:Lorg/bouncycastle/cms/CMSSignedData;
invokevirtual org.bouncycastle.cms.CMSSignedData.getSignedContent:()Lorg/bouncycastle/cms/CMSTypedData;
ifnull 9
8: new org.bouncycastle.cmc.CMCException
dup
ldc "malformed response: Signed Content found"
invokespecial org.bouncycastle.cmc.CMCException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/cmc/SimplePKIResponse;
0 10 1 signedData Lorg/bouncycastle/asn1/cms/ContentInfo;
4 5 2 e Lorg/bouncycastle/cms/CMSException;
Exception table:
from to target type
1 2 3 Class org.bouncycastle.cms.CMSException
Exceptions:
throws org.bouncycastle.cmc.CMCException
MethodParameters:
Name Flags
signedData
public org.bouncycastle.util.Store<org.bouncycastle.cert.X509CertificateHolder> getCertificates();
descriptor: ()Lorg/bouncycastle/util/Store;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cmc.SimplePKIResponse.certificateResponse:Lorg/bouncycastle/cms/CMSSignedData;
invokevirtual org.bouncycastle.cms.CMSSignedData.getCertificates:()Lorg/bouncycastle/util/Store;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cmc/SimplePKIResponse;
Signature: ()Lorg/bouncycastle/util/Store<Lorg/bouncycastle/cert/X509CertificateHolder;>;
public org.bouncycastle.util.Store<org.bouncycastle.cert.X509CRLHolder> getCRLs();
descriptor: ()Lorg/bouncycastle/util/Store;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cmc.SimplePKIResponse.certificateResponse:Lorg/bouncycastle/cms/CMSSignedData;
invokevirtual org.bouncycastle.cms.CMSSignedData.getCRLs:()Lorg/bouncycastle/util/Store;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cmc/SimplePKIResponse;
Signature: ()Lorg/bouncycastle/util/Store<Lorg/bouncycastle/cert/X509CRLHolder;>;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cmc.SimplePKIResponse.certificateResponse:Lorg/bouncycastle/cms/CMSSignedData;
invokevirtual org.bouncycastle.cms.CMSSignedData.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cmc/SimplePKIResponse;
Exceptions:
throws java.io.IOException
}
SourceFile: "SimplePKIResponse.java"