Class EncryptionContextImpl

java.lang.Object
org.apache.drill.exec.rpc.EncryptionContextImpl
All Implemented Interfaces:
EncryptionContext

public class EncryptionContextImpl extends Object implements EncryptionContext
Context to help initializing encryption related configurations for a connection.
  • encryptionEnabled - identifies if encryption is required or not
  • maxWrappedSize - maximum size of the encoded packet that is sent over wire. Recommended Maximum value is RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE
  • wrapSizeLimit - Maximum size of plain buffer to be send to wrap call which will produce encrypted buffer <= maxWrappedSize. Get's set after SASL negotiation.