public abstract class javax.crypto.CipherSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.crypto.CipherSpi
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
protected abstract void engineSetMode(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
mode
protected abstract void engineSetPadding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.NoSuchPaddingException
MethodParameters:
Name Flags
padding
protected abstract int engineGetBlockSize();
descriptor: ()I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract int engineGetOutputSize(int);
descriptor: (I)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
inputLen
protected abstract byte[] engineGetIV();
descriptor: ()[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract void engineInit(int, java.security.Key, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
opmode
key
random
protected abstract 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: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected abstract void engineInit(int, java.security.Key, java.security.AlgorithmParameters, java.security.SecureRandom);
descriptor: (ILjava/security/Key;Ljava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.security.InvalidKeyException, java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
opmode
key
params
random
protected abstract byte[] engineUpdate(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected abstract int engineUpdate(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected int engineUpdate(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_1
invokevirtual javax.crypto.CipherSpi.bufferCrypt:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)I
1: ireturn
2: StackMap locals:
StackMap stack: javax.crypto.IllegalBlockSizeException
pop
3: new java.security.ProviderException
dup
ldc "Internal error in update()"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack: javax.crypto.BadPaddingException
pop
5: new java.security.ProviderException
dup
ldc "Internal error in update()"
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/CipherSpi;
0 6 1 input Ljava/nio/ByteBuffer;
0 6 2 output Ljava/nio/ByteBuffer;
Exception table:
from to target type
0 1 2 Class javax.crypto.IllegalBlockSizeException
0 1 4 Class javax.crypto.BadPaddingException
Exceptions:
throws javax.crypto.ShortBufferException
MethodParameters:
Name Flags
input
output
protected abstract byte[] engineDoFinal(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
protected abstract int engineDoFinal(byte[], int, int, byte[], int);
descriptor: ([BII[BI)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
inputOffset
inputLen
output
outputOffset
protected int engineDoFinal(java.nio.ByteBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokevirtual javax.crypto.CipherSpi.bufferCrypt:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 input Ljava/nio/ByteBuffer;
0 1 2 output Ljava/nio/ByteBuffer;
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
output
static int getTempArraySize(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: sipush 4096
iload 0
invokestatic java.lang.Math.min:(II)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 totalSize I
MethodParameters:
Name Flags
totalSize
private int bufferCrypt(java.nio.ByteBuffer, java.nio.ByteBuffer, boolean);
descriptor: (Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;Z)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=17, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 2
ifnonnull 4
1: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
2: ldc "Input and output buffers must not be null"
3: invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.position:()I
istore 4
start local 4 5: aload 1
invokevirtual java.nio.ByteBuffer.limit:()I
istore 5
start local 5 6: iload 5
iload 4
isub
istore 6
start local 6 7: iload 3
ifeq 9
iload 6
ifne 9
8: iconst_0
ireturn
9: StackMap locals: int int int
StackMap stack:
aload 0
iload 6
invokevirtual javax.crypto.CipherSpi.engineGetOutputSize:(I)I
istore 7
start local 7 10: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 7
if_icmpge 14
11: new javax.crypto.ShortBufferException
dup
new java.lang.StringBuilder
dup
ldc "Need at least "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc " bytes of space in output buffer"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial javax.crypto.ShortBufferException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.nio.ByteBuffer.hasArray:()Z
istore 8
start local 8 15: aload 2
invokevirtual java.nio.ByteBuffer.hasArray:()Z
istore 9
start local 9 16: iconst_0
istore 10
start local 10 17: iload 8
ifeq 50
18: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 11
start local 11 19: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
istore 12
start local 12 20: iload 9
ifeq 40
21: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 13
start local 13 22: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 14
start local 14 23: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 14
iadd
istore 15
start local 15 24: iconst_0
istore 16
start local 16 25: aload 11
aload 13
if_acmpne 30
26: iload 12
iload 15
if_icmpge 30
iload 15
iload 12
iload 6
iadd
if_icmpge 30
27: iconst_1
istore 16
28: iload 7
newarray 8
astore 13
29: iconst_0
istore 15
30: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] int byte[] int int int
StackMap stack:
iload 3
ifeq 33
31: aload 0
aload 11
iload 12
iload 6
aload 13
iload 15
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 10
32: goto 34
33: StackMap locals:
StackMap stack:
aload 0
aload 11
iload 12
iload 6
aload 13
iload 15
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 10
34: StackMap locals:
StackMap stack:
iload 16
ifeq 37
35: aload 2
aload 13
iload 15
iload 10
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
36: goto 38
37: StackMap locals:
StackMap stack:
aload 2
iload 14
iload 10
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
38: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 16 end local 15 end local 14 end local 13 39: goto 67
40: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] int
StackMap stack:
aconst_null
astore 13
start local 13 41: iload 3
ifeq 44
42: aload 0
aload 11
iload 12
iload 6
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII)[B
astore 13
43: goto 45
44: StackMap locals: byte[]
StackMap stack:
aload 0
aload 11
iload 12
iload 6
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII)[B
astore 13
45: StackMap locals:
StackMap stack:
aload 13
ifnull 48
aload 13
arraylength
ifeq 48
46: aload 2
aload 13
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
47: aload 13
arraylength
istore 10
48: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 13 end local 12 end local 11 49: goto 67
50: StackMap locals:
StackMap stack:
iload 7
newarray 8
astore 11
start local 11 51: iconst_0
istore 12
start local 12 52: iload 6
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 13
start local 13 53: StackMap locals: byte[] int byte[]
StackMap stack:
iload 6
aload 13
arraylength
invokestatic java.lang.Math.min:(II)I
istore 14
start local 14 54: iload 14
ifle 56
55: aload 1
aload 13
iconst_0
iload 14
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
56: StackMap locals: int
StackMap stack:
iload 3
ifne 57
iload 6
iload 14
if_icmple 59
57: StackMap locals:
StackMap stack:
aload 0
aload 13
iconst_0
iload 14
aload 11
iload 12
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 15
start local 15 58: goto 60
end local 15 59: StackMap locals:
StackMap stack:
aload 0
aload 13
iconst_0
iload 14
aload 11
iload 12
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 15
start local 15 60: StackMap locals: int
StackMap stack:
iload 12
iload 15
iadd
istore 12
61: iload 10
iload 15
iadd
istore 10
62: iload 6
iload 14
isub
istore 6
end local 15 end local 14 63: iload 6
64: ifgt 53
65: iload 10
ifle 67
66: aload 2
aload 11
iconst_0
iload 10
invokevirtual java.nio.ByteBuffer.put:([BII)Ljava/nio/ByteBuffer;
pop
end local 13 end local 12 end local 11 67: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int
StackMap stack:
iload 10
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 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 68 0 this Ljavax/crypto/CipherSpi;
0 68 1 input Ljava/nio/ByteBuffer;
0 68 2 output Ljava/nio/ByteBuffer;
0 68 3 isUpdate Z
5 68 4 inPos I
6 68 5 inLimit I
7 68 6 inLen I
10 68 7 outLenNeeded I
15 68 8 a1 Z
16 68 9 a2 Z
17 68 10 total I
19 49 11 inArray [B
20 49 12 inOfs I
22 39 13 outArray [B
23 39 14 outPos I
24 39 15 outOfs I
25 39 16 useTempOut Z
41 49 13 outArray [B
51 67 11 tempOut [B
52 67 12 outOfs I
53 67 13 tempIn [B
54 63 14 chunk I
58 59 15 n I
60 63 15 n I
Exceptions:
throws javax.crypto.ShortBufferException, javax.crypto.IllegalBlockSizeException, javax.crypto.BadPaddingException
MethodParameters:
Name Flags
input
output
isUpdate
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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
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=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 wrappedKey [B
0 1 2 wrappedKeyAlgorithm Ljava/lang/String;
0 1 3 wrappedKeyType I
Exceptions:
throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
wrappedKey
wrappedKeyAlgorithm
wrappedKeyType
protected int engineGetKeySize(java.security.Key);
descriptor: (Ljava/security/Key;)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/CipherSpi;
0 1 1 key Ljava/security/Key;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected void engineUpdateAAD(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.UnsupportedOperationException
dup
1: ldc "The underlying Cipher implementation does not support this method"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CipherSpi;
0 3 1 src [B
0 3 2 offset I
0 3 3 len I
MethodParameters:
Name Flags
src
offset
len
protected void engineUpdateAAD(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
1: ldc "The underlying Cipher implementation does not support this method"
2: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/crypto/CipherSpi;
0 3 1 src Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
}
SourceFile: "CipherSpi.java"