public class EncryptionContextImpl extends Object implements EncryptionContext
RpcConstants.MAX_RECOMMENDED_WRAPPED_SIZE
Modifier and Type | Method and Description |
---|---|
String |
getEncryptionCtxtString() |
int |
getMaxWrappedSize() |
int |
getWrapSizeLimit() |
boolean |
isEncryptionEnabled() |
void |
setEncryption(boolean encryptionEnabled) |
void |
setMaxWrappedSize(int maxWrappedSize) |
void |
setWrapSizeLimit(int wrapSizeLimit) |
String |
toString() |
public boolean isEncryptionEnabled()
isEncryptionEnabled
in interface EncryptionContext
public void setEncryption(boolean encryptionEnabled)
setEncryption
in interface EncryptionContext
public int getMaxWrappedSize()
getMaxWrappedSize
in interface EncryptionContext
public void setMaxWrappedSize(int maxWrappedSize)
setMaxWrappedSize
in interface EncryptionContext
public String getEncryptionCtxtString()
getEncryptionCtxtString
in interface EncryptionContext
public void setWrapSizeLimit(int wrapSizeLimit)
setWrapSizeLimit
in interface EncryptionContext
public int getWrapSizeLimit()
getWrapSizeLimit
in interface EncryptionContext
Copyright © 2021 The Apache Software Foundation. All rights reserved.