public class org.bouncycastle.cert.X509ExtensionUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.cert.X509ExtensionUtils
  super_class: java.lang.Object
{
  private org.bouncycastle.operator.DigestCalculator calculator;
    descriptor: Lorg/bouncycastle/operator/DigestCalculator;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.bouncycastle.operator.DigestCalculator);
    descriptor: (Lorg/bouncycastle/operator/DigestCalculator;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.operator.DigestCalculator calculator
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 33
            aload 0 /* this */
            aload 1 /* calculator */
            putfield org.bouncycastle.cert.X509ExtensionUtils.calculator:Lorg/bouncycastle/operator/DigestCalculator;
         2: .line 34
            return
        end local 1 // org.bouncycastle.operator.DigestCalculator calculator
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    3     1  calculator  Lorg/bouncycastle/operator/DigestCalculator;
    MethodParameters:
            Name  Flags
      calculator  

  public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(org.bouncycastle.cert.X509CertificateHolder);
    descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.cert.X509CertificateHolder certHolder
         0: .line 45
            new org.bouncycastle.asn1.x509.GeneralName
            dup
            aload 1 /* certHolder */
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getIssuer:()Lorg/bouncycastle/asn1/x500/X500Name;
            invokespecial org.bouncycastle.asn1.x509.GeneralName.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;)V
            astore 2 /* genName */
        start local 2 // org.bouncycastle.asn1.x509.GeneralName genName
         1: .line 47
            new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
            dup
         2: .line 48
            aload 0 /* this */
            aload 1 /* certHolder */
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.getSubjectKeyIdentifier:(Lorg/bouncycastle/cert/X509CertificateHolder;)[B
            new org.bouncycastle.asn1.x509.GeneralNames
            dup
            aload 2 /* genName */
            invokespecial org.bouncycastle.asn1.x509.GeneralNames.<init>:(Lorg/bouncycastle/asn1/x509/GeneralName;)V
            aload 1 /* certHolder */
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getSerialNumber:()Ljava/math/BigInteger;
         3: .line 47
            invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:([BLorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)V
            areturn
        end local 2 // org.bouncycastle.asn1.x509.GeneralName genName
        end local 1 // org.bouncycastle.cert.X509CertificateHolder certHolder
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    4     0        this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    4     1  certHolder  Lorg/bouncycastle/cert/X509CertificateHolder;
            1    4     2     genName  Lorg/bouncycastle/asn1/x509/GeneralName;
    MethodParameters:
            Name  Flags
      certHolder  

  public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
    descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
         0: .line 59
            new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
            dup
            aload 0 /* this */
            aload 1 /* publicKeyInfo */
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.calculateIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
            invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:([B)V
            areturn
        end local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0           this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    1     1  publicKeyInfo  Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
    MethodParameters:
               Name  Flags
      publicKeyInfo  

  public org.bouncycastle.asn1.x509.AuthorityKeyIdentifier createAuthorityKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo, org.bouncycastle.asn1.x509.GeneralNames, java.math.BigInteger);
    descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)Lorg/bouncycastle/asn1/x509/AuthorityKeyIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
        start local 2 // org.bouncycastle.asn1.x509.GeneralNames generalNames
        start local 3 // java.math.BigInteger serial
         0: .line 72
            new org.bouncycastle.asn1.x509.AuthorityKeyIdentifier
            dup
            aload 0 /* this */
            aload 1 /* publicKeyInfo */
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.calculateIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
            aload 2 /* generalNames */
            aload 3 /* serial */
            invokespecial org.bouncycastle.asn1.x509.AuthorityKeyIdentifier.<init>:([BLorg/bouncycastle/asn1/x509/GeneralNames;Ljava/math/BigInteger;)V
            areturn
        end local 3 // java.math.BigInteger serial
        end local 2 // org.bouncycastle.asn1.x509.GeneralNames generalNames
        end local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0           this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    1     1  publicKeyInfo  Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
            0    1     2   generalNames  Lorg/bouncycastle/asn1/x509/GeneralNames;
            0    1     3         serial  Ljava/math/BigInteger;
    MethodParameters:
               Name  Flags
      publicKeyInfo  
      generalNames   
      serial         

  public org.bouncycastle.asn1.x509.SubjectKeyIdentifier createSubjectKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
    descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)Lorg/bouncycastle/asn1/x509/SubjectKeyIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
         0: .line 88
            new org.bouncycastle.asn1.x509.SubjectKeyIdentifier
            dup
            aload 0 /* this */
            aload 1 /* publicKeyInfo */
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.calculateIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
            invokespecial org.bouncycastle.asn1.x509.SubjectKeyIdentifier.<init>:([B)V
            areturn
        end local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0           this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    1     1  publicKeyInfo  Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
    MethodParameters:
               Name  Flags
      publicKeyInfo  

  public org.bouncycastle.asn1.x509.SubjectKeyIdentifier createTruncatedSubjectKeyIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
    descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)Lorg/bouncycastle/asn1/x509/SubjectKeyIdentifier;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
         0: .line 103
            aload 0 /* this */
            aload 1 /* publicKeyInfo */
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.calculateIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
            astore 2 /* digest */
        start local 2 // byte[] digest
         1: .line 104
            bipush 8
            newarray 8
            astore 3 /* id */
        start local 3 // byte[] id
         2: .line 106
            aload 2 /* digest */
            aload 2 /* digest */
            arraylength
            bipush 8
            isub
            aload 3 /* id */
            iconst_0
            aload 3 /* id */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         3: .line 108
            aload 3 /* id */
            iconst_0
            dup2
            baload
            bipush 15
            iand
            i2b
            bastore
         4: .line 109
            aload 3 /* id */
            iconst_0
            dup2
            baload
            bipush 64
            ior
            i2b
            bastore
         5: .line 111
            new org.bouncycastle.asn1.x509.SubjectKeyIdentifier
            dup
            aload 3 /* id */
            invokespecial org.bouncycastle.asn1.x509.SubjectKeyIdentifier.<init>:([B)V
            areturn
        end local 3 // byte[] id
        end local 2 // byte[] digest
        end local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0           this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    6     1  publicKeyInfo  Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
            1    6     2         digest  [B
            2    6     3             id  [B
    MethodParameters:
               Name  Flags
      publicKeyInfo  

  private byte[] getSubjectKeyIdentifier(org.bouncycastle.cert.X509CertificateHolder);
    descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.cert.X509CertificateHolder certHolder
         0: .line 116
            aload 1 /* certHolder */
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getVersionNumber:()I
            iconst_3
            if_icmpeq 2
         1: .line 118
            aload 0 /* this */
            aload 1 /* certHolder */
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getSubjectPublicKeyInfo:()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.calculateIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
            areturn
         2: .line 122
      StackMap locals:
      StackMap stack:
            aload 1 /* certHolder */
            getstatic org.bouncycastle.asn1.x509.Extension.subjectKeyIdentifier:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x509/Extension;
            astore 2 /* ext */
        start local 2 // org.bouncycastle.asn1.x509.Extension ext
         3: .line 124
            aload 2 /* ext */
            ifnull 5
         4: .line 126
            aload 2 /* ext */
            invokevirtual org.bouncycastle.asn1.x509.Extension.getParsedValue:()Lorg/bouncycastle/asn1/ASN1Encodable;
            invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
            invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
            areturn
         5: .line 130
      StackMap locals: org.bouncycastle.asn1.x509.Extension
      StackMap stack:
            aload 0 /* this */
            aload 1 /* certHolder */
            invokevirtual org.bouncycastle.cert.X509CertificateHolder.getSubjectPublicKeyInfo:()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
            invokevirtual org.bouncycastle.cert.X509ExtensionUtils.calculateIdentifier:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
            areturn
        end local 2 // org.bouncycastle.asn1.x509.Extension ext
        end local 1 // org.bouncycastle.cert.X509CertificateHolder certHolder
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    6     1  certHolder  Lorg/bouncycastle/cert/X509CertificateHolder;
            3    6     2         ext  Lorg/bouncycastle/asn1/x509/Extension;
    MethodParameters:
            Name  Flags
      certHolder  

  private byte[] calculateIdentifier(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo);
    descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.bouncycastle.cert.X509ExtensionUtils this
        start local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
         0: .line 137
            aload 1 /* publicKeyInfo */
            invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKeyData:()Lorg/bouncycastle/asn1/DERBitString;
            invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
            astore 2 /* bytes */
        start local 2 // byte[] bytes
         1: .line 139
            aload 0 /* this */
            getfield org.bouncycastle.cert.X509ExtensionUtils.calculator:Lorg/bouncycastle/operator/DigestCalculator;
            invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
            astore 3 /* cOut */
        start local 3 // java.io.OutputStream cOut
         2: .line 143
            aload 3 /* cOut */
            aload 2 /* bytes */
            invokevirtual java.io.OutputStream.write:([B)V
         3: .line 145
            aload 3 /* cOut */
            invokevirtual java.io.OutputStream.close:()V
         4: .line 146
            goto 7
         5: .line 147
      StackMap locals: org.bouncycastle.cert.X509ExtensionUtils org.bouncycastle.asn1.x509.SubjectPublicKeyInfo byte[] java.io.OutputStream
      StackMap stack: java.io.IOException
            astore 4 /* e */
        start local 4 // java.io.IOException e
         6: .line 149
            new org.bouncycastle.cert.CertRuntimeException
            dup
            new java.lang.StringBuilder
            dup
            ldc "unable to calculate identifier: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 4 /* e */
            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 4 /* e */
            invokespecial org.bouncycastle.cert.CertRuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 4 // java.io.IOException e
         7: .line 152
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.bouncycastle.cert.X509ExtensionUtils.calculator:Lorg/bouncycastle/operator/DigestCalculator;
            invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
            areturn
        end local 3 // java.io.OutputStream cOut
        end local 2 // byte[] bytes
        end local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo
        end local 0 // org.bouncycastle.cert.X509ExtensionUtils this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    8     0           this  Lorg/bouncycastle/cert/X509ExtensionUtils;
            0    8     1  publicKeyInfo  Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
            1    8     2          bytes  [B
            2    8     3           cOut  Ljava/io/OutputStream;
            6    7     4              e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException
    MethodParameters:
               Name  Flags
      publicKeyInfo  
}
SourceFile: "X509ExtensionUtils.java"