public class org.apache.cassandra.hints.EncryptedChecksummedDataInput extends org.apache.cassandra.hints.ChecksummedDataInput
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.hints.EncryptedChecksummedDataInput
super_class: org.apache.cassandra.hints.ChecksummedDataInput
{
private static final io.netty.util.concurrent.FastThreadLocal<java.nio.ByteBuffer> reusableBuffers;
descriptor: Lio/netty/util/concurrent/FastThreadLocal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/concurrent/FastThreadLocal<Ljava/nio/ByteBuffer;>;
private final javax.crypto.Cipher cipher;
descriptor: Ljavax/crypto/Cipher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.io.compress.ICompressor compressor;
descriptor: Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel readChannel;
descriptor: Lorg/apache/cassandra/security/EncryptionUtils$ChannelProxyReadChannel;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private long sourcePosition;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.$assertionsDisabled:Z
3: new org.apache.cassandra.hints.EncryptedChecksummedDataInput$1
dup
invokespecial org.apache.cassandra.hints.EncryptedChecksummedDataInput$1.<init>:()V
putstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.reusableBuffers:Lio/netty/util/concurrent/FastThreadLocal;
4: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.cassandra.io.util.ChannelProxy, javax.crypto.Cipher, org.apache.cassandra.io.compress.ICompressor, long);
descriptor: (Lorg/apache/cassandra/io/util/ChannelProxy;Ljavax/crypto/Cipher;Lorg/apache/cassandra/io/compress/ICompressor;J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokespecial org.apache.cassandra.hints.ChecksummedDataInput.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;)V
1: aload 0
aload 2
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.cipher:Ljavax/crypto/Cipher;
2: aload 0
aload 3
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
3: aload 0
new org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel
dup
aload 1
lload 4
invokespecial org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;J)V
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.readChannel:Lorg/apache/cassandra/security/EncryptionUtils$ChannelProxyReadChannel;
4: aload 0
lload 4
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.sourcePosition:J
5: getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.$assertionsDisabled:Z
ifne 6
aload 2
ifnonnull 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: org.apache.cassandra.hints.EncryptedChecksummedDataInput org.apache.cassandra.io.util.ChannelProxy javax.crypto.Cipher org.apache.cassandra.io.compress.ICompressor long
StackMap stack:
getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.$assertionsDisabled:Z
ifne 7
aload 3
ifnonnull 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
0 8 1 channel Lorg/apache/cassandra/io/util/ChannelProxy;
0 8 2 cipher Ljavax/crypto/Cipher;
0 8 3 compressor Lorg/apache/cassandra/io/compress/ICompressor;
0 8 4 filePosition J
MethodParameters:
Name Flags
channel
cipher
compressor
filePosition
public boolean isEOF();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.readChannel:Lorg/apache/cassandra/security/EncryptionUtils$ChannelProxyReadChannel;
invokevirtual org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel.getCurrentPosition:()J
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.channel:Lorg/apache/cassandra/io/util/ChannelProxy;
invokevirtual org.apache.cassandra.io.util.ChannelProxy.size:()J
lcmp
ifne 1
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
public long getSourcePosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.sourcePosition:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
public org.apache.cassandra.hints.InputPosition getSeekPosition();
descriptor: ()Lorg/apache/cassandra/hints/InputPosition;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position
dup
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.sourcePosition:J
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.bufferOffset:J
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
invokespecial org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.<init>:(JJI)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
public void seek(org.apache.cassandra.hints.InputPosition);
descriptor: (Lorg/apache/cassandra/hints/InputPosition;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position
astore 2
start local 2 1: aload 0
aload 2
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.bufferStart:J
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.bufferOffset:J
2: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.readChannel:Lorg/apache/cassandra/security/EncryptionUtils$ChannelProxyReadChannel;
aload 2
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.sourcePosition:J
invokevirtual org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel.setPosition:(J)V
3: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
iconst_0
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
iconst_0
invokevirtual java.nio.Buffer.limit:(I)Ljava/nio/Buffer;
pop
4: aload 0
invokevirtual org.apache.cassandra.hints.EncryptedChecksummedDataInput.resetCrc:()V
5: aload 0
invokevirtual org.apache.cassandra.hints.EncryptedChecksummedDataInput.reBuffer:()V
6: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
aload 2
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.bufferPosition:I
invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
pop
7: getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.$assertionsDisabled:Z
ifne 8
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.sourcePosition:J
aload 2
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.sourcePosition:J
lcmp
ifeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position
StackMap stack:
getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.$assertionsDisabled:Z
ifne 9
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.bufferOffset:J
aload 2
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.bufferStart:J
lcmp
ifeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.$assertionsDisabled:Z
ifne 10
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.position:()I
aload 2
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position.bufferPosition:I
if_icmpeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
0 11 1 p Lorg/apache/cassandra/hints/InputPosition;
1 11 2 pos Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput$Position;
MethodParameters:
Name Flags
p
protected void readBuffer();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.readChannel:Lorg/apache/cassandra/security/EncryptionUtils$ChannelProxyReadChannel;
invokevirtual org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel.getCurrentPosition:()J
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.sourcePosition:J
1: aload 0
invokevirtual org.apache.cassandra.hints.EncryptedChecksummedDataInput.isEOF:()Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.reusableBuffers:Lio/netty/util/concurrent/FastThreadLocal;
invokevirtual io.netty.util.concurrent.FastThreadLocal.get:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
astore 1
start local 1 4: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.readChannel:Lorg/apache/cassandra/security/EncryptionUtils$ChannelProxyReadChannel;
aload 1
iconst_1
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.cipher:Ljavax/crypto/Cipher;
invokestatic org.apache.cassandra.security.EncryptionUtils.decrypt:(Ljava/nio/channels/ReadableByteChannel;Ljava/nio/ByteBuffer;ZLjavax/crypto/Cipher;)Ljava/nio/ByteBuffer;
astore 2
start local 2 5: aload 0
aload 2
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
iconst_1
aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
invokestatic org.apache.cassandra.security.EncryptionUtils.uncompress:(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;ZLorg/apache/cassandra/io/compress/ICompressor;)Ljava/nio/ByteBuffer;
putfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.buffer:Ljava/nio/ByteBuffer;
6: aload 2
invokevirtual java.nio.ByteBuffer.capacity:()I
aload 1
invokevirtual java.nio.ByteBuffer.capacity:()I
if_icmple 11
7: getstatic org.apache.cassandra.hints.EncryptedChecksummedDataInput.reusableBuffers:Lio/netty/util/concurrent/FastThreadLocal;
aload 2
invokevirtual io.netty.util.concurrent.FastThreadLocal.set:(Ljava/lang/Object;)V
end local 2 end local 1 8: goto 11
9: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 10: new org.apache.cassandra.io.FSReadError
dup
aload 1
aload 0
invokevirtual org.apache.cassandra.hints.EncryptedChecksummedDataInput.getPath:()Ljava/lang/String;
invokespecial org.apache.cassandra.io.FSReadError.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
athrow
end local 1 11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
4 8 1 byteBuffer Ljava/nio/ByteBuffer;
5 8 2 decrypted Ljava/nio/ByteBuffer;
10 11 1 ioe Ljava/io/IOException;
Exception table:
from to target type
3 8 9 Class java.io.IOException
public static org.apache.cassandra.hints.ChecksummedDataInput upgradeInput(org.apache.cassandra.hints.ChecksummedDataInput, javax.crypto.Cipher, org.apache.cassandra.io.compress.ICompressor);
descriptor: (Lorg/apache/cassandra/hints/ChecksummedDataInput;Ljavax/crypto/Cipher;Lorg/apache/cassandra/io/compress/ICompressor;)Lorg/apache/cassandra/hints/ChecksummedDataInput;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.getPosition:()J
lstore 3
start local 3 1: aload 0
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.close:()V
2: new org.apache.cassandra.hints.EncryptedChecksummedDataInput
dup
new org.apache.cassandra.io.util.ChannelProxy
dup
aload 0
invokevirtual org.apache.cassandra.hints.ChecksummedDataInput.getPath:()Ljava/lang/String;
invokespecial org.apache.cassandra.io.util.ChannelProxy.<init>:(Ljava/lang/String;)V
aload 1
aload 2
lload 3
invokespecial org.apache.cassandra.hints.EncryptedChecksummedDataInput.<init>:(Lorg/apache/cassandra/io/util/ChannelProxy;Ljavax/crypto/Cipher;Lorg/apache/cassandra/io/compress/ICompressor;J)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 input Lorg/apache/cassandra/hints/ChecksummedDataInput;
0 3 1 cipher Ljavax/crypto/Cipher;
0 3 2 compressor Lorg/apache/cassandra/io/compress/ICompressor;
1 3 3 position J
MethodParameters:
Name Flags
input
cipher
compressor
javax.crypto.Cipher getCipher();
descriptor: ()Ljavax/crypto/Cipher;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.cipher:Ljavax/crypto/Cipher;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
org.apache.cassandra.io.compress.ICompressor getCompressor();
descriptor: ()Lorg/apache/cassandra/io/compress/ICompressor;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.hints.EncryptedChecksummedDataInput.compressor:Lorg/apache/cassandra/io/compress/ICompressor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/hints/EncryptedChecksummedDataInput;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
}
SourceFile: "EncryptedChecksummedDataInput.java"
NestMembers:
org.apache.cassandra.hints.EncryptedChecksummedDataInput$1 org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position
InnerClasses:
org.apache.cassandra.hints.EncryptedChecksummedDataInput$1
Position = org.apache.cassandra.hints.EncryptedChecksummedDataInput$Position of org.apache.cassandra.hints.EncryptedChecksummedDataInput
public ChannelProxyReadChannel = org.apache.cassandra.security.EncryptionUtils$ChannelProxyReadChannel of org.apache.cassandra.security.EncryptionUtils