Class EncryptionCtx


  • public final class EncryptionCtx
    extends com.google.flatbuffers.Table
    • Field Summary

      • Fields inherited from class com.google.flatbuffers.Table

        bb, bb_pos, UTF8_CHARSET
    • Constructor Summary

      Constructors 
      Constructor Description
      EncryptionCtx()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EncryptionCtx __assign​(int _i, java.nio.ByteBuffer _bb)  
      void __init​(int _i, java.nio.ByteBuffer _bb)  
      static void addAlgo​(com.google.flatbuffers.FlatBufferBuilder builder, int algoOffset)  
      static void addBatchSize​(com.google.flatbuffers.FlatBufferBuilder builder, int batchSize)  
      static void addCompressionType​(com.google.flatbuffers.FlatBufferBuilder builder, byte compressionType)  
      static void addIsBatchMessage​(com.google.flatbuffers.FlatBufferBuilder builder, boolean isBatchMessage)  
      static void addKeys​(com.google.flatbuffers.FlatBufferBuilder builder, int keysOffset)  
      static void addParam​(com.google.flatbuffers.FlatBufferBuilder builder, int paramOffset)  
      static void addUncompressedMessageSize​(com.google.flatbuffers.FlatBufferBuilder builder, int uncompressedMessageSize)  
      java.lang.String algo()  
      java.nio.ByteBuffer algoAsByteBuffer()  
      java.nio.ByteBuffer algoInByteBuffer​(java.nio.ByteBuffer _bb)  
      int batchSize()  
      byte compressionType()  
      static int createEncryptionCtx​(com.google.flatbuffers.FlatBufferBuilder builder, int keysOffset, int paramOffset, int algoOffset, byte compressionType, int uncompressedMessageSize, int batchSize, boolean isBatchMessage)  
      static int createKeysVector​(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)  
      static int createParamVector​(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)  
      static int endEncryptionCtx​(com.google.flatbuffers.FlatBufferBuilder builder)  
      static EncryptionCtx getRootAsEncryptionCtx​(java.nio.ByteBuffer _bb)  
      static EncryptionCtx getRootAsEncryptionCtx​(java.nio.ByteBuffer _bb, EncryptionCtx obj)  
      boolean isBatchMessage()  
      EncryptionKey keys​(int j)  
      EncryptionKey keys​(EncryptionKey obj, int j)  
      int keysLength()  
      byte param​(int j)  
      java.nio.ByteBuffer paramAsByteBuffer()  
      java.nio.ByteBuffer paramInByteBuffer​(java.nio.ByteBuffer _bb)  
      int paramLength()  
      static void startEncryptionCtx​(com.google.flatbuffers.FlatBufferBuilder builder)  
      static void startKeysVector​(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)  
      static void startParamVector​(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)  
      int uncompressedMessageSize()  
      • Methods inherited from class com.google.flatbuffers.Table

        __has_identifier, __indirect, __indirect, __offset, __offset, __string, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EncryptionCtx

        public EncryptionCtx()
    • Method Detail

      • getRootAsEncryptionCtx

        public static EncryptionCtx getRootAsEncryptionCtx​(java.nio.ByteBuffer _bb)
      • __init

        public void __init​(int _i,
                           java.nio.ByteBuffer _bb)
      • __assign

        public EncryptionCtx __assign​(int _i,
                                      java.nio.ByteBuffer _bb)
      • keysLength

        public int keysLength()
      • param

        public byte param​(int j)
      • paramLength

        public int paramLength()
      • paramAsByteBuffer

        public java.nio.ByteBuffer paramAsByteBuffer()
      • paramInByteBuffer

        public java.nio.ByteBuffer paramInByteBuffer​(java.nio.ByteBuffer _bb)
      • algo

        public java.lang.String algo()
      • algoAsByteBuffer

        public java.nio.ByteBuffer algoAsByteBuffer()
      • algoInByteBuffer

        public java.nio.ByteBuffer algoInByteBuffer​(java.nio.ByteBuffer _bb)
      • compressionType

        public byte compressionType()
      • uncompressedMessageSize

        public int uncompressedMessageSize()
      • batchSize

        public int batchSize()
      • isBatchMessage

        public boolean isBatchMessage()
      • createEncryptionCtx

        public static int createEncryptionCtx​(com.google.flatbuffers.FlatBufferBuilder builder,
                                              int keysOffset,
                                              int paramOffset,
                                              int algoOffset,
                                              byte compressionType,
                                              int uncompressedMessageSize,
                                              int batchSize,
                                              boolean isBatchMessage)
      • startEncryptionCtx

        public static void startEncryptionCtx​(com.google.flatbuffers.FlatBufferBuilder builder)
      • addKeys

        public static void addKeys​(com.google.flatbuffers.FlatBufferBuilder builder,
                                   int keysOffset)
      • createKeysVector

        public static int createKeysVector​(com.google.flatbuffers.FlatBufferBuilder builder,
                                           int[] data)
      • startKeysVector

        public static void startKeysVector​(com.google.flatbuffers.FlatBufferBuilder builder,
                                           int numElems)
      • addParam

        public static void addParam​(com.google.flatbuffers.FlatBufferBuilder builder,
                                    int paramOffset)
      • createParamVector

        public static int createParamVector​(com.google.flatbuffers.FlatBufferBuilder builder,
                                            byte[] data)
      • startParamVector

        public static void startParamVector​(com.google.flatbuffers.FlatBufferBuilder builder,
                                            int numElems)
      • addAlgo

        public static void addAlgo​(com.google.flatbuffers.FlatBufferBuilder builder,
                                   int algoOffset)
      • addCompressionType

        public static void addCompressionType​(com.google.flatbuffers.FlatBufferBuilder builder,
                                              byte compressionType)
      • addUncompressedMessageSize

        public static void addUncompressedMessageSize​(com.google.flatbuffers.FlatBufferBuilder builder,
                                                      int uncompressedMessageSize)
      • addBatchSize

        public static void addBatchSize​(com.google.flatbuffers.FlatBufferBuilder builder,
                                        int batchSize)
      • addIsBatchMessage

        public static void addIsBatchMessage​(com.google.flatbuffers.FlatBufferBuilder builder,
                                             boolean isBatchMessage)
      • endEncryptionCtx

        public static int endEncryptionCtx​(com.google.flatbuffers.FlatBufferBuilder builder)