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

  private static final java.security.Provider PROV;
    descriptor: Ljava/security/Provider;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 85
            ldc "SunJCE"
            invokestatic java.security.Security.getProvider:(Ljava/lang/String;)Ljava/security/Provider;
            putstatic com.sun.crypto.provider.KeyProtector.PROV:Ljava/security/Provider;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  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 87
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 88
            aload 1 /* password */
            ifnonnull 3
         2: .line 89
            new java.lang.IllegalArgumentException
            dup
            ldc "password can't be null"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 91
      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 92
            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 102
            bipush 8
            newarray 8
            astore 2 /* salt */
        start local 2 // byte[] salt
         1: .line 103
            getstatic com.sun.crypto.provider.SunJCE.RANDOM:Ljava/security/SecureRandom;
            aload 2 /* salt */
            invokevirtual java.security.SecureRandom.nextBytes:([B)V
         2: .line 106
            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 109
            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 110
            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 111
            aload 4 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
         6: .line 115
            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 116
            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 117
            aload 1 /* key */
            invokeinterface java.security.PrivateKey.getEncoded:()[B
            astore 7 /* plain */
        start local 7 // byte[] plain
         9: .line 118
            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 123
            ldc "PBE"
            getstatic com.sun.crypto.provider.KeyProtector.PROV:Ljava/security/Provider;
            invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljava/security/AlgorithmParameters;
        11: .line 122
            astore 9 /* pbeParams */
        start local 9 // java.security.AlgorithmParameters pbeParams
        12: .line 124
            aload 9 /* pbeParams */
            aload 3 /* pbeSpec */
            invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
        13: .line 126
            new sun.security.x509.AlgorithmId
            dup
        14: .line 127
            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 126
            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 128
            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 141
            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 142
            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 143
            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 144
            new java.security.UnrecoverableKeyException
            dup
            ldc "Unsupported encryption algorithm"
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 148
      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 150
            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 151
            goto 25
        end local 2 // byte[] plain
         7: .line 153
      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 152
            astore 4 /* encodedParams */
        start local 4 // byte[] encodedParams
         9: .line 157
            ldc "PBE"
            invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
        10: .line 156
            astore 5 /* pbeParams */
        start local 5 // java.security.AlgorithmParameters pbeParams
        11: .line 158
            aload 5 /* pbeParams */
            aload 4 /* encodedParams */
            invokevirtual java.security.AlgorithmParameters.init:([B)V
        12: .line 160
            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 159
            astore 6 /* pbeSpec */
        start local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
        14: .line 161
            aload 6 /* pbeSpec */
            invokevirtual javax.crypto.spec.PBEParameterSpec.getIterationCount:()I
            ldc 5000000
            if_icmple 16
        15: .line 162
            new java.io.IOException
            dup
            ldc "PBE iteration count too large"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        16: .line 166
      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 168
            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 167
            astore 8 /* sKey */
        start local 8 // javax.crypto.SecretKey sKey
        19: .line 169
            aload 7 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
        20: .line 173
            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 174
            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 175
            aload 9 /* cipher */
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getEncryptedData:()[B
            iconst_0
        23: .line 176
            aload 1 /* encrInfo */
            invokevirtual com.sun.crypto.provider.EncryptedPrivateKeyInfo.getEncryptedData:()[B
            arraylength
        24: .line 175
            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 181
      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 182
            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 181
            invokespecial sun.security.x509.AlgorithmId.<init>:(Lsun/security/util/ObjectIdentifier;)V
        28: .line 182
            invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
        29: .line 181
            astore 4 /* oidName */
        start local 4 // java.lang.String oidName
        30: .line 183
            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 184
            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 186
      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 189
            aload 3 /* ex */
            athrow
        end local 3 // java.security.NoSuchAlgorithmException ex
        35: .line 190
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* ioe */
        start local 3 // java.io.IOException ioe
        36: .line 191
            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 192
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 3 /* gse */
        start local 3 // java.security.GeneralSecurityException gse
        38: .line 193
            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 212
            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 216
            bipush 20
            newarray 8
            astore 9 /* salt */
        start local 9 // byte[] salt
         2: .line 217
            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 220
            aload 1 /* protectedKey */
            arraylength
            bipush 20
            isub
            bipush 20
            isub
            istore 7 /* encrKeyLen */
        start local 7 // int encrKeyLen
         4: .line 221
            iload 7 /* encrKeyLen */
            bipush 20
            idiv
            istore 5 /* numRounds */
        start local 5 // int numRounds
         5: .line 222
            iload 7 /* encrKeyLen */
            bipush 20
            irem
            ifeq 7
         6: .line 223
            iinc 5 /* numRounds */ 1
         7: .line 226
      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 227
            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 230
            aload 10 /* encrKey */
            arraylength
            newarray 8
            astore 11 /* xorKey */
        start local 11 // byte[] xorKey
        10: .line 233
            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 234
            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 235
      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 236
            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 234
            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 240
            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 241
            goto 34
        21: .line 243
      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 244
            aload 8 /* md */
            aload 4 /* digest */
            invokevirtual java.security.MessageDigest.update:([B)V
        23: .line 245
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.digest:()[B
            astore 4 /* digest */
        24: .line 246
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.reset:()V
        25: .line 248
            iload 2 /* i */
            iload 5 /* numRounds */
            iconst_1
            isub
            if_icmpge 30
        26: .line 249
            aload 4 /* digest */
            iconst_0
            aload 11 /* xorKey */
            iload 6 /* xorOffset */
        27: .line 250
            aload 4 /* digest */
            arraylength
        28: .line 249
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        29: .line 251
            goto 33
        30: .line 252
      StackMap locals:
      StackMap stack:
            aload 4 /* digest */
            iconst_0
            aload 11 /* xorKey */
            iload 6 /* xorOffset */
        31: .line 253
            aload 11 /* xorKey */
            arraylength
            iload 6 /* xorOffset */
            isub
        32: .line 252
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        33: .line 242
      StackMap locals:
      StackMap stack:
            iinc 2 /* i */ 1
            iinc 6 /* xorOffset */ 20
        34: .line 241
      StackMap locals:
      StackMap stack:
            iload 2 /* i */
            iload 5 /* numRounds */
        35: .line 240
            if_icmplt 21
        36: .line 258
            aload 10 /* encrKey */
            arraylength
            newarray 8
            astore 13 /* plainKey */
        start local 13 // byte[] plainKey
        37: .line 259
            iconst_0
            istore 2 /* i */
            goto 40
        38: .line 260
      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 259
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
        40: iload 2 /* i */
            aload 13 /* plainKey */
            arraylength
            if_icmplt 38
        41: .line 268
            aload 8 /* md */
            aload 12 /* passwdBytes */
            invokevirtual java.security.MessageDigest.update:([B)V
        42: .line 269
            aload 12 /* passwdBytes */
            iconst_0
            invokestatic java.util.Arrays.fill:([BB)V
        43: .line 270
            aconst_null
            astore 12 /* passwdBytes */
        44: .line 271
            aload 8 /* md */
            aload 13 /* plainKey */
            invokevirtual java.security.MessageDigest.update:([B)V
        45: .line 272
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.digest:()[B
            astore 4 /* digest */
        46: .line 273
            aload 8 /* md */
            invokevirtual java.security.MessageDigest.reset:()V
        47: .line 274
            iconst_0
            istore 2 /* i */
            goto 51
        48: .line 275
      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 276
            new java.security.UnrecoverableKeyException
            dup
            ldc "Cannot recover key"
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        50: .line 274
      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 279
            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 290
            bipush 8
            newarray 8
            astore 2 /* salt */
        start local 2 // byte[] salt
         1: .line 291
            getstatic com.sun.crypto.provider.SunJCE.RANDOM:Ljava/security/SecureRandom;
            aload 2 /* salt */
            invokevirtual java.security.SecureRandom.nextBytes:([B)V
         2: .line 294
            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 297
            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 298
            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 299
            aload 4 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
         6: .line 305
            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 306
            new com.sun.crypto.provider.CipherForKeyProtector
            dup
            aload 7 /* cipherSpi */
            getstatic com.sun.crypto.provider.KeyProtector.PROV:Ljava/security/Provider;
         8: .line 307
            ldc "PBEWithMD5AndTripleDES"
         9: .line 306
            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 308
            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 309
            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 320
            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 321
            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 322
            aload 2 /* pbeKeySpec */
            invokevirtual javax.crypto.spec.PBEKeySpec.clearPassword:()V
         3: .line 324
            aconst_null
            astore 4 /* soForKeyProtector */
        start local 4 // com.sun.crypto.provider.SealedObjectForKeyProtector soForKeyProtector
         4: .line 325
            aload 1 /* so */
            instanceof com.sun.crypto.provider.SealedObjectForKeyProtector
            ifne 7
         5: .line 326
            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 327
            goto 8
         7: .line 328
      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 330
      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 331
            aload 5 /* params */
            ifnonnull 11
        10: .line 332
            new java.security.UnrecoverableKeyException
            dup
            ldc "Cannot get algorithm parameters"
            invokespecial java.security.UnrecoverableKeyException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 337
      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 338
            goto 15
        end local 6 // javax.crypto.spec.PBEParameterSpec pbeSpec
      StackMap locals:
      StackMap stack: java.security.spec.InvalidParameterSpecException
        13: pop
        14: .line 339
            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 341
      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 342
            new java.io.IOException
            dup
            ldc "PBE iteration count too large"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 345
      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 346
            new com.sun.crypto.provider.CipherForKeyProtector
            dup
            aload 7 /* cipherSpi */
            getstatic com.sun.crypto.provider.KeyProtector.PROV:Ljava/security/Provider;
        19: .line 347
            ldc "PBEWithMD5AndTripleDES"
        20: .line 346
            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
        21: .line 348
            aload 8 /* cipher */
            iconst_2
            aload 3 /* skey */
            aload 5 /* params */
            invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
        22: .line 349
            aload 4 /* soForKeyProtector */
            aload 8 /* cipher */
            invokevirtual com.sun.crypto.provider.SealedObjectForKeyProtector.getKey:(Ljavax/crypto/Cipher;)Ljava/security/Key;
        23: 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
        24: .line 350
      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
        25: .line 353
            aload 2 /* ex */
            athrow
        end local 2 // java.security.NoSuchAlgorithmException ex
        26: .line 354
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 2 /* ioe */
        start local 2 // java.io.IOException ioe
        27: .line 355
            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
        28: .line 356
      StackMap locals:
      StackMap stack: java.lang.ClassNotFoundException
            astore 2 /* cnfe */
        start local 2 // java.lang.ClassNotFoundException cnfe
        29: .line 357
            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
        30: .line 358
      StackMap locals:
      StackMap stack: java.security.GeneralSecurityException
            astore 2 /* gse */
        start local 2 // java.security.GeneralSecurityException gse
        31: .line 359
            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   32     0               this  Lcom/sun/crypto/provider/KeyProtector;
            0   32     1                 so  Ljavax/crypto/SealedObject;
            1   24     2         pbeKeySpec  Ljavax/crypto/spec/PBEKeySpec;
            2   24     3               skey  Ljavax/crypto/SecretKey;
            4   24     4  soForKeyProtector  Lcom/sun/crypto/provider/SealedObjectForKeyProtector;
            9   24     5             params  Ljava/security/AlgorithmParameters;
           12   13     6            pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
           15   24     6            pbeSpec  Ljavax/crypto/spec/PBEParameterSpec;
           18   24     7          cipherSpi  Lcom/sun/crypto/provider/PBEWithMD5AndTripleDESCipher;
           21   24     8             cipher  Ljavax/crypto/Cipher;
           25   26     2                 ex  Ljava/security/NoSuchAlgorithmException;
           27   28     2                ioe  Ljava/io/IOException;
           29   30     2               cnfe  Ljava/lang/ClassNotFoundException;
           31   32     2                gse  Ljava/security/GeneralSecurityException;
      Exception table:
        from    to  target  type
          11    12      13  Class java.security.spec.InvalidParameterSpecException
           0    23      24  Class java.security.NoSuchAlgorithmException
           0    23      26  Class java.io.IOException
           0    23      28  Class java.lang.ClassNotFoundException
           0    23      30  Class java.security.GeneralSecurityException
    Exceptions:
      throws java.security.NoSuchAlgorithmException, java.security.UnrecoverableKeyException
    MethodParameters:
      Name  Flags
      so    
}
SourceFile: "KeyProtector.java"