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 EncryptionContextpublic void setEncryption(boolean encryptionEnabled)
setEncryption in interface EncryptionContextpublic int getMaxWrappedSize()
getMaxWrappedSize in interface EncryptionContextpublic void setMaxWrappedSize(int maxWrappedSize)
setMaxWrappedSize in interface EncryptionContextpublic String getEncryptionCtxtString()
getEncryptionCtxtString in interface EncryptionContextpublic void setWrapSizeLimit(int wrapSizeLimit)
setWrapSizeLimit in interface EncryptionContextpublic int getWrapSizeLimit()
getWrapSizeLimit in interface EncryptionContextCopyright © 2021 The Apache Software Foundation. All rights reserved.