public class org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure extends org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure
super_class: org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
{
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.x509.extension.X509ExtensionUtil.fromExtensionValue:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<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/x509/extension/AuthorityKeyIdentifierStructure;
0 2 1 encodedValue [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodedValue
public void <init>(org.bouncycastle.asn1.x509.X509Extension);
descriptor: (Lorg/bouncycastle/asn1/x509/X509Extension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.x509.X509Extension.getParsedValue:()Lorg/bouncycastle/asn1/ASN1Encodable;
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<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/x509/extension/AuthorityKeyIdentifierStructure;
0 2 1 extension Lorg/bouncycastle/asn1/x509/X509Extension;
MethodParameters:
Name Flags
extension
private static org.bouncycastle.asn1.ASN1Sequence fromCertificate(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Lorg/bouncycastle/asn1/ASN1Sequence;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.security.cert.X509Certificate.getVersion:()I
iconst_3
if_icmpeq 11
1: new org.bouncycastle.asn1.x509.GeneralName
dup
aload 0
invokestatic org.bouncycastle.jce.PrincipalUtil.getIssuerX509Principal:(Ljava/security/cert/X509Certificate;)Lorg/bouncycastle/jce/X509Principal;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(Lorg/bouncycastle/asn1/x509/X509Name;)V
astore 1
start local 1 2: new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
3: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 0
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getEncoded:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
4: invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 2
start local 2 5: new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
dup
6: aload 2
new org.bouncycastle.asn1.x509.GeneralNames
dup
aload 1
invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
aload 0
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
7: invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)V
8: invokevirtual org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.toASN1Object:()Lorg/bouncycastle/asn1/DERObject;
9: checkcast org.bouncycastle.asn1.ASN1Sequence
10: areturn
end local 2 end local 1 11: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.GeneralName
dup
aload 0
invokestatic org.bouncycastle.jce.PrincipalUtil.getIssuerX509Principal:(Ljava/security/cert/X509Certificate;)Lorg/bouncycastle/jce/X509Principal;
invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(Lorg/bouncycastle/asn1/x509/X509Name;)V
astore 1
start local 1 12: aload 0
getstatic org.bouncycastle.asn1.x509.X509Extensions.SubjectKeyIdentifier:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.security.cert.X509Certificate.getExtensionValue:(Ljava/lang/String;)[B
astore 2
start local 2 13: aload 2
ifnull 21
14: aload 2
invokestatic org.bouncycastle.x509.extension.X509ExtensionUtil.fromExtensionValue:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1OctetString
astore 3
start local 3 15: new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
dup
16: aload 3
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
new org.bouncycastle.asn1.x509.GeneralNames
dup
aload 1
invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
aload 0
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
17: invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:([BLorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)V
18: invokevirtual org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.toASN1Object:()Lorg/bouncycastle/asn1/DERObject;
19: checkcast org.bouncycastle.asn1.ASN1Sequence
20: areturn
end local 3 21: StackMap locals: org.bouncycastle.asn1.x509.GeneralName byte[]
StackMap stack:
new org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
dup
22: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 0
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getEncoded:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
23: invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 3
start local 3 24: new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
dup
25: aload 3
new org.bouncycastle.asn1.x509.GeneralNames
dup
aload 1
invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
aload 0
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
26: invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)V
27: invokevirtual org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.toASN1Object:()Lorg/bouncycastle/asn1/DERObject;
28: checkcast org.bouncycastle.asn1.ASN1Sequence
29: areturn
end local 3 end local 2 end local 1 30: StackMap locals: java.security.cert.X509Certificate
StackMap stack: java.lang.Exception
astore 1
start local 1 31: new java.security.cert.CertificateParsingException
dup
new java.lang.StringBuilder
dup
ldc "Exception extracting certificate details: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.cert.CertificateParsingException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 certificate Ljava/security/cert/X509Certificate;
2 11 1 genName Lorg/bouncycastle/asn1/x509/GeneralName;
5 11 2 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
12 30 1 genName Lorg/bouncycastle/asn1/x509/GeneralName;
13 30 2 ext [B
15 21 3 str Lorg/bouncycastle/asn1/ASN1OctetString;
24 30 3 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
31 32 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 10 30 Class java.lang.Exception
11 20 30 Class java.lang.Exception
21 29 30 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertificateParsingException
MethodParameters:
Name Flags
certificate
private static org.bouncycastle.asn1.ASN1Sequence fromKey(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)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.x509.SubjectPublicKeyInfo
dup
1: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 0
invokeinterface java.security.PublicKey.getEncoded:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
2: invokespecial org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
astore 1
start local 1 3: new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
invokevirtual org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.toASN1Object:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1Sequence
4: areturn
end local 1 5: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 6: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "can't process key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 pubKey Ljava/security/PublicKey;
3 5 1 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
6 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
pubKey
public void <init>(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)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.x509.extension.AuthorityKeyIdentifierStructure.fromCertificate:(Ljava/security/cert/X509Certificate;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<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/x509/extension/AuthorityKeyIdentifierStructure;
0 2 1 certificate Ljava/security/cert/X509Certificate;
Exceptions:
throws java.security.cert.CertificateParsingException
MethodParameters:
Name Flags
certificate
public void <init>(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
invokestatic org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure.fromKey:(Ljava/security/PublicKey;)Lorg/bouncycastle/asn1/ASN1Sequence;
invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<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/x509/extension/AuthorityKeyIdentifierStructure;
0 2 1 pubKey Ljava/security/PublicKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
pubKey
}
SourceFile: "AuthorityKeyIdentifierStructure.java"