public static class PropertyValue.SealedStore extends Object implements PropertyValue
SealedObject class.
The Key for the encrypted value is stored off-heap.
The overhead of using this class for encryption of the value then serialization of the key for storage off-heap may be significant.
PropertyValue.BytesStore, PropertyValue.Factory<P extends PropertyValue>, PropertyValue.SealedStore, PropertyValue.Strategy, PropertyValue.StringStore| Constructor and Description |
|---|
SealedStore(byte[] bytes) |
SealedStore(char[] chars) |
SealedStore(CharSequence charSequence) |
| Modifier and Type | Method and Description |
|---|---|
static PropertyValue.Factory<PropertyValue.SealedStore> |
getFactory() |
CharSequence |
getValue() |
byte[] |
getValueAsBytes() |
char[] |
getValueAsChars() |
String |
getValueAsString() |
boolean |
isProtected() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbytesToChars, bytesToCharSequence, charSequenceToBytes, charsToBytespublic SealedStore(byte[] bytes)
public SealedStore(char[] chars)
public SealedStore(CharSequence charSequence)
public static PropertyValue.Factory<PropertyValue.SealedStore> getFactory()
public String getValueAsString()
getValueAsString in interface PropertyValuepublic char[] getValueAsChars()
getValueAsChars in interface PropertyValuepublic byte[] getValueAsBytes()
getValueAsBytes in interface PropertyValuepublic CharSequence getValue()
getValue in interface PropertyValuepublic boolean isProtected()
isProtected in interface PropertyValueCopyright © 2025. All rights reserved.