public class org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder
super_class: java.lang.Object
{
private org.bouncycastle.asn1.cmp.PKIHeaderBuilder ;
descriptor: Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.cmp.PKIBody body;
descriptor: Lorg/bouncycastle/asn1/cmp/PKIBody;
flags: (0x0002) ACC_PRIVATE
private java.util.List generalInfos;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.util.List ;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.x509.GeneralName, org.bouncycastle.asn1.x509.GeneralName);
descriptor: (Lorg/bouncycastle/asn1/x509/GeneralName;Lorg/bouncycastle/asn1/x509/GeneralName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_2
aload 1
aload 2
invokespecial org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.<init>:(ILorg/bouncycastle/asn1/x509/GeneralName;Lorg/bouncycastle/asn1/x509/GeneralName;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 sender Lorg/bouncycastle/asn1/x509/GeneralName;
0 2 2 recipient Lorg/bouncycastle/asn1/x509/GeneralName;
MethodParameters:
Name Flags
sender
recipient
public void <init>(int, org.bouncycastle.asn1.x509.GeneralName, org.bouncycastle.asn1.x509.GeneralName);
descriptor: (ILorg/bouncycastle/asn1/x509/GeneralName;Lorg/bouncycastle/asn1/x509/GeneralName;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.generalInfos:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.extraCerts:Ljava/util/List;
3: aload 0
new org.bouncycastle.asn1.cmp.PKIHeaderBuilder
dup
iload 1
aload 2
aload 3
invokespecial org.bouncycastle.asn1.cmp.PKIHeaderBuilder.<init>:(ILorg/bouncycastle/asn1/x509/GeneralName;Lorg/bouncycastle/asn1/x509/GeneralName;)V
putfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 5 1 pvno I
0 5 2 sender Lorg/bouncycastle/asn1/x509/GeneralName;
0 5 3 recipient Lorg/bouncycastle/asn1/x509/GeneralName;
MethodParameters:
Name Flags
pvno
sender
recipient
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setTransactionID(byte[]);
descriptor: ([B)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setTransactionID:([B)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 tid [B
MethodParameters:
Name Flags
tid
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setFreeText(org.bouncycastle.asn1.cmp.PKIFreeText);
descriptor: (Lorg/bouncycastle/asn1/cmp/PKIFreeText;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setFreeText:(Lorg/bouncycastle/asn1/cmp/PKIFreeText;)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 freeText Lorg/bouncycastle/asn1/cmp/PKIFreeText;
MethodParameters:
Name Flags
freeText
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder addGeneralInfo(org.bouncycastle.asn1.cmp.InfoTypeAndValue);
descriptor: (Lorg/bouncycastle/asn1/cmp/InfoTypeAndValue;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.generalInfos:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 genInfo Lorg/bouncycastle/asn1/cmp/InfoTypeAndValue;
MethodParameters:
Name Flags
genInfo
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setMessageTime(java.util.Date);
descriptor: (Ljava/util/Date;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
new org.bouncycastle.asn1.ASN1GeneralizedTime
dup
aload 1
invokespecial org.bouncycastle.asn1.ASN1GeneralizedTime.<init>:(Ljava/util/Date;)V
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setMessageTime:(Lorg/bouncycastle/asn1/ASN1GeneralizedTime;)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 time Ljava/util/Date;
MethodParameters:
Name Flags
time
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setRecipKID(byte[]);
descriptor: ([B)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setRecipKID:([B)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 kid [B
MethodParameters:
Name Flags
kid
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setRecipNonce(byte[]);
descriptor: ([B)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setRecipNonce:([B)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 nonce [B
MethodParameters:
Name Flags
nonce
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setSenderKID(byte[]);
descriptor: ([B)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setSenderKID:([B)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 kid [B
MethodParameters:
Name Flags
kid
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setSenderNonce(byte[]);
descriptor: ([B)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setSenderNonce:([B)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 nonce [B
MethodParameters:
Name Flags
nonce
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder setBody(org.bouncycastle.asn1.cmp.PKIBody);
descriptor: (Lorg/bouncycastle/asn1/cmp/PKIBody;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.body:Lorg/bouncycastle/asn1/cmp/PKIBody;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 body Lorg/bouncycastle/asn1/cmp/PKIBody;
MethodParameters:
Name Flags
body
public org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder addCMPCertificate(org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.extraCerts:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 2 1 extraCert Lorg/bouncycastle/cert/X509CertificateHolder;
MethodParameters:
Name Flags
extraCert
public org.bouncycastle.cert.cmp.ProtectedPKIMessage build(org.bouncycastle.operator.MacCalculator);
descriptor: (Lorg/bouncycastle/operator/MacCalculator;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.bouncycastle.operator.MacCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.finaliseHeader:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
1: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.build:()Lorg/bouncycastle/asn1/cmp/PKIHeader;
astore 2
start local 2 2: new org.bouncycastle.asn1.DERBitString
dup
aload 0
aload 1
aload 2
aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.body:Lorg/bouncycastle/asn1/cmp/PKIBody;
invokevirtual org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.calculateMac:(Lorg/bouncycastle/operator/MacCalculator;Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/cmp/PKIBody;)[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 3
start local 3 3: aload 0
aload 2
aload 3
invokevirtual org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.finaliseMessage:(Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/DERBitString;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessage;
4: areturn
end local 3 5: StackMap locals: org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder org.bouncycastle.operator.MacCalculator org.bouncycastle.asn1.cmp.PKIHeader
StackMap stack: java.io.IOException
astore 3
start local 3 6: new org.bouncycastle.cert.cmp.CMPException
dup
new java.lang.StringBuilder
dup
ldc "unable to encode MAC input: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.bouncycastle.cert.cmp.CMPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 7 1 macCalculator Lorg/bouncycastle/operator/MacCalculator;
2 7 2 header Lorg/bouncycastle/asn1/cmp/PKIHeader;
3 5 3 protection Lorg/bouncycastle/asn1/DERBitString;
6 7 3 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cert.cmp.CMPException
MethodParameters:
Name Flags
macCalculator
public org.bouncycastle.cert.cmp.ProtectedPKIMessage build(org.bouncycastle.operator.ContentSigner);
descriptor: (Lorg/bouncycastle/operator/ContentSigner;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.finaliseHeader:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
1: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.build:()Lorg/bouncycastle/asn1/cmp/PKIHeader;
astore 2
start local 2 2: new org.bouncycastle.asn1.DERBitString
dup
aload 0
aload 1
aload 2
aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.body:Lorg/bouncycastle/asn1/cmp/PKIBody;
invokevirtual org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.calculateSignature:(Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/cmp/PKIBody;)[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
astore 3
start local 3 3: aload 0
aload 2
aload 3
invokevirtual org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.finaliseMessage:(Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/DERBitString;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessage;
4: areturn
end local 3 5: StackMap locals: org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder org.bouncycastle.operator.ContentSigner org.bouncycastle.asn1.cmp.PKIHeader
StackMap stack: java.io.IOException
astore 3
start local 3 6: new org.bouncycastle.cert.cmp.CMPException
dup
new java.lang.StringBuilder
dup
ldc "unable to encode signature input: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.bouncycastle.cert.cmp.CMPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 7 1 signer Lorg/bouncycastle/operator/ContentSigner;
2 7 2 header Lorg/bouncycastle/asn1/cmp/PKIHeader;
3 5 3 protection Lorg/bouncycastle/asn1/DERBitString;
6 7 3 e Ljava/io/IOException;
Exception table:
from to target type
2 4 5 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cert.cmp.CMPException
MethodParameters:
Name Flags
signer
private void (org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 1
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setProtectionAlg:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
1: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.generalInfos:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 4
2: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.generalInfos:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray org.bouncycastle.asn1.cmp.InfoTypeAndValue
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.hdrBuilder:Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.generalInfos:Ljava/util/List;
aload 2
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.bouncycastle.asn1.cmp.InfoTypeAndValue[]
invokevirtual org.bouncycastle.asn1.cmp.PKIHeaderBuilder.setGeneralInfo:([Lorg/bouncycastle/asn1/cmp/InfoTypeAndValue;)Lorg/bouncycastle/asn1/cmp/PKIHeaderBuilder;
pop
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 5 1 algorithmIdentifier Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3 4 2 genInfos [Lorg/bouncycastle/asn1/cmp/InfoTypeAndValue;
MethodParameters:
Name Flags
algorithmIdentifier
private org.bouncycastle.cert.cmp.ProtectedPKIMessage (org.bouncycastle.asn1.cmp.PKIHeader, org.bouncycastle.asn1.DERBitString);
descriptor: (Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/DERBitString;)Lorg/bouncycastle/cert/cmp/ProtectedPKIMessage;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.extraCerts:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 8
1: aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.extraCerts:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray org.bouncycastle.asn1.cmp.CMPCertificate
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 6
4: StackMap locals: org.bouncycastle.asn1.cmp.CMPCertificate[] int
StackMap stack:
aload 3
iload 4
new org.bouncycastle.asn1.cmp.CMPCertificate
dup
aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.extraCerts:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bouncycastle.cert.X509CertificateHolder
invokevirtual org.bouncycastle.cert.X509CertificateHolder.toASN1Structure:()Lorg/bouncycastle/asn1/x509/Certificate;
invokespecial org.bouncycastle.asn1.cmp.CMPCertificate.<init>:(Lorg/bouncycastle/asn1/x509/Certificate;)V
aastore
5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
aload 3
arraylength
if_icmpne 4
end local 4 7: new org.bouncycastle.cert.cmp.ProtectedPKIMessage
dup
new org.bouncycastle.asn1.cmp.PKIMessage
dup
aload 1
aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.body:Lorg/bouncycastle/asn1/cmp/PKIBody;
aload 2
aload 3
invokespecial org.bouncycastle.asn1.cmp.PKIMessage.<init>:(Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/cmp/PKIBody;Lorg/bouncycastle/asn1/DERBitString;[Lorg/bouncycastle/asn1/cmp/CMPCertificate;)V
invokespecial org.bouncycastle.cert.cmp.ProtectedPKIMessage.<init>:(Lorg/bouncycastle/asn1/cmp/PKIMessage;)V
areturn
end local 3 8: StackMap locals:
StackMap stack:
new org.bouncycastle.cert.cmp.ProtectedPKIMessage
dup
new org.bouncycastle.asn1.cmp.PKIMessage
dup
aload 1
aload 0
getfield org.bouncycastle.cert.cmp.ProtectedPKIMessageBuilder.body:Lorg/bouncycastle/asn1/cmp/PKIBody;
aload 2
invokespecial org.bouncycastle.asn1.cmp.PKIMessage.<init>:(Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/cmp/PKIBody;Lorg/bouncycastle/asn1/DERBitString;)V
invokespecial org.bouncycastle.cert.cmp.ProtectedPKIMessage.<init>:(Lorg/bouncycastle/asn1/cmp/PKIMessage;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 9 1 header Lorg/bouncycastle/asn1/cmp/PKIHeader;
0 9 2 protection Lorg/bouncycastle/asn1/DERBitString;
2 8 3 cmpCerts [Lorg/bouncycastle/asn1/cmp/CMPCertificate;
3 7 4 i I
MethodParameters:
Name Flags
header
protection
private byte[] calculateSignature(org.bouncycastle.operator.ContentSigner, org.bouncycastle.asn1.cmp.PKIHeader, org.bouncycastle.asn1.cmp.PKIBody);
descriptor: (Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/cmp/PKIBody;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 4
start local 4 1: aload 4
aload 2
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 4
aload 3
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: aload 1
invokeinterface org.bouncycastle.operator.ContentSigner.getOutputStream:()Ljava/io/OutputStream;
astore 5
start local 5 4: aload 5
new org.bouncycastle.asn1.DERSequence
dup
aload 4
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
ldc "DER"
invokevirtual org.bouncycastle.asn1.DERSequence.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
5: aload 5
invokevirtual java.io.OutputStream.close:()V
6: aload 1
invokeinterface org.bouncycastle.operator.ContentSigner.getSignature:()[B
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 7 1 signer Lorg/bouncycastle/operator/ContentSigner;
0 7 2 header Lorg/bouncycastle/asn1/cmp/PKIHeader;
0 7 3 body Lorg/bouncycastle/asn1/cmp/PKIBody;
1 7 4 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
4 7 5 sOut Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
signer
header
body
private byte[] calculateMac(org.bouncycastle.operator.MacCalculator, org.bouncycastle.asn1.cmp.PKIHeader, org.bouncycastle.asn1.cmp.PKIBody);
descriptor: (Lorg/bouncycastle/operator/MacCalculator;Lorg/bouncycastle/asn1/cmp/PKIHeader;Lorg/bouncycastle/asn1/cmp/PKIBody;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 4
start local 4 1: aload 4
aload 2
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 4
aload 3
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
3: aload 1
invokeinterface org.bouncycastle.operator.MacCalculator.getOutputStream:()Ljava/io/OutputStream;
astore 5
start local 5 4: aload 5
new org.bouncycastle.asn1.DERSequence
dup
aload 4
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
ldc "DER"
invokevirtual org.bouncycastle.asn1.DERSequence.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
5: aload 5
invokevirtual java.io.OutputStream.close:()V
6: aload 1
invokeinterface org.bouncycastle.operator.MacCalculator.getMac:()[B
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/cmp/ProtectedPKIMessageBuilder;
0 7 1 macCalculator Lorg/bouncycastle/operator/MacCalculator;
0 7 2 header Lorg/bouncycastle/asn1/cmp/PKIHeader;
0 7 3 body Lorg/bouncycastle/asn1/cmp/PKIBody;
1 7 4 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
4 7 5 sOut Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
macCalculator
header
body
}
SourceFile: "ProtectedPKIMessageBuilder.java"