public class org.bouncycastle.jce.netscape.NetscapeCertRequest extends org.bouncycastle.asn1.ASN1Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.netscape.NetscapeCertRequest
super_class: org.bouncycastle.asn1.ASN1Encodable
{
org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlg;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0000)
org.bouncycastle.asn1.x509.AlgorithmIdentifier keyAlg;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0000)
byte[] sigBits;
descriptor: [B
flags: (0x0000)
java.lang.String challenge;
descriptor: Ljava/lang/String;
flags: (0x0000)
org.bouncycastle.asn1.DERBitString content;
descriptor: Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0000)
java.security.PublicKey pubkey;
descriptor: Ljava/security/PublicKey;
flags: (0x0000)
private static org.bouncycastle.asn1.ASN1Sequence getReq(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1InputStream
dup
new java.io.ByteArrayInputStream
dup
aload 0
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;)V
astore 1
start local 1 1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Sequence;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 r [B
1 2 1 aIn Lorg/bouncycastle/asn1/ASN1InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
r
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.jce.netscape.NetscapeCertRequest.getReq:([B)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.jce.netscape.NetscapeCertRequest.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 2 1 req [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
req
public void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_3
if_icmpeq 5
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid SPKAC (size):"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.bouncycastle.jce.netscape.NetscapeCertRequest org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 0
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 1
6: iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
7: putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
8: aload 0
aload 1
iconst_2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERBitString
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigBits:[B
9: aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
astore 2
start local 2 10: aload 2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_2
if_icmpeq 14
11: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid PKAC (len): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 2
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
aload 0
aload 2
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.DERIA5String
invokevirtual org.bouncycastle.asn1.DERIA5String.getString:()Ljava/lang/String;
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
15: aload 0
new org.bouncycastle.asn1.DERBitString
dup
aload 2
invokespecial org.bouncycastle.asn1.DERBitString.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.content:Lorg/bouncycastle/asn1/DERBitString;
16: new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
17: aload 2
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
18: invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 3
start local 3 19: new java.security.spec.X509EncodedKeySpec
dup
new org.bouncycastle.asn1.DERBitString
dup
20: aload 3
invokespecial org.bouncycastle.asn1.DERBitString.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
21: invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
astore 4
start local 4 22: aload 0
aload 3
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithmId:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.keyAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
23: aload 0
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.keyAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
ldc "BC"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
24: aload 4
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
25: putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.pubkey:Ljava/security/PublicKey;
end local 4 end local 3 end local 2 26: goto 29
27: StackMap locals: org.bouncycastle.jce.netscape.NetscapeCertRequest org.bouncycastle.asn1.ASN1Sequence
StackMap stack: java.lang.Exception
astore 2
start local 2 28: new java.lang.IllegalArgumentException
dup
aload 2
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 29: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 30 1 spkac Lorg/bouncycastle/asn1/ASN1Sequence;
10 26 2 pkac Lorg/bouncycastle/asn1/ASN1Sequence;
19 26 3 pubkeyinfo Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
22 26 4 xspec Ljava/security/spec/X509EncodedKeySpec;
28 29 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 26 27 Class java.lang.Exception
MethodParameters:
Name Flags
spkac
public void <init>(java.lang.String, org.bouncycastle.asn1.x509.AlgorithmIdentifier, java.security.PublicKey);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Ljava/security/PublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
2: aload 0
aload 2
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3: aload 0
aload 3
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.pubkey:Ljava/security/PublicKey;
4: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 4
start local 4 5: aload 4
aload 0
invokevirtual org.bouncycastle.jce.netscape.NetscapeCertRequest.getKeySpec:()Lorg/bouncycastle/asn1/DERObject;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
6: aload 4
new org.bouncycastle.asn1.DERIA5String
dup
aload 1
invokespecial org.bouncycastle.asn1.DERIA5String.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
7: aload 0
new org.bouncycastle.asn1.DERBitString
dup
new org.bouncycastle.asn1.DERSequence
dup
aload 4
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokespecial org.bouncycastle.asn1.DERBitString.<init>:(Lorg/bouncycastle/asn1/DEREncodable;)V
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.content:Lorg/bouncycastle/asn1/DERBitString;
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 9 1 challenge Ljava/lang/String;
0 9 2 signing_alg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 9 3 pub_key Ljava/security/PublicKey;
5 9 4 content_der Lorg/bouncycastle/asn1/ASN1EncodableVector;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
challenge
signing_alg
pub_key
public java.lang.String getChallenge();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
public void setChallenge(java.lang.String);
descriptor: (Ljava/lang/String;)V
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.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSigningAlgorithm();
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.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
public void setSigningAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
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.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 2 1 value Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
MethodParameters:
Name Flags
value
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyAlgorithm();
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.jce.netscape.NetscapeCertRequest.keyAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
public void setKeyAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
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.jce.netscape.NetscapeCertRequest.keyAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 2 1 value Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
MethodParameters:
Name Flags
value
public java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.pubkey:Ljava/security/PublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
public void setPublicKey(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
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.jce.netscape.NetscapeCertRequest.pubkey:Ljava/security/PublicKey;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 2 1 value Ljava/security/PublicKey;
MethodParameters:
Name Flags
value
public boolean verify(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
3: ldc "BC"
4: invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
astore 2
start local 2 5: aload 2
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.pubkey:Ljava/security/PublicKey;
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
6: aload 2
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.content:Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokevirtual java.security.Signature.update:([B)V
7: aload 2
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigBits:[B
invokevirtual java.security.Signature.verify:([B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 8 1 challenge Ljava/lang/String;
5 8 2 sig Ljava/security/Signature;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
challenge
public void sign(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.bouncycastle.jce.netscape.NetscapeCertRequest.sign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 2 1 priv_key Ljava/security/PrivateKey;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchProviderException, java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
priv_key
public void sign(java.security.PrivateKey, java.security.SecureRandom);
descriptor: (Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId:()Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
1: ldc "BC"
2: invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
astore 3
start local 3 3: aload 2
ifnull 6
4: aload 3
aload 1
aload 2
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
5: goto 7
6: StackMap locals: java.security.Signature
StackMap stack:
aload 3
aload 1
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
7: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 4
start local 4 8: aload 4
aload 0
invokevirtual org.bouncycastle.jce.netscape.NetscapeCertRequest.getKeySpec:()Lorg/bouncycastle/asn1/DERObject;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
9: aload 4
new org.bouncycastle.asn1.DERIA5String
dup
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
invokespecial org.bouncycastle.asn1.DERIA5String.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
10: aload 3
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.security.Signature.update:([B)V
11: goto 14
12: StackMap locals: org.bouncycastle.jce.netscape.NetscapeCertRequest java.security.PrivateKey java.security.SecureRandom java.security.Signature org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack: java.io.IOException
astore 5
start local 5 13: new java.security.SignatureException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 5 14: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.security.Signature.sign:()[B
putfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigBits:[B
15: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
0 16 1 priv_key Ljava/security/PrivateKey;
0 16 2 rand Ljava/security/SecureRandom;
3 16 3 sig Ljava/security/Signature;
8 16 4 pkac Lorg/bouncycastle/asn1/ASN1EncodableVector;
13 14 5 ioe Ljava/io/IOException;
Exception table:
from to target type
10 11 12 Class java.io.IOException
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchProviderException, java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
priv_key
rand
private org.bouncycastle.asn1.DERObject getKeySpec();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 1
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.pubkey:Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getEncoded:()[B
invokevirtual java.io.ByteArrayOutputStream.write:([B)V
3: aload 1
invokevirtual java.io.ByteArrayOutputStream.close:()V
4: new org.bouncycastle.asn1.ASN1InputStream
dup
5: new java.io.ByteArrayInputStream
dup
aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
6: invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 7: aload 3
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
astore 2
end local 3 8: goto 11
9: StackMap locals: org.bouncycastle.jce.netscape.NetscapeCertRequest java.io.ByteArrayOutputStream org.bouncycastle.asn1.DERObject
StackMap stack: java.io.IOException
astore 3
start local 3 10: new java.security.spec.InvalidKeySpecException
dup
aload 3
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
1 12 1 baos Ljava/io/ByteArrayOutputStream;
2 12 2 obj Lorg/bouncycastle/asn1/DERObject;
7 8 3 derin Lorg/bouncycastle/asn1/ASN1InputStream;
10 11 3 ioe Ljava/io/IOException;
Exception table:
from to target type
2 8 9 Class java.io.IOException
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException, java.security.NoSuchProviderException
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual org.bouncycastle.jce.netscape.NetscapeCertRequest.getKeySpec:()Lorg/bouncycastle/asn1/DERObject;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
3: goto 5
4: StackMap locals: org.bouncycastle.jce.netscape.NetscapeCertRequest org.bouncycastle.asn1.ASN1EncodableVector org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack: java.lang.Exception
pop
5: StackMap locals:
StackMap stack:
aload 2
new org.bouncycastle.asn1.DERIA5String
dup
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.challenge:Ljava/lang/String;
invokespecial org.bouncycastle.asn1.DERIA5String.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
6: aload 1
new org.bouncycastle.asn1.DERSequence
dup
aload 2
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
7: aload 1
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigAlg:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
8: aload 1
new org.bouncycastle.asn1.DERBitString
dup
aload 0
getfield org.bouncycastle.jce.netscape.NetscapeCertRequest.sigBits:[B
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
9: new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/jce/netscape/NetscapeCertRequest;
1 10 1 spkac Lorg/bouncycastle/asn1/ASN1EncodableVector;
2 10 2 pkac Lorg/bouncycastle/asn1/ASN1EncodableVector;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
}
SourceFile: "NetscapeCertRequest.java"