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 9
ifeq 45
18: aload 2
invokevirtual java.nio.ByteBuffer.array:()[B
astore 12
start local 12 19: aload 2
invokevirtual java.nio.ByteBuffer.position:()I
istore 13
start local 13 20: aload 2
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 13
iadd
istore 14
start local 14 21: iload 8
ifeq 30
22: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 11
start local 11 23: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
istore 15
start local 15 24: iload 3
ifeq 27
25: aload 0
aload 11
iload 15
iload 6
aload 12
iload 14
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 10
26: goto 28
27: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] byte[] int int int
StackMap stack:
aload 0
aload 11
iload 15
iload 6
aload 12
iload 14
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 10
28: StackMap locals:
StackMap stack:
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 15 29: goto 43
end local 11 30: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int top byte[] int int
StackMap stack:
iload 6
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 11
start local 11 31: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] byte[] int int
StackMap stack:
iload 6
aload 11
arraylength
invokestatic java.lang.Math.min:(II)I
istore 15
start local 15 32: iload 15
ifle 34
33: aload 1
aload 11
iconst_0
iload 15
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
34: StackMap locals: int
StackMap stack:
iload 3
ifne 35
iload 6
iload 15
if_icmple 37
35: StackMap locals:
StackMap stack:
aload 0
aload 11
iconst_0
iload 15
aload 12
iload 14
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII[BI)I
istore 16
start local 16 36: goto 38
end local 16 37: StackMap locals:
StackMap stack:
aload 0
aload 11
iconst_0
iload 15
aload 12
iload 14
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII[BI)I
istore 16
start local 16 38: StackMap locals: int
StackMap stack:
iload 10
iload 16
iadd
istore 10
39: iload 14
iload 16
iadd
istore 14
40: iload 6
iload 15
isub
istore 6
end local 16 end local 15 41: iload 6
42: ifgt 31
43: StackMap locals:
StackMap stack:
aload 2
iload 13
iload 10
iadd
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
end local 14 end local 13 44: goto 71
end local 12 end local 11 45: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int
StackMap stack:
iload 8
ifeq 57
46: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
astore 11
start local 11 47: aload 1
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
iload 4
iadd
istore 13
start local 13 48: iload 3
ifeq 51
49: aload 0
aload 11
iload 13
iload 6
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII)[B
astore 12
start local 12 50: goto 52
end local 12 51: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] top int
StackMap stack:
aload 0
aload 11
iload 13
iload 6
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII)[B
astore 12
start local 12 52: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] byte[] int
StackMap stack:
aload 1
iload 5
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/ByteBuffer;
pop
53: aload 12
ifnull 71
aload 12
arraylength
ifeq 71
54: aload 2
aload 12
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
55: aload 12
arraylength
istore 10
end local 13 56: goto 71
end local 12 end local 11 57: StackMap locals:
StackMap stack:
iload 6
invokestatic javax.crypto.CipherSpi.getTempArraySize:(I)I
newarray 8
astore 11
start local 11 58: StackMap locals: byte[]
StackMap stack:
iload 6
aload 11
arraylength
invokestatic java.lang.Math.min:(II)I
istore 13
start local 13 59: iload 13
ifle 61
60: aload 1
aload 11
iconst_0
iload 13
invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
pop
61: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] top int
StackMap stack:
iload 3
ifne 62
iload 6
iload 13
if_icmple 64
62: StackMap locals:
StackMap stack:
aload 0
aload 11
iconst_0
iload 13
invokevirtual javax.crypto.CipherSpi.engineUpdate:([BII)[B
astore 12
start local 12 63: goto 65
end local 12 64: StackMap locals:
StackMap stack:
aload 0
aload 11
iconst_0
iload 13
invokevirtual javax.crypto.CipherSpi.engineDoFinal:([BII)[B
astore 12
start local 12 65: StackMap locals: javax.crypto.CipherSpi java.nio.ByteBuffer java.nio.ByteBuffer int int int int int int int int byte[] byte[] int
StackMap stack:
aload 12
ifnull 68
aload 12
arraylength
ifeq 68
66: aload 2
aload 12
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
67: iload 10
aload 12
arraylength
iadd
istore 10
68: StackMap locals:
StackMap stack:
iload 6
iload 13
isub
istore 6
end local 13 69: iload 6
70: ifgt 58
71: StackMap locals:
StackMap stack:
iload 10
ireturn
end local 12 end local 11 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 72 0 this Ljavax/crypto/CipherSpi;
0 72 1 input Ljava/nio/ByteBuffer;
0 72 2 output Ljava/nio/ByteBuffer;
0 72 3 isUpdate Z
5 72 4 inPos I
6 72 5 inLimit I
7 72 6 inLen I
10 72 7 outLenNeeded I
15 72 8 a1 Z
16 72 9 a2 Z
17 72 10 total I
23 30 11 inArray [B
31 45 11 inArray [B
47 57 11 inArray [B
58 72 11 inArray [B
19 45 12 outArray [B
50 51 12 outArray [B
52 57 12 outArray [B
63 64 12 outArray [B
65 72 12 outArray [B
20 44 13 outPos I
21 44 14 outOfs I
24 29 15 inOfs I
32 41 15 chunk I
36 37 16 n I
38 41 16 n I
48 56 13 inOfs I
59 69 13 chunk 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"