final class com.sun.crypto.provider.KeyProtector
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.sun.crypto.provider.KeyProtector
  super_class: java.lang.Object
{
  private static final java.lang.String PBE_WITH_MD5_AND_DES3_CBC_OID;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "1.3.6.1.4.1.42.2.19.1"

  private static final java.lang.String KEY_PROTECTOR_OID;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "1.3.6.1.4.1.42.2.17.1.1"

  private static final int MAX_ITERATION_COUNT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 5000000

  private static final int ITERATION_COUNT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 200000

  private static final int SALT_LEN;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 20

  private static final int DIGEST_LEN;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 20

  private char[] password;
    descriptor: [C
    flags: (0x0002) ACC_PRIVATE

  void <init>(char[]);
    descriptor: ([C)V
    flags: (0x0000) 
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.sun.crypto.provider.KeyProtector this
        start local 1 // char[] password
         0: .line 83
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 84
            aload 1 /* password */
            ifnonnull 3
         2: .line 85
            new java.lang.IllegalArgumentException
            dup
            ldc "password can't be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 87
      StackMap locals: com.sun.crypto.provider.KeyProtector char[]
      StackMap stack:
            aload 0 /* this */
            aload 1 /* password */
            putfield com.sun.crypto.provider.KeyProtector.password:[C
         4: .line 88
            return
        end local 1 // char[] password
        end local 0 // com.sun.crypto.provider.KeyProtector this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    5     0      this  Lcom/sun/crypto/provider/KeyProtector;
            0    5     1  password  [C
    MethodParameters:
          Name  Flags
      password  

  byte[] protect(java.security.PrivateKey);
    descriptor: (Ljava/security/PrivateKey;)[B
    flags: (0x0000) 
    Code:
      stack=5, locals=11, args_size=2
        start local 0 // com.sun.crypto.provider.KeyProtector this
        start local 1 // java.security.PrivateKey key
         0: .line 98
            bipush 8
            newarray 8
            astore 2 /* salt */
        start local 2 // byte[] salt
         1: .line 99
            invokestatic com.sun.crypto.provider.SunJCE.getRandom:()Ljava/security/SecureRandom;
            aload 2 /* salt */
            invokevirtual java.security.SecureRandom.nextBytes:([B)V
         2: .line 102
            new javax.crypto.spec.PBEParameterSpec
            dup
            aload 2 /* salt */
            ldc 200000
            invokespecial javax.crypto.spec.PBEParameterSpec.<init>:([BI)V
            astore 3 /* pbeSpec */
        start local 3 // javax.crypto.spec.PBEParameterSpec pbeSpec
         3: .line 105
            new javax.crypto.spec.PBEKeySpec
            dup
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C)V
            astore 4 /* pbeKeySpec */
        start local 4 // javax.crypto.spec.PBEKeySpec pbeKeySpec
         4: .line 106
            new com.sun.crypto.provider.PBEKey
            dup
            aload 4 /* pbeKeySpec */
            ldc "PBEWithMD5AndTripleDES"
            invokespecial com.sun.crypto.provider.PBEKey.<init>:(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
            astore 5 /* sKey */
        start local 5 // javax.crypto.SecretKey sKey
         5: .line 107
            aload 4 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
         6: .line 111
            new com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher
            dup
            invokespecial com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.<init>:()V
            astore 6 /* cipher */
        start local 6 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipher
         7: .line 112
            aload 6 /* cipher */
            iconst_1
            aload 5 /* sKey */
            aload 3 /* pbeSpec */
            aconst_null
            invokevirtual com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
         8: .line 113
            aload 1 /* key */
            invokeinterface java.security.PrivateKey.getEncoded:()[B
            astore 7 /* plain */
        start local 7 // byte[] plain
         9: .line 114
            aload 6 /* cipher */
            aload 7 /* plain */
            iconst_0
            aload 7 /* plain */
            arraylength
            invokevirtual com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.engineDoFinal:([BII)[B
            astore 8 /* encrKey */
        start local 8 // byte[] encrKey
        10: .line 119
            ldc "PBE"
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
            invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/AlgorithmParameters;
        11: .line 118
            astore 9 /* pbeParams */
        start local 9 // java.security.AlgorithmParameters pbeParams
        12: .line 120
            aload 9 /* pbeParams */
            aload 3 /* pbeSpec */
            invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
        13: .line 122
            new sun.security.x509.AlgorithmId
            dup
        14: .line 123
            new sun.security.util.ObjectIdentifier
            dup
            ldc "1.3.6.1.4.1.42.2.19.1"
            invokespecial sun.security.util.ObjectIdentifier.<init>:(Ljava/lang/String;)V
            aload 9 /* pbeParams */
        15: .line 122
            invokespecial sun.security.x509.AlgorithmId.<init>:(Lsun/security/util/ObjectIdentifier;Ljava/security/AlgorithmParameters;)V
            astore 10 /* encrAlg */
        start local 10 // sun.security.x509.AlgorithmId encrAlg
        16: .line 124
            new com.sun.crypto.provider.EncryptedPrivateKeyInfo
            dup
            aload 10 /* encrAlg */
            aload 8 /* encrKey */
            invokespecial com.sun.crypto.provider.EncryptedPrivateKeyInfo.<init>:(Lsun/security/x509/AlgorithmId;[B)V
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getEncoded:()[B
            areturn
        end local 10 // sun.security.x509.AlgorithmId encrAlg
        end local 9 // java.security.AlgorithmParameters pbeParams
        end local 8 // byte[] encrKey
        end local 7 // byte[] plain
        end local 6 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipher
        end local 5 // javax.crypto.SecretKey sKey
        end local 4 // javax.crypto.spec.PBEKeySpec pbeKeySpec
        end local 3 // javax.crypto.spec.PBEParameterSpec pbeSpec
        end local 2 // byte[] salt
        end local 1 // java.security.PrivateKey key
        end local 0 // com.sun.crypto.provider.KeyProtector this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   17     0        this  Lcom/sun/crypto/provider/KeyProtector;
            0   17     1         key  Ljava/security/PrivateKey;
            1   17     2        salt  [B
            3   17     3     pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
            4   17     4  pbeKeySpec  Ljavax/crypto/spec/PBEKeySpec;
            5   17     5        sKey  Ljavax/crypto/SecretKey;
            7   17     6      cipher  Lcom/sun/crypto/provider/PBEWithMD5AndTripleDESCipher;
            9   17     7       plain  [B
           10   17     8     encrKey  [B
           12   17     9   pbeParams  Ljava/security/AlgorithmParameters;
           16   17    10     encrAlg  Lsun/security/x509/AlgorithmId;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      key   

  java.security.Key recover(com.sun.crypto.provider.EncryptedPrivateKeyInfo);
    descriptor: (Lcom/sun/crypto/provider/EncryptedPrivateKeyInfo;)Ljava/security/Key;
    flags: (0x0000) 
    Code:
      stack=5, locals=10, args_size=2
        start local 0 // com.sun.crypto.provider.KeyProtector this
        start local 1 // com.sun.crypto.provider.EncryptedPrivateKeyInfo encrInfo
         0: .line 137
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getAlgorithm:()Lsun/security/x509/AlgorithmId;
            invokevirtual sun.security.x509.AlgorithmId.getOID:()Lsun/security/util/ObjectIdentifier;
            invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
            astore 3 /* encrAlg */
        start local 3 // java.lang.String encrAlg
         1: .line 138
            aload 3 /* encrAlg */
            ldc "1.3.6.1.4.1.42.2.19.1"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 4
         2: .line 139
            aload 3 /* encrAlg */
            ldc "1.3.6.1.4.1.42.2.17.1.1"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 4
         3: .line 140
            new java.security.UnrecoverableKeyException
            dup
            ldc "Unsupported encryption algorithm"
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 144
      StackMap locals: com.sun.crypto.provider.KeyProtector com.sun.crypto.provider.EncryptedPrivateKeyInfo top java.lang.String
      StackMap stack:
            aload 3 /* encrAlg */
            ldc "1.3.6.1.4.1.42.2.17.1.1"
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 7
         5: .line 146
            aload 0 /* this */
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getEncryptedData:()[B
            invokevirtual com.sun.crypto.provider.KeyProtector.recover:([B)[B
            astore 2 /* plain */
        start local 2 // byte[] plain
         6: .line 147
            goto 25
        end local 2 // byte[] plain
         7: .line 149
      StackMap locals:
      StackMap stack:
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getAlgorithm:()Lsun/security/x509/AlgorithmId;
            invokevirtual sun.security.x509.AlgorithmId.getEncodedParams:()[B
         8: .line 148
            astore 4 /* encodedParams */
        start local 4 // byte[] encodedParams
         9: .line 153
            ldc "PBE"
            invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
        10: .line 152
            astore 5 /* pbeParams */
        start local 5 // java.security.AlgorithmParameters pbeParams
        11: .line 154
            aload 5 /* pbeParams */
            aload 4 /* encodedParams */
            invokevirtual java.security.AlgorithmParameters.init:([B)V
        12: .line 156
            aload 5 /* pbeParams */
            ldc Ljavax/crypto/spec/PBEParameterSpec;
            invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
            checkcast javax.crypto.spec.PBEParameterSpec
        13: .line 155
            astore 6 /* pbeSpec */
        start local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
        14: .line 157
            aload 6 /* pbeSpec */
            invokevirtual javax.crypto.spec.PBEParameterSpec.getIterationCount:()I
            ldc 5000000
            if_icmple 16
        15: .line 158
            new java.io.IOException
            dup
            ldc "PBE iteration count too large"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 162
      StackMap locals: byte[] java.security.AlgorithmParameters javax.crypto.spec.PBEParameterSpec
      StackMap stack:
            new javax.crypto.spec.PBEKeySpec
            dup
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C)V
            astore 7 /* pbeKeySpec */
        start local 7 // javax.crypto.spec.PBEKeySpec pbeKeySpec
        17: .line 164
            new com.sun.crypto.provider.PBEKey
            dup
            aload 7 /* pbeKeySpec */
            ldc "PBEWithMD5AndTripleDES"
            invokespecial com.sun.crypto.provider.PBEKey.<init>:(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
        18: .line 163
            astore 8 /* sKey */
        start local 8 // javax.crypto.SecretKey sKey
        19: .line 165
            aload 7 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
        20: .line 169
            new com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher
            dup
            invokespecial com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.<init>:()V
            astore 9 /* cipher */
        start local 9 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipher
        21: .line 170
            aload 9 /* cipher */
            iconst_2
            aload 8 /* sKey */
            aload 6 /* pbeSpec */
            aconst_null
            invokevirtual com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.engineInit:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
        22: .line 171
            aload 9 /* cipher */
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getEncryptedData:()[B
            iconst_0
        23: .line 172
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getEncryptedData:()[B
            arraylength
        24: .line 171
            invokevirtual com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.engineDoFinal:([BII)[B
            astore 2 /* plain */
        end local 9 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipher
        end local 8 // javax.crypto.SecretKey sKey
        end local 7 // javax.crypto.spec.PBEKeySpec pbeKeySpec
        end local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
        end local 5 // java.security.AlgorithmParameters pbeParams
        end local 4 // byte[] encodedParams
        start local 2 // byte[] plain
        25: .line 177
      StackMap locals: com.sun.crypto.provider.KeyProtector com.sun.crypto.provider.EncryptedPrivateKeyInfo byte[] java.lang.String
      StackMap stack:
            new sun.security.x509.AlgorithmId
            dup
        26: .line 178
            new com.sun.crypto.provider.PrivateKeyInfo
            dup
            aload 2 /* plain */
            invokespecial com.sun.crypto.provider.PrivateKeyInfo.<init>:([B)V
            invokevirtual com.sun.crypto.provider.PrivateKeyInfo.getAlgorithm:()Lsun/security/x509/AlgorithmId;
            invokevirtual sun.security.x509.AlgorithmId.getOID:()Lsun/security/util/ObjectIdentifier;
        27: .line 177
            invokespecial sun.security.x509.AlgorithmId.<init>:(Lsun/security/util/ObjectIdentifier;)V
        28: .line 178
            invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
        29: .line 177
            astore 4 /* oidName */
        start local 4 // java.lang.String oidName
        30: .line 179
            aload 4 /* oidName */
            invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
            astore 5 /* kFac */
        start local 5 // java.security.KeyFactory kFac
        31: .line 180
            aload 5 /* kFac */
            new java.security.spec.PKCS8EncodedKeySpec
            dup
            aload 2 /* plain */
            invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
            invokevirtual java.security.KeyFactory.generatePrivate:(Ljava/security/spec/KeySpec;)Ljava/security/PrivateKey;
        32: areturn
        end local 5 // java.security.KeyFactory kFac
        end local 4 // java.lang.String oidName
        end local 3 // java.lang.String encrAlg
        end local 2 // byte[] plain
        33: .line 182
      StackMap locals: com.sun.crypto.provider.KeyProtector com.sun.crypto.provider.EncryptedPrivateKeyInfo
      StackMap stack: java.security.NoSuchAlgorithmException
            astore 3 /* ex */
        start local 3 // java.security.NoSuchAlgorithmException ex
        34: .line 185
            aload 3 /* ex */
            athrow
        end local 3 // java.security.NoSuchAlgorithmException ex
        35: .line 186
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
        36: .line 187
            new java.security.UnrecoverableKeyException
            dup
            aload 3 /* ioe */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.io.IOException ioe
        37: .line 188
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 3 /* gse */
        start local 3 // java.security.GeneralSecurityException gse
        38: .line 189
            new java.security.UnrecoverableKeyException
            dup
            aload 3 /* gse */
            invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.security.GeneralSecurityException gse
        end local 1 // com.sun.crypto.provider.EncryptedPrivateKeyInfo encrInfo
        end local 0 // com.sun.crypto.provider.KeyProtector this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   39     0           this  Lcom/sun/crypto/provider/KeyProtector;
            0   39     1       encrInfo  Lcom/sun/crypto/provider/EncryptedPrivateKeyInfo;
            6    7     2          plain  [B
           25   33     2          plain  [B
            1   33     3        encrAlg  Ljava/lang/String;
            9   25     4  encodedParams  [B
           11   25     5      pbeParams  Ljava/security/AlgorithmParameters;
           14   25     6        pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
           17   25     7     pbeKeySpec  Ljavax/crypto/spec/PBEKeySpec;
           19   25     8           sKey  Ljavax/crypto/SecretKey;
           21   25     9         cipher  Lcom/sun/crypto/provider/PBEWithMD5AndTripleDESCipher;
           30   33     4        oidName  Ljava/lang/String;
           31   33     5           kFac  Ljava/security/KeyFactory;
           34   35     3             ex  Ljava/security/NoSuchAlgorithmException;
           36   37     3            ioe  Ljava/io/IOException;
           38   39     3            gse  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
           0    32      33  Class java.security.NoSuchAlgorithmException
           0    32      35  Class java.io.IOException
           0    32      37  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.security.UnrecoverableKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
          Name  Flags
      encrInfo  

  private byte[] recover(byte[]);
    descriptor: ([B)[B
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=14, args_size=2
        start local 0 // com.sun.crypto.provider.KeyProtector this
        start local 1 // byte[] protectedKey
         0: .line 208
            ldc "SHA"
            invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
            astore 8 /* md */
        start local 8 // java.security.MessageDigest md
         1: .line 212
            bipush 20
            newarray 8
            astore 9 /* salt */
        start local 9 // byte[] salt
         2: .line 213
            aload 1 /* protectedKey */
            iconst_0
            aload 9 /* salt */
            iconst_0
            bipush 20
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         3: .line 216
            aload 1 /* protectedKey */
            arraylength
            bipush 20
            isub
            bipush 20
            isub
            istore 7 /* encrKeyLen */
        start local 7 // int encrKeyLen
         4: .line 217
            iload 7 /* encrKeyLen */
            bipush 20
            idiv
            istore 5 /* numRounds */
        start local 5 // int numRounds
         5: .line 218
            iload 7 /* encrKeyLen */
            bipush 20
            irem
            ifeq 7
         6: .line 219
            iinc 5 /* numRounds */ 1
         7: .line 222
      StackMap locals: com.sun.crypto.provider.KeyProtector byte[] top top top int top int java.security.MessageDigest byte[]
      StackMap stack:
            iload 7 /* encrKeyLen */
            newarray 8
            astore 10 /* encrKey */
        start local 10 // byte[] encrKey
         8: .line 223
            aload 1 /* protectedKey */
            bipush 20
            aload 10 /* encrKey */
            iconst_0
            iload 7 /* encrKeyLen */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         9: .line 226
            aload 10 /* encrKey */
            arraylength
            newarray 8
            astore 11 /* xorKey */
        start local 11 // byte[] xorKey
        10: .line 229
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            arraylength
            iconst_2
            imul
            newarray 8
            astore 12 /* passwdBytes */
        start local 12 // byte[] passwdBytes
        11: .line 230
            iconst_0
            istore 2 /* i */
        start local 2 // int i
        12: iconst_0
            istore 3 /* j */
        start local 3 // int j
        13: goto 17
        14: .line 231
      StackMap locals: com.sun.crypto.provider.KeyProtector byte[] int int top int top int java.security.MessageDigest byte[] byte[] byte[] byte[]
      StackMap stack:
            aload 12 /* passwdBytes */
            iload 3 /* j */
            iinc 3 /* j */ 1
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            iload 2 /* i */
            caload
            bipush 8
            ishr
            i2b
            bastore
        15: .line 232
            aload 12 /* passwdBytes */
            iload 3 /* j */
            iinc 3 /* j */ 1
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            iload 2 /* i */
            caload
            i2b
            bastore
        16: .line 230
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        17: iload 2 /* i */
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            arraylength
            if_icmplt 14
        18: .line 236
            iconst_0
            istore 2 /* i */
            iconst_0
            istore 6 /* xorOffset */
        start local 6 // int xorOffset
        19: aload 9 /* salt */
            astore 4 /* digest */
        start local 4 // byte[] digest
        20: .line 237
            goto 34
        21: .line 239
      StackMap locals: com.sun.crypto.provider.KeyProtector byte[] int int byte[] int int int java.security.MessageDigest byte[] byte[] byte[] byte[]
      StackMap stack:
            aload 8 /* md */
            aload 12 /* passwdBytes */
            invokevirtual java.security.MessageDigest.update:([B)V
        22: .line 240
            aload 8 /* md */
            aload 4 /* digest */
            invokevirtual java.security.MessageDigest.update:([B)V
        23: .line 241
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.digest:()[B
            astore 4 /* digest */
        24: .line 242
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.reset:()V
        25: .line 244
            iload 2 /* i */
            iload 5 /* numRounds */
            iconst_1
            isub
            if_icmpge 30
        26: .line 245
            aload 4 /* digest */
            iconst_0
            aload 11 /* xorKey */
            iload 6 /* xorOffset */
        27: .line 246
            aload 4 /* digest */
            arraylength
        28: .line 245
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        29: .line 247
            goto 33
        30: .line 248
      StackMap locals:
      StackMap stack:
            aload 4 /* digest */
            iconst_0
            aload 11 /* xorKey */
            iload 6 /* xorOffset */
        31: .line 249
            aload 11 /* xorKey */
            arraylength
            iload 6 /* xorOffset */
            isub
        32: .line 248
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        33: .line 238
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
            iinc 6 /* xorOffset */ 20
        34: .line 237
      StackMap locals:
      StackMap stack:
            iload 2 /* i */
            iload 5 /* numRounds */
        35: .line 236
            if_icmplt 21
        36: .line 254
            aload 10 /* encrKey */
            arraylength
            newarray 8
            astore 13 /* plainKey */
        start local 13 // byte[] plainKey
        37: .line 255
            iconst_0
            istore 2 /* i */
            goto 40
        38: .line 256
      StackMap locals: byte[]
      StackMap stack:
            aload 13 /* plainKey */
            iload 2 /* i */
            aload 10 /* encrKey */
            iload 2 /* i */
            baload
            aload 11 /* xorKey */
            iload 2 /* i */
            baload
            ixor
            i2b
            bastore
        39: .line 255
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        40: iload 2 /* i */
            aload 13 /* plainKey */
            arraylength
            if_icmplt 38
        41: .line 264
            aload 8 /* md */
            aload 12 /* passwdBytes */
            invokevirtual java.security.MessageDigest.update:([B)V
        42: .line 265
            aload 12 /* passwdBytes */
            iconst_0
            invokestatic java.util.Arrays.fill:([BB)V
        43: .line 266
            aconst_null
            astore 12 /* passwdBytes */
        44: .line 267
            aload 8 /* md */
            aload 13 /* plainKey */
            invokevirtual java.security.MessageDigest.update:([B)V
        45: .line 268
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.digest:()[B
            astore 4 /* digest */
        46: .line 269
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.reset:()V
        47: .line 270
            iconst_0
            istore 2 /* i */
            goto 51
        48: .line 271
      StackMap locals:
      StackMap stack:
            aload 4 /* digest */
            iload 2 /* i */
            baload
            aload 1 /* protectedKey */
            bipush 20
            iload 7 /* encrKeyLen */
            iadd
            iload 2 /* i */
            iadd
            baload
            if_icmpeq 50
        49: .line 272
            new java.security.UnrecoverableKeyException
            dup
            ldc "Cannot recover key"
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        50: .line 270
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        51: iload 2 /* i */
            aload 4 /* digest */
            arraylength
            if_icmplt 48
        52: .line 275
            aload 13 /* plainKey */
            areturn
        end local 13 // byte[] plainKey
        end local 12 // byte[] passwdBytes
        end local 11 // byte[] xorKey
        end local 10 // byte[] encrKey
        end local 9 // byte[] salt
        end local 8 // java.security.MessageDigest md
        end local 7 // int encrKeyLen
        end local 6 // int xorOffset
        end local 5 // int numRounds
        end local 4 // byte[] digest
        end local 3 // int j
        end local 2 // int i
        end local 1 // byte[] protectedKey
        end local 0 // com.sun.crypto.provider.KeyProtector this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   53     0          this  Lcom/sun/crypto/provider/KeyProtector;
            0   53     1  protectedKey  [B
           12   53     2             i  I
           13   53     3             j  I
           20   53     4        digest  [B
            5   53     5     numRounds  I
           19   53     6     xorOffset  I
            4   53     7    encrKeyLen  I
            1   53     8            md  Ljava/security/MessageDigest;
            2   53     9          salt  [B
            8   53    10       encrKey  [B
           10   53    11        xorKey  [B
           11   53    12   passwdBytes  [B
           37   53    13      plainKey  [B
    Exceptions:
      throws java.security.UnrecoverableKeyException, java.security.NoSuchAlgorithmException
    MethodParameters:
              Name  Flags
      protectedKey  

  javax.crypto.SealedObject seal(java.security.Key);
    descriptor: (Ljava/security/Key;)Ljavax/crypto/SealedObject;
    flags: (0x0000) 
    Code:
      stack=5, locals=8, args_size=2
        start local 0 // com.sun.crypto.provider.KeyProtector this
        start local 1 // java.security.Key key
         0: .line 286
            bipush 8
            newarray 8
            astore 2 /* salt */
        start local 2 // byte[] salt
         1: .line 287
            invokestatic com.sun.crypto.provider.SunJCE.getRandom:()Ljava/security/SecureRandom;
            aload 2 /* salt */
            invokevirtual java.security.SecureRandom.nextBytes:([B)V
         2: .line 290
            new javax.crypto.spec.PBEParameterSpec
            dup
            aload 2 /* salt */
            ldc 200000
            invokespecial javax.crypto.spec.PBEParameterSpec.<init>:([BI)V
            astore 3 /* pbeSpec */
        start local 3 // javax.crypto.spec.PBEParameterSpec pbeSpec
         3: .line 293
            new javax.crypto.spec.PBEKeySpec
            dup
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C)V
            astore 4 /* pbeKeySpec */
        start local 4 // javax.crypto.spec.PBEKeySpec pbeKeySpec
         4: .line 294
            new com.sun.crypto.provider.PBEKey
            dup
            aload 4 /* pbeKeySpec */
            ldc "PBEWithMD5AndTripleDES"
            invokespecial com.sun.crypto.provider.PBEKey.<init>:(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
            astore 5 /* sKey */
        start local 5 // javax.crypto.SecretKey sKey
         5: .line 295
            aload 4 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
         6: .line 301
            new com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher
            dup
            invokespecial com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.<init>:()V
            astore 7 /* cipherSpi */
        start local 7 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipherSpi
         7: .line 302
            new com.sun.crypto.provider.CipherForKeyProtector
            dup
            aload 7 /* cipherSpi */
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
         8: .line 303
            ldc "PBEWithMD5AndTripleDES"
         9: .line 302
            invokespecial com.sun.crypto.provider.CipherForKeyProtector.<init>:(Ljavax/crypto/CipherSpi;Ljava/security/Provider;Ljava/lang/String;)V
            astore 6 /* cipher */
        start local 6 // javax.crypto.Cipher cipher
        10: .line 304
            aload 6 /* cipher */
            iconst_1
            aload 5 /* sKey */
            aload 3 /* pbeSpec */
            invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
        11: .line 305
            new com.sun.crypto.provider.SealedObjectForKeyProtector
            dup
            aload 1 /* key */
            aload 6 /* cipher */
            invokespecial com.sun.crypto.provider.SealedObjectForKeyProtector.<init>:(Ljava/io/Serializable;Ljavax/crypto/Cipher;)V
            areturn
        end local 7 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipherSpi
        end local 6 // javax.crypto.Cipher cipher
        end local 5 // javax.crypto.SecretKey sKey
        end local 4 // javax.crypto.spec.PBEKeySpec pbeKeySpec
        end local 3 // javax.crypto.spec.PBEParameterSpec pbeSpec
        end local 2 // byte[] salt
        end local 1 // java.security.Key key
        end local 0 // com.sun.crypto.provider.KeyProtector this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   12     0        this  Lcom/sun/crypto/provider/KeyProtector;
            0   12     1         key  Ljava/security/Key;
            1   12     2        salt  [B
            3   12     3     pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
            4   12     4  pbeKeySpec  Ljavax/crypto/spec/PBEKeySpec;
            5   12     5        sKey  Ljavax/crypto/SecretKey;
           10   12     6      cipher  Ljavax/crypto/Cipher;
            7   12     7   cipherSpi  Lcom/sun/crypto/provider/PBEWithMD5AndTripleDESCipher;
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
      Name  Flags
      key   

  java.security.Key unseal(javax.crypto.SealedObject);
    descriptor: (Ljavax/crypto/SealedObject;)Ljava/security/Key;
    flags: (0x0000) 
    Code:
      stack=5, locals=9, args_size=2
        start local 0 // com.sun.crypto.provider.KeyProtector this
        start local 1 // javax.crypto.SealedObject so
         0: .line 316
            new javax.crypto.spec.PBEKeySpec
            dup
            aload 0 /* this */
            getfield com.sun.crypto.provider.KeyProtector.password:[C
            invokespecial javax.crypto.spec.PBEKeySpec.<init>:([C)V
            astore 2 /* pbeKeySpec */
        start local 2 // javax.crypto.spec.PBEKeySpec pbeKeySpec
         1: .line 317
            new com.sun.crypto.provider.PBEKey
            dup
            aload 2 /* pbeKeySpec */
            ldc "PBEWithMD5AndTripleDES"
            invokespecial com.sun.crypto.provider.PBEKey.<init>:(Ljavax/crypto/spec/PBEKeySpec;Ljava/lang/String;)V
            astore 3 /* skey */
        start local 3 // javax.crypto.SecretKey skey
         2: .line 318
            aload 2 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
         3: .line 320
            aconst_null
            astore 4 /* soForKeyProtector */
        start local 4 // com.sun.crypto.provider.SealedObjectForKeyProtector soForKeyProtector
         4: .line 321
            aload 1 /* so */
            instanceof com.sun.crypto.provider.SealedObjectForKeyProtector
            ifne 7
         5: .line 322
            new com.sun.crypto.provider.SealedObjectForKeyProtector
            dup
            aload 1 /* so */
            invokespecial com.sun.crypto.provider.SealedObjectForKeyProtector.<init>:(Ljavax/crypto/SealedObject;)V
            astore 4 /* soForKeyProtector */
         6: .line 323
            goto 8
         7: .line 324
      StackMap locals: javax.crypto.spec.PBEKeySpec javax.crypto.SecretKey com.sun.crypto.provider.SealedObjectForKeyProtector
      StackMap stack:
            aload 1 /* so */
            checkcast com.sun.crypto.provider.SealedObjectForKeyProtector
            astore 4 /* soForKeyProtector */
         8: .line 326
      StackMap locals:
      StackMap stack:
            aload 4 /* soForKeyProtector */
            invokevirtual com.sun.crypto.provider.SealedObjectForKeyProtector.getParameters:()Ljava/security/AlgorithmParameters;
            astore 5 /* params */
        start local 5 // java.security.AlgorithmParameters params
         9: .line 327
            aload 5 /* params */
            ifnonnull 11
        10: .line 328
            new java.security.UnrecoverableKeyException
            dup
            ldc "Cannot get algorithm parameters"
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 333
      StackMap locals: java.security.AlgorithmParameters
      StackMap stack:
            aload 5 /* params */
            ldc Ljavax/crypto/spec/PBEParameterSpec;
            invokevirtual java.security.AlgorithmParameters.getParameterSpec:(Ljava/lang/Class;)Ljava/security/spec/AlgorithmParameterSpec;
            checkcast javax.crypto.spec.PBEParameterSpec
            astore 6 /* pbeSpec */
        start local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
        12: .line 334
            goto 15
        end local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
      StackMap locals:
      StackMap stack: java.security.spec.InvalidParameterSpecException
        13: pop
        14: .line 335
            new java.io.IOException
            dup
            ldc "Invalid PBE algorithm parameters"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        start local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
        15: .line 337
      StackMap locals: javax.crypto.spec.PBEParameterSpec
      StackMap stack:
            aload 6 /* pbeSpec */
            invokevirtual javax.crypto.spec.PBEParameterSpec.getIterationCount:()I
            ldc 5000000
            if_icmple 17
        16: .line 338
            new java.io.IOException
            dup
            ldc "PBE iteration count too large"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 341
      StackMap locals:
      StackMap stack:
            new com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher
            dup
            invokespecial com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher.<init>:()V
            astore 7 /* cipherSpi */
        start local 7 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipherSpi
        18: .line 342
            new com.sun.crypto.provider.CipherForKeyProtector
            dup
            aload 7 /* cipherSpi */
        19: .line 343
            invokestatic com.sun.crypto.provider.SunJCE.getInstance:()Lcom/sun/crypto/provider/SunJCE;
        20: .line 344
            ldc "PBEWithMD5AndTripleDES"
        21: .line 342
            invokespecial com.sun.crypto.provider.CipherForKeyProtector.<init>:(Ljavax/crypto/CipherSpi;Ljava/security/Provider;Ljava/lang/String;)V
            astore 8 /* cipher */
        start local 8 // javax.crypto.Cipher cipher
        22: .line 345
            aload 8 /* cipher */
            iconst_2
            aload 3 /* skey */
            aload 5 /* params */
            invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
        23: .line 346
            aload 4 /* soForKeyProtector */
            aload 8 /* cipher */
            invokevirtual com.sun.crypto.provider.SealedObjectForKeyProtector.getKey:(Ljavax/crypto/Cipher;)Ljava/security/Key;
        24: areturn
        end local 8 // javax.crypto.Cipher cipher
        end local 7 // com.sun.crypto.provider.PBEWithMD5AndTripleDESCipher cipherSpi
        end local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
        end local 5 // java.security.AlgorithmParameters params
        end local 4 // com.sun.crypto.provider.SealedObjectForKeyProtector soForKeyProtector
        end local 3 // javax.crypto.SecretKey skey
        end local 2 // javax.crypto.spec.PBEKeySpec pbeKeySpec
        25: .line 347
      StackMap locals: com.sun.crypto.provider.KeyProtector javax.crypto.SealedObject
      StackMap stack: java.security.NoSuchAlgorithmException
            astore 2 /* ex */
        start local 2 // java.security.NoSuchAlgorithmException ex
        26: .line 350
            aload 2 /* ex */
            athrow
        end local 2 // java.security.NoSuchAlgorithmException ex
        27: .line 351
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
        28: .line 352
            new java.security.UnrecoverableKeyException
            dup
            aload 2 /* ioe */
            invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.io.IOException ioe
        29: .line 353
      StackMap locals:
      StackMap stack: java.lang.ClassNotFoundException
            astore 2 /* cnfe */
        start local 2 // java.lang.ClassNotFoundException cnfe
        30: .line 354
            new java.security.UnrecoverableKeyException
            dup
            aload 2 /* cnfe */
            invokevirtual java.lang.ClassNotFoundException.getMessage:()Ljava/lang/String;
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.ClassNotFoundException cnfe
        31: .line 355
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 2 /* gse */
        start local 2 // java.security.GeneralSecurityException gse
        32: .line 356
            new java.security.UnrecoverableKeyException
            dup
            aload 2 /* gse */
            invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.security.GeneralSecurityException gse
        end local 1 // javax.crypto.SealedObject so
        end local 0 // com.sun.crypto.provider.KeyProtector this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   33     0               this  Lcom/sun/crypto/provider/KeyProtector;
            0   33     1                 so  Ljavax/crypto/SealedObject;
            1   25     2         pbeKeySpec  Ljavax/crypto/spec/PBEKeySpec;
            2   25     3               skey  Ljavax/crypto/SecretKey;
            4   25     4  soForKeyProtector  Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
            9   25     5             params  Ljava/security/AlgorithmParameters;
           12   13     6            pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
           15   25     6            pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
           18   25     7          cipherSpi  Lcom/sun/crypto/provider/PBEWithMD5AndTripleDESCipher;
           22   25     8             cipher  Ljavax/crypto/Cipher;
           26   27     2                 ex  Ljava/security/NoSuchAlgorithmException;
           28   29     2                ioe  Ljava/io/IOException;
           30   31     2               cnfe  Ljava/lang/ClassNotFoundException;
           32   33     2                gse  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
          11    12      13  Class java.security.spec.InvalidParameterSpecException
           0    24      25  Class java.security.NoSuchAlgorithmException
           0    24      27  Class java.io.IOException
           0    24      29  Class java.lang.ClassNotFoundException
           0    24      31  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException
    MethodParameters:
      Name  Flags
      so    
}
SourceFile: "KeyProtector.java"