abstract class com.sun.crypto.provider.AESCipher extends javax.crypto.CipherSpi
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.crypto.provider.AESCipher
super_class: javax.crypto.CipherSpi
{
private com.sun.crypto.provider.CipherCore core;
descriptor: Lcom/sun/crypto/provider/CipherCore;
flags: (0x0002) ACC_PRIVATE
private final int fixedKeySize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final void checkKeySize(java.security.Key, int);
descriptor: (Ljava/security/Key;I)V
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
iconst_m1
if_icmpeq 10
1: aload 0
ifnonnull 3
2: new java.security.InvalidKeyException
dup
ldc "The key must not be null"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.security.Key.getEncoded:()[B
astore 2
start local 2 4: aload 2
ifnonnull 6
5: new java.security.InvalidKeyException
dup
ldc "Key encoding must not be null"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: byte[]
StackMap stack:
aload 2
arraylength
iload 1
if_icmpeq 10
7: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "The key must be "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 key Ljava/security/Key;
0 11 1 fixedKeySize I
4 10 2 value [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
fixedKeySize
protected void <init>(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial javax.crypto.CipherSpi.<init>:()V
1: aload 0
aconst_null
putfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
2: aload 0
new com.sun.crypto.provider.CipherCore
dup
new com.sun.crypto.provider.AESCrypt
dup
invokespecial com.sun.crypto.provider.AESCrypt.<init>:()V
bipush 16
invokespecial com.sun.crypto.provider.CipherCore.<init>:(Lcom/sun/crypto/provider/SymmetricCipher;I)V
putfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
3: aload 0
iload 1
putfield com.sun.crypto.provider.AESCipher.fixedKeySize:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/crypto/provider/AESCipher;
0 5 1 keySize I
MethodParameters:
Name Flags
keySize
protected void engineSetMode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
invokevirtual com.sun.crypto.provider.CipherCore.setMode:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/AESCipher;
0 2 1 mode Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
mode
protected void engineSetPadding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
invokevirtual com.sun.crypto.provider.CipherCore.setPadding:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/crypto/provider/AESCipher;
0 2 1 paddingScheme Ljava/lang/String;
Exceptions:
throws javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
paddingScheme
protected int engineGetBlockSize();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 16
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
protected int engineGetOutputSize(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
iload 1
invokevirtual com.sun.crypto.provider.CipherCore.getOutputSize:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
0 1 1 inputLen I
MethodParameters:
Name Flags
inputLen
protected byte[] engineGetIV();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
invokevirtual com.sun.crypto.provider.CipherCore.getIV:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
ldc "AES"
invokevirtual com.sun.crypto.provider.CipherCore.getParameters:(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
protected void engineInit(int, java.security.Key, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 0
getfield com.sun.crypto.provider.AESCipher.fixedKeySize:I
invokestatic com.sun.crypto.provider.AESCipher.checkKeySize:(Ljava/security/Key;I)V
1: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
iload 1
aload 2
aload 3
invokevirtual com.sun.crypto.provider.CipherCore.init:(ILjava/security/Key;Ljava/security/SecureRandom;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/AESCipher;
0 3 1 opmode I
0 3 2 key Ljava/security/Key;
0 3 3 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
random
protected void engineInit(int, java.security.Key, java.security.spec.AlgorithmParameterSpec, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 0
getfield com.sun.crypto.provider.AESCipher.fixedKeySize:I
invokestatic com.sun.crypto.provider.AESCipher.checkKeySize:(Ljava/security/Key;I)V
1: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
iload 1
aload 2
aload 3
aload 4
invokevirtual com.sun.crypto.provider.CipherCore.init:(ILjava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;Ljava/security/SecureRandom;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/AESCipher;
0 3 1 opmode I
0 3 2 key Ljava/security/Key;
0 3 3 params Ljava/security/spec/AlgorithmParameterSpec;
0 3 4 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected void engineInit(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
aload 0
getfield com.sun.crypto.provider.AESCipher.fixedKeySize:I
invokestatic com.sun.crypto.provider.AESCipher.checkKeySize:(Ljava/security/Key;I)V
1: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
iload 1
aload 2
aload 3
aload 4
invokevirtual com.sun.crypto.provider.CipherCore.init:(ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/AESCipher;
0 3 1 opmode I
0 3 2 key Ljava/security/Key;
0 3 3 params Ljava/security/AlgorithmParameters;
0 3 4 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected byte[] engineUpdate(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
iload 2
iload 3
invokevirtual com.sun.crypto.provider.CipherCore.update:([BII)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
0 1 1 input [B
0 1 2 inputOffset I
0 1 3 inputLen I
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected int engineUpdate(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
iload 2
iload 3
aload 4
1: iload 5
2: invokevirtual com.sun.crypto.provider.CipherCore.update:([BII[BI)I
ireturn
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 3 0 this Lcom/sun/crypto/provider/AESCipher;
0 3 1 input [B
0 3 2 inputOffset I
0 3 3 inputLen I
0 3 4 output [B
0 3 5 outputOffset I
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected byte[] engineDoFinal(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
iload 2
iload 3
invokevirtual com.sun.crypto.provider.CipherCore.doFinal:([BII)[B
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
0 1 1 input [B
0 1 2 inputOffset I
0 1 3 inputLen I
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected int engineDoFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
iload 2
iload 3
aload 4
1: iload 5
2: invokevirtual com.sun.crypto.provider.CipherCore.doFinal:([BII[BI)I
ireturn
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 3 0 this Lcom/sun/crypto/provider/AESCipher;
0 3 1 input [B
0 3 2 inputOffset I
0 3 3 inputLen I
0 3 4 output [B
0 3 5 outputOffset I
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.ShortBufferException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected int engineGetKeySize(java.security.Key);
descriptor: (Ljava/security/Key;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.security.Key.getEncoded:()[B
astore 2
start local 2 1: aload 2
arraylength
invokestatic com.sun.crypto.provider.AESCrypt.isKeySizeValid:(I)Z
ifne 5
2: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Invalid AES key length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 2
arraylength
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: byte[]
StackMap stack:
aload 2
arraylength
bipush 8
invokestatic com.sun.crypto.provider.CipherCore.multiplyExact:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/crypto/provider/AESCipher;
0 6 1 key Ljava/security/Key;
1 6 2 encoded [B
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected byte[] engineWrap(java.security.Key);
descriptor: (Ljava/security/Key;)[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
invokevirtual com.sun.crypto.provider.CipherCore.wrap:(Ljava/security/Key;)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/crypto/provider/AESCipher;
0 1 1 key Ljava/security/Key;
Exceptions:
throws javax.crypto.IllegalBlockSizeException, java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected java.security.Key engineUnwrap(byte[], java.lang.String, int);
descriptor: ([BLjava/lang/String;I)Ljava/security/Key;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.crypto.provider.AESCipher.core:Lcom/sun/crypto/provider/CipherCore;
aload 1
aload 2
1: iload 3
2: invokevirtual com.sun.crypto.provider.CipherCore.unwrap:([BLjava/lang/String;I)Ljava/security/Key;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/crypto/provider/AESCipher;
0 3 1 wrappedKey [B
0 3 2 wrappedKeyAlgorithm Ljava/lang/String;
0 3 3 wrappedKeyType I
Exceptions:
throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
wrappedKey
wrappedKeyAlgorithm
wrappedKeyType
}
SourceFile: "AESCipher.java"
NestMembers:
com.sun.crypto.provider.AESCipher$AES128_CBC_NoPadding com.sun.crypto.provider.AESCipher$AES128_CFB_NoPadding com.sun.crypto.provider.AESCipher$AES128_ECB_NoPadding com.sun.crypto.provider.AESCipher$AES128_OFB_NoPadding com.sun.crypto.provider.AESCipher$AES192_CBC_NoPadding com.sun.crypto.provider.AESCipher$AES192_CFB_NoPadding com.sun.crypto.provider.AESCipher$AES192_ECB_NoPadding com.sun.crypto.provider.AESCipher$AES192_OFB_NoPadding com.sun.crypto.provider.AESCipher$AES256_CBC_NoPadding com.sun.crypto.provider.AESCipher$AES256_CFB_NoPadding com.sun.crypto.provider.AESCipher$AES256_ECB_NoPadding com.sun.crypto.provider.AESCipher$AES256_OFB_NoPadding com.sun.crypto.provider.AESCipher$General com.sun.crypto.provider.AESCipher$OidImpl
InnerClasses:
public final AES128_CBC_NoPadding = com.sun.crypto.provider.AESCipher$AES128_CBC_NoPadding of com.sun.crypto.provider.AESCipher
public final AES128_CFB_NoPadding = com.sun.crypto.provider.AESCipher$AES128_CFB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES128_ECB_NoPadding = com.sun.crypto.provider.AESCipher$AES128_ECB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES128_OFB_NoPadding = com.sun.crypto.provider.AESCipher$AES128_OFB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES192_CBC_NoPadding = com.sun.crypto.provider.AESCipher$AES192_CBC_NoPadding of com.sun.crypto.provider.AESCipher
public final AES192_CFB_NoPadding = com.sun.crypto.provider.AESCipher$AES192_CFB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES192_ECB_NoPadding = com.sun.crypto.provider.AESCipher$AES192_ECB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES192_OFB_NoPadding = com.sun.crypto.provider.AESCipher$AES192_OFB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES256_CBC_NoPadding = com.sun.crypto.provider.AESCipher$AES256_CBC_NoPadding of com.sun.crypto.provider.AESCipher
public final AES256_CFB_NoPadding = com.sun.crypto.provider.AESCipher$AES256_CFB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES256_ECB_NoPadding = com.sun.crypto.provider.AESCipher$AES256_ECB_NoPadding of com.sun.crypto.provider.AESCipher
public final AES256_OFB_NoPadding = com.sun.crypto.provider.AESCipher$AES256_OFB_NoPadding of com.sun.crypto.provider.AESCipher
public final General = com.sun.crypto.provider.AESCipher$General of com.sun.crypto.provider.AESCipher
abstract OidImpl = com.sun.crypto.provider.AESCipher$OidImpl of com.sun.crypto.provider.AESCipher