public class javax.crypto.KeyAgreement
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.crypto.KeyAgreement
super_class: java.lang.Object
{
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final sun.security.util.Debug pdebug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean skipDebug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.KeyAgreementSpi spi;
descriptor: Ljavax/crypto/KeyAgreementSpi;
flags: (0x0002) ACC_PRIVATE
private final java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.security.Provider$Service firstService;
descriptor: Ljava/security/Provider$Service;
flags: (0x0002) ACC_PRIVATE
private java.util.Iterator<java.security.Provider$Service> serviceIterator;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<Ljava/security/Provider$Service;>;
private final java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static int warnCount;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int I_NO_PARAMS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int I_PARAMS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "jca"
ldc "KeyAgreement"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
1: putstatic javax.crypto.KeyAgreement.debug:Lsun/security/util/Debug;
2: ldc "provider"
ldc "Provider"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/util/Debug;
3: putstatic javax.crypto.KeyAgreement.pdebug:Lsun/security/util/Debug;
4: ldc "engine="
invokestatic sun.security.util.Debug.isOn:(Ljava/lang/String;)Z
ifeq 6
ldc "keyagreement"
invokestatic sun.security.util.Debug.isOn:(Ljava/lang/String;)Z
ifne 6
5: iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: putstatic javax.crypto.KeyAgreement.skipDebug:Z
8: bipush 10
putstatic javax.crypto.KeyAgreement.warnCount:I
9: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(javax.crypto.KeyAgreementSpi, java.security.Provider, java.lang.String);
descriptor: (Ljavax/crypto/KeyAgreementSpi;Ljava/security/Provider;Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
2: aload 0
aload 2
putfield javax.crypto.KeyAgreement.provider:Ljava/security/Provider;
3: aload 0
aload 3
putfield javax.crypto.KeyAgreement.algorithm:Ljava/lang/String;
4: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.lock:Ljava/lang/Object;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/KeyAgreement;
0 6 1 keyAgreeSpi Ljavax/crypto/KeyAgreementSpi;
0 6 2 provider Ljava/security/Provider;
0 6 3 algorithm Ljava/lang/String;
MethodParameters:
Name Flags
keyAgreeSpi
provider
algorithm
private void <init>(java.security.Provider$Service, java.util.Iterator<java.security.Provider$Service>, java.lang.String);
descriptor: (Ljava/security/Provider$Service;Ljava/util/Iterator;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
2: aload 0
aload 2
putfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
3: aload 0
aload 3
putfield javax.crypto.KeyAgreement.algorithm:Ljava/lang/String;
4: aload 0
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putfield javax.crypto.KeyAgreement.lock:Ljava/lang/Object;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/KeyAgreement;
0 6 1 s Ljava/security/Provider$Service;
0 6 2 t Ljava/util/Iterator<Ljava/security/Provider$Service;>;
0 6 3 algorithm Ljava/lang/String;
Signature: (Ljava/security/Provider$Service;Ljava/util/Iterator<Ljava/security/Provider$Service;>;Ljava/lang/String;)V
MethodParameters:
Name Flags
s
t
algorithm
public final java.lang.String getAlgorithm();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.KeyAgreement.algorithm:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/KeyAgreement;
public static final javax.crypto.KeyAgreement getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/crypto/KeyAgreement;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=1
start local 0 0: ldc "KeyAgreement"
aload 0
invokestatic sun.security.jca.GetInstance.getServices:(Ljava/lang/String;Ljava/lang/String;)Ljava/util/List;
1: astore 1
start local 1 2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: goto 8
4: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Provider$Service
astore 3
start local 3 5: aload 3
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
ifne 7
6: goto 8
7: StackMap locals: java.security.Provider$Service
StackMap stack:
new javax.crypto.KeyAgreement
dup
aload 3
aload 2
aload 0
invokespecial javax.crypto.KeyAgreement.<init>:(Ljava/security/Provider$Service;Ljava/util/Iterator;Ljava/lang/String;)V
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: new java.security.NoSuchAlgorithmException
dup
10: new java.lang.StringBuilder
dup
ldc "Algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not available"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 algorithm Ljava/lang/String;
2 12 1 services Ljava/util/List<Ljava/security/Provider$Service;>;
3 12 2 t Ljava/util/Iterator<Ljava/security/Provider$Service;>;
5 8 3 s Ljava/security/Provider$Service;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algorithm
public static final javax.crypto.KeyAgreement getInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/KeyAgreement;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc "KeyAgreement"
ldc Ljavax/crypto/KeyAgreementSpi;
aload 0
aload 1
1: invokestatic javax.crypto.JceSecurity.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;
astore 2
start local 2 2: new javax.crypto.KeyAgreement
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.crypto.KeyAgreementSpi
3: aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
4: invokespecial javax.crypto.KeyAgreement.<init>:(Ljavax/crypto/KeyAgreementSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 algorithm Ljava/lang/String;
0 5 1 provider Ljava/lang/String;
2 5 2 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
algorithm
provider
public static final javax.crypto.KeyAgreement getInstance(java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/KeyAgreement;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: ldc "KeyAgreement"
ldc Ljavax/crypto/KeyAgreementSpi;
aload 0
aload 1
1: invokestatic javax.crypto.JceSecurity.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;Ljava/security/Provider;)Lsun/security/jca/GetInstance$Instance;
astore 2
start local 2 2: new javax.crypto.KeyAgreement
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.crypto.KeyAgreementSpi
3: aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
4: invokespecial javax.crypto.KeyAgreement.<init>:(Ljavax/crypto/KeyAgreementSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 algorithm Ljava/lang/String;
0 5 1 provider Ljava/security/Provider;
2 5 2 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algorithm
provider
void chooseFirstProvider();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
ifnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
ifnull 6
4: aload 1
monitorexit
5: return
6: StackMap locals: java.lang.Object
StackMap stack:
getstatic javax.crypto.KeyAgreement.debug:Lsun/security/util/Debug;
ifnull 13
7: getstatic javax.crypto.KeyAgreement.warnCount:I
iconst_1
isub
dup
putstatic javax.crypto.KeyAgreement.warnCount:I
istore 2
start local 2 8: iload 2
iflt 13
9: getstatic javax.crypto.KeyAgreement.debug:Lsun/security/util/Debug;
ldc "KeyAgreement.init() not first method called, disabling delayed provider selection"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
10: iload 2
ifne 12
11: getstatic javax.crypto.KeyAgreement.debug:Lsun/security/util/Debug;
ldc "Further warnings of this type will be suppressed"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
12: StackMap locals: int
StackMap stack:
new java.lang.Exception
dup
ldc "Call trace"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.Exception.printStackTrace:()V
end local 2 13: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 14: goto 33
15: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
ifnull 19
16: aload 0
getfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
astore 3
start local 3 17: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
18: goto 20
end local 3 19: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Provider$Service
astore 3
start local 3 20: StackMap locals: java.security.Provider$Service
StackMap stack:
aload 3
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
ifne 22
21: goto 33
22: StackMap locals:
StackMap stack:
aload 3
aconst_null
invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 23: aload 4
instanceof javax.crypto.KeyAgreementSpi
ifne 25
24: goto 33
25: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 4
checkcast javax.crypto.KeyAgreementSpi
putfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
26: aload 0
aload 3
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
putfield javax.crypto.KeyAgreement.provider:Ljava/security/Provider;
27: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
28: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
29: aload 1
monitorexit
30: return
end local 4 31: StackMap locals: javax.crypto.KeyAgreement java.lang.Object java.lang.Exception java.security.Provider$Service
StackMap stack: java.lang.Exception
astore 4
start local 4 32: aload 4
astore 2
end local 4 end local 3 33: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
ifnonnull 15
aload 0
getfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
34: new java.security.ProviderException
dup
35: ldc "Could not construct KeyAgreementSpi instance"
36: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
astore 3
start local 3 37: aload 2
ifnull 39
38: aload 3
aload 2
invokevirtual java.security.ProviderException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
39: StackMap locals: java.security.ProviderException
StackMap stack:
aload 3
athrow
end local 3 end local 2 40: StackMap locals: javax.crypto.KeyAgreement java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
41: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Ljavax/crypto/KeyAgreement;
8 13 2 w I
14 40 2 lastException Ljava/lang/Exception;
17 19 3 s Ljava/security/Provider$Service;
20 33 3 s Ljava/security/Provider$Service;
23 31 4 obj Ljava/lang/Object;
32 33 4 e Ljava/lang/Exception;
37 40 3 e Ljava/security/ProviderException;
Exception table:
from to target type
22 24 31 Class java.lang.Exception
25 29 31 Class java.lang.Exception
3 5 40 any
6 30 40 any
31 41 40 any
private void implInit(javax.crypto.KeyAgreementSpi, int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Ljavax/crypto/KeyAgreementSpi;ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 2
iconst_1
if_icmpne 3
1: aload 1
aload 3
aload 5
invokevirtual javax.crypto.KeyAgreementSpi.engineInit:(Ljava/security/Key;Ljava/security/SecureRandom;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 3
aload 4
aload 5
invokevirtual javax.crypto.KeyAgreementSpi.engineInit:(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
4: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/crypto/KeyAgreement;
0 5 1 spi Ljavax/crypto/KeyAgreementSpi;
0 5 2 type I
0 5 3 key Ljava/security/Key;
0 5 4 params Ljava/security/spec/AlgorithmParameterSpec;
0 5 5 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
spi
type
key
params
random
private void chooseProvider(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.crypto.KeyAgreement.lock:Ljava/lang/Object;
dup
astore 5
monitorenter
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
ifnull 5
2: aload 0
aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
iload 1
aload 2
aload 3
aload 4
invokevirtual javax.crypto.KeyAgreement.implInit:(Ljavax/crypto/KeyAgreementSpi;ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
3: aload 5
monitorexit
4: return
5: StackMap locals: java.lang.Object
StackMap stack:
aconst_null
astore 6
start local 6 6: goto 27
7: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
ifnull 11
8: aload 0
getfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
astore 7
start local 7 9: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
10: goto 12
end local 7 11: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.Provider$Service
astore 7
start local 7 12: StackMap locals: java.security.Provider$Service
StackMap stack:
aload 7
aload 2
invokevirtual java.security.Provider$Service.supportsParameter:(Ljava/lang/Object;)Z
ifne 14
13: goto 27
14: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
invokestatic javax.crypto.JceSecurity.canUseProvider:(Ljava/security/Provider;)Z
ifne 16
15: goto 27
16: StackMap locals:
StackMap stack:
aload 7
aconst_null
invokevirtual java.security.Provider$Service.newInstance:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.crypto.KeyAgreementSpi
astore 8
start local 8 17: aload 0
aload 8
iload 1
aload 2
aload 3
aload 4
invokevirtual javax.crypto.KeyAgreement.implInit:(Ljavax/crypto/KeyAgreementSpi;ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
18: aload 0
aload 7
invokevirtual java.security.Provider$Service.getProvider:()Ljava/security/Provider;
putfield javax.crypto.KeyAgreement.provider:Ljava/security/Provider;
19: aload 0
aload 8
putfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
20: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
21: aload 0
aconst_null
putfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
22: aload 5
monitorexit
23: return
end local 8 24: StackMap locals:
StackMap stack: java.lang.Exception
astore 8
start local 8 25: aload 6
ifnonnull 27
26: aload 8
astore 6
end local 8 end local 7 27: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.KeyAgreement.firstService:Ljava/security/Provider$Service;
ifnonnull 7
aload 0
getfield javax.crypto.KeyAgreement.serviceIterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
28: aload 6
instanceof java.security.InvalidKeyException
ifeq 30
29: aload 6
checkcast java.security.InvalidKeyException
athrow
30: StackMap locals:
StackMap stack:
aload 6
instanceof java.security.InvalidAlgorithmParameterException
ifeq 32
31: aload 6
checkcast java.security.InvalidAlgorithmParameterException
athrow
32: StackMap locals:
StackMap stack:
aload 6
instanceof java.lang.RuntimeException
ifeq 34
33: aload 6
checkcast java.lang.RuntimeException
athrow
34: StackMap locals:
StackMap stack:
aload 2
ifnull 35
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
goto 36
StackMap locals:
StackMap stack:
35: ldc "(null)"
StackMap locals:
StackMap stack: java.lang.String
36: astore 7
start local 7 37: new java.security.InvalidKeyException
dup
38: new java.lang.StringBuilder
dup
ldc "No installed provider supports this key: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
39: aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
40: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
41: aload 6
42: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 7 end local 6 43: StackMap locals: javax.crypto.KeyAgreement int java.security.Key java.security.spec.AlgorithmParameterSpec java.security.SecureRandom java.lang.Object
StackMap stack: java.lang.Throwable
aload 5
monitorexit
44: athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 45 0 this Ljavax/crypto/KeyAgreement;
0 45 1 initType I
0 45 2 key Ljava/security/Key;
0 45 3 params Ljava/security/spec/AlgorithmParameterSpec;
0 45 4 random Ljava/security/SecureRandom;
6 43 6 lastException Ljava/lang/Exception;
9 11 7 s Ljava/security/Provider$Service;
12 27 7 s Ljava/security/Provider$Service;
17 24 8 spi Ljavax/crypto/KeyAgreementSpi;
25 27 8 e Ljava/lang/Exception;
37 43 7 kName Ljava/lang/String;
Exception table:
from to target type
16 22 24 Class java.lang.Exception
1 4 43 any
5 23 43 any
24 44 43 any
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
initType
key
params
random
public final java.security.Provider getProvider();
descriptor: ()Ljava/security/Provider;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.KeyAgreement.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.KeyAgreement.provider:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
public final void init(java.security.Key);
descriptor: (Ljava/security/Key;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic javax.crypto.JceSecurity.RANDOM:Ljava/security/SecureRandom;
invokevirtual javax.crypto.KeyAgreement.init:(Ljava/security/Key;Ljava/security/SecureRandom;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
0 2 1 key Ljava/security/Key;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
public final void init(java.security.Key, java.security.SecureRandom);
descriptor: (Ljava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
ifnull 3
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
aload 1
aload 2
invokevirtual javax.crypto.KeyAgreementSpi.engineInit:(Ljava/security/Key;Ljava/security/SecureRandom;)V
2: goto 7
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 1
aconst_null
aload 2
invokevirtual javax.crypto.KeyAgreement.chooseProvider:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
4: goto 7
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
5: astore 3
start local 3 6: new java.security.InvalidKeyException
dup
aload 3
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 7: StackMap locals:
StackMap stack:
getstatic javax.crypto.KeyAgreement.skipDebug:Z
ifne 11
getstatic javax.crypto.KeyAgreement.pdebug:Lsun/security/util/Debug;
ifnull 11
8: getstatic javax.crypto.KeyAgreement.pdebug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "KeyAgreement."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.KeyAgreement.algorithm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " algorithm from: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: aload 0
getfield javax.crypto.KeyAgreement.provider:Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/crypto/KeyAgreement;
0 12 1 key Ljava/security/Key;
0 12 2 random Ljava/security/SecureRandom;
6 7 3 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
3 4 5 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
random
public final void init(java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic javax.crypto.JceSecurity.RANDOM:Ljava/security/SecureRandom;
invokevirtual javax.crypto.KeyAgreement.init:(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
0 2 1 key Ljava/security/Key;
0 2 2 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
key
params
public final void init(java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
ifnull 3
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
aload 1
aload 2
aload 3
invokevirtual javax.crypto.KeyAgreementSpi.engineInit:(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
iconst_2
aload 1
aload 2
aload 3
invokevirtual javax.crypto.KeyAgreement.chooseProvider:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
4: StackMap locals:
StackMap stack:
getstatic javax.crypto.KeyAgreement.skipDebug:Z
ifne 8
getstatic javax.crypto.KeyAgreement.pdebug:Lsun/security/util/Debug;
ifnull 8
5: getstatic javax.crypto.KeyAgreement.pdebug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "KeyAgreement."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.KeyAgreement.algorithm:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " algorithm from: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield javax.crypto.KeyAgreement.provider:Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
8: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/KeyAgreement;
0 9 1 key Ljava/security/Key;
0 9 2 params Ljava/security/spec/AlgorithmParameterSpec;
0 9 3 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
key
params
random
public final java.security.Key doPhase(java.security.Key, boolean);
descriptor: (Ljava/security/Key;Z)Ljava/security/Key;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.crypto.KeyAgreement.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
aload 1
iload 2
invokevirtual javax.crypto.KeyAgreementSpi.engineDoPhase:(Ljava/security/Key;Z)Ljava/security/Key;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
0 2 1 key Ljava/security/Key;
0 2 2 lastPhase Z
Exceptions:
throws java.security.InvalidKeyException, java.lang.IllegalStateException
MethodParameters:
Name Flags
key
lastPhase
public final byte[] generateSecret();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.crypto.KeyAgreement.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
invokevirtual javax.crypto.KeyAgreementSpi.engineGenerateSecret:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
Exceptions:
throws java.lang.IllegalStateException
public final int generateSecret(byte[], int);
descriptor: ([BI)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual javax.crypto.KeyAgreement.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
aload 1
iload 2
invokevirtual javax.crypto.KeyAgreementSpi.engineGenerateSecret:([BI)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
0 2 1 sharedSecret [B
0 2 2 offset I
Exceptions:
throws java.lang.IllegalStateException, javax.crypto.ShortBufferException
MethodParameters:
Name Flags
sharedSecret
offset
public final javax.crypto.SecretKey generateSecret(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/crypto/SecretKey;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.crypto.KeyAgreement.chooseFirstProvider:()V
1: aload 0
getfield javax.crypto.KeyAgreement.spi:Ljavax/crypto/KeyAgreementSpi;
aload 1
invokevirtual javax.crypto.KeyAgreementSpi.engineGenerateSecret:(Ljava/lang/String;)Ljavax/crypto/SecretKey;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/KeyAgreement;
0 2 1 algorithm Ljava/lang/String;
Exceptions:
throws java.lang.IllegalStateException, java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
algorithm
}
SourceFile: "KeyAgreement.java"
InnerClasses:
public Service = java.security.Provider$Service of java.security.Provider
public final Instance = sun.security.jca.GetInstance$Instance of sun.security.jca.GetInstance