public class javax.crypto.ExemptionMechanism
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.crypto.ExemptionMechanism
super_class: java.lang.Object
{
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private javax.crypto.ExemptionMechanismSpi exmechSpi;
descriptor: Ljavax/crypto/ExemptionMechanismSpi;
flags: (0x0002) ACC_PRIVATE
private java.lang.String mechanism;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean done;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean initialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.security.Key keyStored;
descriptor: Ljava/security/Key;
flags: (0x0002) ACC_PRIVATE
protected void <init>(javax.crypto.ExemptionMechanismSpi, java.security.Provider, java.lang.String);
descriptor: (Ljavax/crypto/ExemptionMechanismSpi;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
iconst_0
putfield javax.crypto.ExemptionMechanism.done:Z
2: aload 0
iconst_0
putfield javax.crypto.ExemptionMechanism.initialized:Z
3: aload 0
aconst_null
putfield javax.crypto.ExemptionMechanism.keyStored:Ljava/security/Key;
4: aload 0
aload 1
putfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
5: aload 0
aload 2
putfield javax.crypto.ExemptionMechanism.provider:Ljava/security/Provider;
6: aload 0
aload 3
putfield javax.crypto.ExemptionMechanism.mechanism:Ljava/lang/String;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/crypto/ExemptionMechanism;
0 8 1 exmechSpi Ljavax/crypto/ExemptionMechanismSpi;
0 8 2 provider Ljava/security/Provider;
0 8 3 mechanism Ljava/lang/String;
MethodParameters:
Name Flags
exmechSpi
provider
mechanism
public final java.lang.String getName();
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.ExemptionMechanism.mechanism:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/ExemptionMechanism;
public static final javax.crypto.ExemptionMechanism getInstance(java.lang.String);
descriptor: (Ljava/lang/String;)Ljavax/crypto/ExemptionMechanism;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ldc "null algorithm name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: ldc "ExemptionMechanism"
2: ldc Ljavax/crypto/ExemptionMechanismSpi;
aload 0
3: invokestatic javax.crypto.JceSecurity.getInstance:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/String;)Lsun/security/jca/GetInstance$Instance;
astore 1
start local 1 4: new javax.crypto.ExemptionMechanism
dup
aload 1
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.crypto.ExemptionMechanismSpi
5: aload 1
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
6: invokespecial javax.crypto.ExemptionMechanism.<init>:(Ljavax/crypto/ExemptionMechanismSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 algorithm Ljava/lang/String;
4 7 1 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algorithm
public static final javax.crypto.ExemptionMechanism getInstance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljavax/crypto/ExemptionMechanism;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "null algorithm name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: ldc "ExemptionMechanism"
2: ldc Ljavax/crypto/ExemptionMechanismSpi;
aload 0
aload 1
3: 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 4: new javax.crypto.ExemptionMechanism
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.crypto.ExemptionMechanismSpi
5: aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
6: invokespecial javax.crypto.ExemptionMechanism.<init>:(Ljavax/crypto/ExemptionMechanismSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 algorithm Ljava/lang/String;
0 7 1 provider Ljava/lang/String;
4 7 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.ExemptionMechanism getInstance(java.lang.String, java.security.Provider);
descriptor: (Ljava/lang/String;Ljava/security/Provider;)Ljavax/crypto/ExemptionMechanism;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "null algorithm name"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: ldc "ExemptionMechanism"
2: ldc Ljavax/crypto/ExemptionMechanismSpi;
aload 0
aload 1
3: 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 4: new javax.crypto.ExemptionMechanism
dup
aload 2
getfield sun.security.jca.GetInstance$Instance.impl:Ljava/lang/Object;
checkcast javax.crypto.ExemptionMechanismSpi
5: aload 2
getfield sun.security.jca.GetInstance$Instance.provider:Ljava/security/Provider;
aload 0
6: invokespecial javax.crypto.ExemptionMechanism.<init>:(Ljavax/crypto/ExemptionMechanismSpi;Ljava/security/Provider;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 algorithm Ljava/lang/String;
0 7 1 provider Ljava/security/Provider;
4 7 2 instance Lsun/security/jca/GetInstance$Instance;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
algorithm
provider
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
getfield javax.crypto.ExemptionMechanism.provider:Ljava/security/Provider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/ExemptionMechanism;
public final boolean isCryptoAllowed(java.security.Key);
descriptor: (Ljava/security/Key;)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield javax.crypto.ExemptionMechanism.done:Z
ifeq 3
aload 1
ifnull 3
2: aload 0
getfield javax.crypto.ExemptionMechanism.keyStored:Ljava/security/Key;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
istore 2
3: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/crypto/ExemptionMechanism;
0 4 1 key Ljava/security/Key;
1 4 2 ret Z
Exceptions:
throws javax.crypto.ExemptionMechanismException
MethodParameters:
Name Flags
key
public final int getOutputSize(int);
descriptor: (I)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.crypto.ExemptionMechanism.initialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "ExemptionMechanism not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 1
ifge 8
5: new java.lang.IllegalArgumentException
dup
6: ldc "Input size must be equal to or greater than zero"
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
iload 1
invokevirtual javax.crypto.ExemptionMechanismSpi.engineGetOutputSize:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/crypto/ExemptionMechanism;
0 9 1 inputLen I
Exceptions:
throws java.lang.IllegalStateException
MethodParameters:
Name Flags
inputLen
public final void init(java.security.Key);
descriptor: (Ljava/security/Key;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield javax.crypto.ExemptionMechanism.done:Z
1: aload 0
iconst_0
putfield javax.crypto.ExemptionMechanism.initialized:Z
2: aload 0
aload 1
putfield javax.crypto.ExemptionMechanism.keyStored:Ljava/security/Key;
3: aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
aload 1
invokevirtual javax.crypto.ExemptionMechanismSpi.engineInit:(Ljava/security/Key;)V
4: aload 0
iconst_1
putfield javax.crypto.ExemptionMechanism.initialized:Z
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/ExemptionMechanism;
0 6 1 key Ljava/security/Key;
Exceptions:
throws java.security.InvalidKeyException, javax.crypto.ExemptionMechanismException
MethodParameters:
Name Flags
key
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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
putfield javax.crypto.ExemptionMechanism.done:Z
1: aload 0
iconst_0
putfield javax.crypto.ExemptionMechanism.initialized:Z
2: aload 0
aload 1
putfield javax.crypto.ExemptionMechanism.keyStored:Ljava/security/Key;
3: aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
aload 1
aload 2
invokevirtual javax.crypto.ExemptionMechanismSpi.engineInit:(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
4: aload 0
iconst_1
putfield javax.crypto.ExemptionMechanism.initialized:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/ExemptionMechanism;
0 6 1 key Ljava/security/Key;
0 6 2 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException, javax.crypto.ExemptionMechanismException
MethodParameters:
Name Flags
key
params
public final void init(java.security.Key, java.security.AlgorithmParameters);
descriptor: (Ljava/security/Key;Ljava/security/AlgorithmParameters;)V
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
iconst_0
putfield javax.crypto.ExemptionMechanism.done:Z
1: aload 0
iconst_0
putfield javax.crypto.ExemptionMechanism.initialized:Z
2: aload 0
aload 1
putfield javax.crypto.ExemptionMechanism.keyStored:Ljava/security/Key;
3: aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
aload 1
aload 2
invokevirtual javax.crypto.ExemptionMechanismSpi.engineInit:(Ljava/security/Key;Ljava/security/AlgorithmParameters;)V
4: aload 0
iconst_1
putfield javax.crypto.ExemptionMechanism.initialized:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/ExemptionMechanism;
0 6 1 key Ljava/security/Key;
0 6 2 params Ljava/security/AlgorithmParameters;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException, javax.crypto.ExemptionMechanismException
MethodParameters:
Name Flags
key
params
public final byte[] genExemptionBlob();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.crypto.ExemptionMechanism.initialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "ExemptionMechanism not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
invokevirtual javax.crypto.ExemptionMechanismSpi.engineGenExemptionBlob:()[B
astore 1
start local 1 5: aload 0
iconst_1
putfield javax.crypto.ExemptionMechanism.done:Z
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/crypto/ExemptionMechanism;
5 7 1 blob [B
Exceptions:
throws java.lang.IllegalStateException, javax.crypto.ExemptionMechanismException
public final int genExemptionBlob(byte[]);
descriptor: ([B)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.crypto.ExemptionMechanism.initialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "ExemptionMechanism not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
aload 1
iconst_0
invokevirtual javax.crypto.ExemptionMechanismSpi.engineGenExemptionBlob:([BI)I
istore 2
start local 2 5: aload 0
iconst_1
putfield javax.crypto.ExemptionMechanism.done:Z
6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/crypto/ExemptionMechanism;
0 7 1 output [B
5 7 2 n I
Exceptions:
throws java.lang.IllegalStateException, javax.crypto.ShortBufferException, javax.crypto.ExemptionMechanismException
MethodParameters:
Name Flags
output
public final int genExemptionBlob(byte[], int);
descriptor: ([BI)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.crypto.ExemptionMechanism.initialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "ExemptionMechanism not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.ExemptionMechanism.exmechSpi:Ljavax/crypto/ExemptionMechanismSpi;
aload 1
iload 2
invokevirtual javax.crypto.ExemptionMechanismSpi.engineGenExemptionBlob:([BI)I
istore 3
start local 3 5: aload 0
iconst_1
putfield javax.crypto.ExemptionMechanism.done:Z
6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/crypto/ExemptionMechanism;
0 7 1 output [B
0 7 2 outputOffset I
5 7 3 n I
Exceptions:
throws java.lang.IllegalStateException, javax.crypto.ShortBufferException, javax.crypto.ExemptionMechanismException
MethodParameters:
Name Flags
output
outputOffset
}
SourceFile: "ExemptionMechanism.java"
InnerClasses:
public final Instance = sun.security.jca.GetInstance$Instance of sun.security.jca.GetInstance