public class org.bouncycastle.pkcs.PKCS10CertificationRequest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.PKCS10CertificationRequest
super_class: java.lang.Object
{
private static org.bouncycastle.asn1.pkcs.Attribute[] EMPTY_ARRAY;
descriptor: [Lorg/bouncycastle/asn1/pkcs/Attribute;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private org.bouncycastle.asn1.pkcs.CertificationRequest certificationRequest;
descriptor: Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray org.bouncycastle.asn1.pkcs.Attribute
putstatic org.bouncycastle.pkcs.PKCS10CertificationRequest.EMPTY_ARRAY:[Lorg/bouncycastle/asn1/pkcs/Attribute;
return
LocalVariableTable:
Start End Slot Name Signature
private static org.bouncycastle.asn1.pkcs.CertificationRequest parseBytes(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
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.pkcs.CertificationRequest.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 1
start local 1 3: new org.bouncycastle.pkcs.PKCSIOException
dup
new java.lang.StringBuilder
dup
ldc "malformed data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.ClassCastException.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.pkcs.PKCSIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 4: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 1
start local 1 5: new org.bouncycastle.pkcs.PKCSIOException
dup
new java.lang.StringBuilder
dup
ldc "malformed data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.IllegalArgumentException.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.pkcs.PKCSIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 encoding [B
3 4 1 e Ljava/lang/ClassCastException;
5 6 1 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
0 1 2 Class java.lang.ClassCastException
0 1 4 Class java.lang.IllegalArgumentException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
public void <init>(org.bouncycastle.asn1.pkcs.CertificationRequest);
descriptor: (Lorg/bouncycastle/asn1/pkcs/CertificationRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
0 3 1 certificationRequest Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
MethodParameters:
Name Flags
certificationRequest
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.pkcs.PKCS10CertificationRequest.parseBytes:([B)Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokespecial org.bouncycastle.pkcs.PKCS10CertificationRequest.<init>:(Lorg/bouncycastle/asn1/pkcs/CertificationRequest;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
0 2 1 encoded [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
public org.bouncycastle.asn1.pkcs.CertificationRequest toASN1Structure();
descriptor: ()Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
public org.bouncycastle.asn1.x500.X500Name getSubject();
descriptor: ()Lorg/bouncycastle/asn1/x500/X500Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getCertificationRequestInfo:()Lorg/bouncycastle/asn1/pkcs/CertificationRequestInfo;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequestInfo.getSubject:()Lorg/bouncycastle/asn1/x500/X500Name;
invokestatic org.bouncycastle.asn1.x500.X500Name.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x500/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
public byte[] getSignature();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getSignature:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getOctets:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPublicKeyInfo();
descriptor: ()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getCertificationRequestInfo:()Lorg/bouncycastle/asn1/pkcs/CertificationRequestInfo;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequestInfo.getSubjectPublicKeyInfo:()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
public org.bouncycastle.asn1.pkcs.Attribute[] getAttributes();
descriptor: ()[Lorg/bouncycastle/asn1/pkcs/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getCertificationRequestInfo:()Lorg/bouncycastle/asn1/pkcs/CertificationRequestInfo;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequestInfo.getAttributes:()Lorg/bouncycastle/asn1/ASN1Set;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: getstatic org.bouncycastle.pkcs.PKCS10CertificationRequest.EMPTY_ARRAY:[Lorg/bouncycastle/asn1/pkcs/Attribute;
areturn
3: StackMap locals: org.bouncycastle.asn1.ASN1Set
StackMap stack:
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Set.size:()I
anewarray org.bouncycastle.asn1.pkcs.Attribute
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 8
6: StackMap locals: org.bouncycastle.asn1.pkcs.Attribute[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
invokevirtual org.bouncycastle.asn1.ASN1Set.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.pkcs.Attribute.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/Attribute;
aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Set.size:()I
if_icmpne 6
end local 3 9: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
1 10 1 attrSet Lorg/bouncycastle/asn1/ASN1Set;
4 10 2 attrs [Lorg/bouncycastle/asn1/pkcs/Attribute;
5 9 3 i I
public org.bouncycastle.asn1.pkcs.Attribute[] getAttributes(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)[Lorg/bouncycastle/asn1/pkcs/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getCertificationRequestInfo:()Lorg/bouncycastle/asn1/pkcs/CertificationRequestInfo;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequestInfo.getAttributes:()Lorg/bouncycastle/asn1/ASN1Set;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: getstatic org.bouncycastle.pkcs.PKCS10CertificationRequest.EMPTY_ARRAY:[Lorg/bouncycastle/asn1/pkcs/Attribute;
areturn
3: StackMap locals: org.bouncycastle.asn1.ASN1Set
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 10
6: StackMap locals: java.util.List int
StackMap stack:
aload 2
iload 4
invokevirtual org.bouncycastle.asn1.ASN1Set.getObjectAt:(I)Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.pkcs.Attribute.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/Attribute;
astore 5
start local 5 7: aload 5
invokevirtual org.bouncycastle.asn1.pkcs.Attribute.getAttrType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 1
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 9
8: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 2
invokevirtual org.bouncycastle.asn1.ASN1Set.size:()I
if_icmpne 6
end local 4 11: aload 3
invokeinterface java.util.List.size:()I
ifne 13
12: getstatic org.bouncycastle.pkcs.PKCS10CertificationRequest.EMPTY_ARRAY:[Lorg/bouncycastle/asn1/pkcs/Attribute;
areturn
13: StackMap locals:
StackMap stack:
aload 3
aload 3
invokeinterface java.util.List.size:()I
anewarray org.bouncycastle.asn1.pkcs.Attribute
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.bouncycastle.asn1.pkcs.Attribute[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
0 14 1 type Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1 14 2 attrSet Lorg/bouncycastle/asn1/ASN1Set;
4 14 3 list Ljava/util/List;
5 11 4 i I
7 9 5 attr Lorg/bouncycastle/asn1/pkcs/Attribute;
MethodParameters:
Name Flags
type
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.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
Exceptions:
throws java.io.IOException
public boolean isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider);
descriptor: (Lorg/bouncycastle/operator/ContentVerifierProvider;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getCertificationRequestInfo:()Lorg/bouncycastle/asn1/pkcs/CertificationRequestInfo;
astore 2
start local 2 1: aload 1
aload 0
getfield org.bouncycastle.pkcs.PKCS10CertificationRequest.certificationRequest:Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.ContentVerifierProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/ContentVerifier;
astore 3
start local 3 2: aload 3
invokeinterface org.bouncycastle.operator.ContentVerifier.getOutputStream:()Ljava/io/OutputStream;
astore 4
start local 4 3: aload 4
aload 2
ldc "DER"
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequestInfo.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
4: aload 4
invokevirtual java.io.OutputStream.close:()V
end local 4 5: goto 8
end local 3 6: StackMap locals: org.bouncycastle.pkcs.PKCS10CertificationRequest org.bouncycastle.operator.ContentVerifierProvider org.bouncycastle.asn1.pkcs.CertificationRequestInfo
StackMap stack: java.lang.Exception
astore 4
start local 4 7: new org.bouncycastle.pkcs.PKCSException
dup
new java.lang.StringBuilder
dup
ldc "unable to process signature: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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 4
invokespecial org.bouncycastle.pkcs.PKCSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 8: StackMap locals: org.bouncycastle.operator.ContentVerifier
StackMap stack:
aload 3
aload 0
invokevirtual org.bouncycastle.pkcs.PKCS10CertificationRequest.getSignature:()[B
invokeinterface org.bouncycastle.operator.ContentVerifier.verify:([B)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
0 9 1 verifierProvider Lorg/bouncycastle/operator/ContentVerifierProvider;
1 9 2 requestInfo Lorg/bouncycastle/asn1/pkcs/CertificationRequestInfo;
2 6 3 verifier Lorg/bouncycastle/operator/ContentVerifier;
8 9 3 verifier Lorg/bouncycastle/operator/ContentVerifier;
3 5 4 sOut Ljava/io/OutputStream;
7 8 4 e Ljava/lang/Exception;
Exception table:
from to target type
1 5 6 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.pkcs.PKCSException
MethodParameters:
Name Flags
verifierProvider
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.pkcs.PKCS10CertificationRequest
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.pkcs.PKCS10CertificationRequest
astore 2
start local 2 5: aload 0
invokevirtual org.bouncycastle.pkcs.PKCS10CertificationRequest.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
aload 2
invokevirtual org.bouncycastle.pkcs.PKCS10CertificationRequest.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
0 6 1 o Ljava/lang/Object;
5 6 2 other Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.pkcs.PKCS10CertificationRequest.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokevirtual org.bouncycastle.asn1.pkcs.CertificationRequest.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
}
SourceFile: "PKCS10CertificationRequest.java"