public class javax.crypto.EncryptedPrivateKeyInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.crypto.EncryptedPrivateKeyInfo
super_class: java.lang.Object
{
private sun.security.x509.AlgorithmId algid;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x0002) ACC_PRIVATE
private byte[] encryptedData;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private byte[] encoded;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "the encoded parameter must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.crypto.EncryptedPrivateKeyInfo byte[]
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
5: new sun.security.util.DerValue
dup
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 6: iconst_2
anewarray sun.security.util.DerValue
astore 3
start local 3 7: aload 3
iconst_0
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
8: aload 3
iconst_1
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
9: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 11
10: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "overrun, bytes = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: sun.security.util.DerValue sun.security.util.DerValue[]
StackMap stack:
aload 0
aload 3
iconst_0
aaload
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
putfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
12: aload 3
iconst_0
aaload
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 14
13: new java.io.IOException
dup
ldc "encryptionAlgorithm field overrun"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
aload 3
iconst_1
aaload
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
15: aload 3
iconst_1
aaload
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 17
16: new java.io.IOException
dup
ldc "encryptedData field overrun"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 18 1 encoded [B
6 18 2 val Lsun/security/util/DerValue;
7 18 3 seq [Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
public void <init>(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "the algName parameter must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.crypto.EncryptedPrivateKeyInfo java.lang.String byte[]
StackMap stack:
aload 0
aload 1
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/lang/String;)Lsun/security/x509/AlgorithmId;
putfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
5: aload 2
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "the encryptedData parameter must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
arraylength
ifne 9
8: new java.lang.IllegalArgumentException
dup
ldc "the encryptedData parameter must not be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
10: aload 0
aconst_null
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 12 1 algName Ljava/lang/String;
0 12 2 encryptedData [B
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algName
encryptedData
public void <init>(java.security.AlgorithmParameters, byte[]);
descriptor: (Ljava/security/AlgorithmParameters;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "algParams must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.crypto.EncryptedPrivateKeyInfo java.security.AlgorithmParameters byte[]
StackMap stack:
aload 0
aload 1
invokestatic sun.security.x509.AlgorithmId.get:(Ljava/security/AlgorithmParameters;)Lsun/security/x509/AlgorithmId;
putfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
5: aload 2
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "encryptedData must be non-null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
arraylength
ifne 9
8: new java.lang.IllegalArgumentException
dup
ldc "the encryptedData parameter must not be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
10: aload 0
aconst_null
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 12 1 algParams Ljava/security/AlgorithmParameters;
0 12 2 encryptedData [B
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algParams
encryptedData
public java.lang.String getAlgName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
public java.security.AlgorithmParameters getAlgParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getParameters:()Ljava/security/AlgorithmParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
public byte[] getEncryptedData();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
public java.security.spec.PKCS8EncodedKeySpec getKeySpec(javax.crypto.Cipher);
descriptor: (Ljavax/crypto/Cipher;)Ljava/security/spec/PKCS8EncodedKeySpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 2
2: aload 2
invokestatic javax.crypto.EncryptedPrivateKeyInfo.checkPKCS8Encoding:([B)V
3: goto 16
StackMap locals: javax.crypto.EncryptedPrivateKeyInfo javax.crypto.Cipher byte[]
StackMap stack: java.security.GeneralSecurityException
4: astore 3
start local 3 5: new java.security.spec.InvalidKeySpecException
dup
6: ldc "Cannot retrieve the PKCS8EncodedKeySpec"
aload 3
7: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 9: new java.security.spec.InvalidKeySpecException
dup
10: ldc "Cannot retrieve the PKCS8EncodedKeySpec"
aload 3
11: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack: java.lang.IllegalStateException
astore 3
start local 3 13: new java.security.spec.InvalidKeySpecException
dup
14: ldc "Cannot retrieve the PKCS8EncodedKeySpec"
aload 3
15: invokespecial java.security.spec.InvalidKeySpecException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 16: StackMap locals:
StackMap stack:
new java.security.spec.PKCS8EncodedKeySpec
dup
aload 2
invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 17 1 cipher Ljavax/crypto/Cipher;
1 17 2 encoded [B
5 8 3 ex Ljava/security/GeneralSecurityException;
9 12 3 ex Ljava/io/IOException;
13 16 3 ex Ljava/lang/IllegalStateException;
Exception table:
from to target type
1 3 4 Class java.security.GeneralSecurityException
1 3 8 Class java.io.IOException
1 3 12 Class java.lang.IllegalStateException
Exceptions:
throws java.security.spec.InvalidKeySpecException
MethodParameters:
Name Flags
cipher
private java.security.spec.PKCS8EncodedKeySpec getKeySpecImpl(java.security.Key, java.security.Provider);
descriptor: (Ljava/security/Key;Ljava/security/Provider;)Ljava/security/spec/PKCS8EncodedKeySpec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
ifnonnull 4
2: aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;)Ljavax/crypto/Cipher;
astore 4
start local 4 3: goto 5
end local 4 4: StackMap locals: byte[]
StackMap stack:
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
aload 2
invokestatic javax.crypto.Cipher.getInstance:(Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/Cipher;
astore 4
start local 4 5: StackMap locals: javax.crypto.Cipher
StackMap stack:
aload 4
iconst_2
aload 1
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getParameters:()Ljava/security/AlgorithmParameters;
invokevirtual javax.crypto.Cipher.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;)V
6: aload 4
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
invokevirtual javax.crypto.Cipher.doFinal:([B)[B
astore 3
7: aload 3
invokestatic javax.crypto.EncryptedPrivateKeyInfo.checkPKCS8Encoding:([B)V
8: goto 19
end local 4 StackMap locals: javax.crypto.EncryptedPrivateKeyInfo java.security.Key java.security.Provider byte[]
StackMap stack: java.security.NoSuchAlgorithmException
9: astore 5
start local 5 10: aload 5
athrow
end local 5 11: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 5
start local 5 12: new java.security.InvalidKeyException
dup
13: ldc "Cannot retrieve the PKCS8EncodedKeySpec"
aload 5
14: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 15: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 16: new java.security.InvalidKeyException
dup
17: ldc "Cannot retrieve the PKCS8EncodedKeySpec"
aload 5
18: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 start local 4 19: StackMap locals: javax.crypto.Cipher
StackMap stack:
new java.security.spec.PKCS8EncodedKeySpec
dup
aload 3
invokespecial java.security.spec.PKCS8EncodedKeySpec.<init>:([B)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 20 1 decryptKey Ljava/security/Key;
0 20 2 provider Ljava/security/Provider;
1 20 3 encoded [B
3 4 4 c Ljavax/crypto/Cipher;
5 9 4 c Ljavax/crypto/Cipher;
19 20 4 c Ljavax/crypto/Cipher;
10 11 5 nsae Ljava/security/NoSuchAlgorithmException;
12 15 5 ex Ljava/security/GeneralSecurityException;
16 19 5 ex Ljava/io/IOException;
Exception table:
from to target type
1 8 9 Class java.security.NoSuchAlgorithmException
1 8 11 Class java.security.GeneralSecurityException
1 8 15 Class java.io.IOException
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
decryptKey
provider
public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key);
descriptor: (Ljava/security/Key;)Ljava/security/spec/PKCS8EncodedKeySpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "decryptKey is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
aconst_null
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getKeySpecImpl:(Ljava/security/Key;Ljava/security/Provider;)Ljava/security/spec/PKCS8EncodedKeySpec;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 3 1 decryptKey Ljava/security/Key;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
decryptKey
public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, java.lang.String);
descriptor: (Ljava/security/Key;Ljava/lang/String;)Ljava/security/spec/PKCS8EncodedKeySpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "decryptKey is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "provider is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
invokestatic java.security.Security.getProvider:(Ljava/lang/String;)Ljava/security/Provider;
astore 3
start local 3 5: aload 3
ifnonnull 9
6: new java.security.NoSuchProviderException
dup
new java.lang.StringBuilder
dup
ldc "provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.security.NoSuchProviderException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: java.security.Provider
StackMap stack:
aload 0
aload 1
aload 3
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getKeySpecImpl:(Ljava/security/Key;Ljava/security/Provider;)Ljava/security/spec/PKCS8EncodedKeySpec;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 10 1 decryptKey Ljava/security/Key;
0 10 2 providerName Ljava/lang/String;
5 10 3 provider Ljava/security/Provider;
Exceptions:
throws java.security.NoSuchProviderException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
decryptKey
providerName
public java.security.spec.PKCS8EncodedKeySpec getKeySpec(java.security.Key, java.security.Provider);
descriptor: (Ljava/security/Key;Ljava/security/Provider;)Ljava/security/spec/PKCS8EncodedKeySpec;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "decryptKey is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.NullPointerException
dup
ldc "provider is null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual javax.crypto.EncryptedPrivateKeyInfo.getKeySpecImpl:(Ljava/security/Key;Ljava/security/Provider;)Ljava/security/spec/PKCS8EncodedKeySpec;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
0 5 1 decryptKey Ljava/security/Key;
0 5 2 provider Ljava/security/Provider;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
decryptKey
provider
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
ifnonnull 7
1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 2: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 3: aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.algid:Lsun/security/x509/AlgorithmId;
aload 2
invokevirtual sun.security.x509.AlgorithmId.encode:(Lsun/security/util/DerOutputStream;)V
4: aload 2
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encryptedData:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
5: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
6: aload 0
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
end local 2 end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.EncryptedPrivateKeyInfo.encoded:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/crypto/EncryptedPrivateKeyInfo;
2 7 1 out Lsun/security/util/DerOutputStream;
3 7 2 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
private static void checkTag(sun.security.util.DerValue, byte, java.lang.String);
descriptor: (Lsun/security/util/DerValue;BLjava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.security.util.DerValue.getTag:()B
iload 1
if_icmpeq 4
1: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "invalid key encoding - wrong tag for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 val Lsun/security/util/DerValue;
0 5 1 tag B
0 5 2 valName Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
val
tag
valName
private static void checkPKCS8Encoding(byte[]);
descriptor: ([B)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new sun.security.util.DerInputStream
dup
aload 0
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 1
start local 1 1: aload 1
iconst_3
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 2
start local 2 2: aload 2
arraylength
tableswitch { // 3 - 4
3: 4
4: 3
default: 11
}
3: StackMap locals: sun.security.util.DerInputStream sun.security.util.DerValue[]
StackMap stack:
aload 2
iconst_3
aaload
bipush -128
ldc "attributes"
invokestatic javax.crypto.EncryptedPrivateKeyInfo.checkTag:(Lsun/security/util/DerValue;BLjava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
iconst_2
ldc "version"
invokestatic javax.crypto.EncryptedPrivateKeyInfo.checkTag:(Lsun/security/util/DerValue;BLjava/lang/String;)V
5: aload 2
iconst_1
aaload
invokevirtual sun.security.util.DerValue.toDerInputStream:()Lsun/security/util/DerInputStream;
astore 3
start local 3 6: aload 3
invokevirtual sun.security.util.DerInputStream.getOID:()Lsun/security/util/ObjectIdentifier;
pop
7: aload 3
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 9
8: aload 3
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
pop
9: StackMap locals: sun.security.util.DerInputStream
StackMap stack:
aload 2
iconst_2
aaload
iconst_4
ldc "privateKey"
invokestatic javax.crypto.EncryptedPrivateKeyInfo.checkTag:(Lsun/security/util/DerValue;BLjava/lang/String;)V
10: goto 12
end local 3 11: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "invalid key encoding"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 encodedKey [B
1 13 1 in Lsun/security/util/DerInputStream;
2 13 2 values [Lsun/security/util/DerValue;
6 11 3 algid Lsun/security/util/DerInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodedKey
}
SourceFile: "EncryptedPrivateKeyInfo.java"