Class EncryptedImpl
- java.lang.Object
-
- org.gcube.informationsystem.base.impl.ElementImpl
-
- org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
-
- org.gcube.informationsystem.model.impl.properties.PropertyImpl
-
- org.gcube.informationsystem.model.impl.properties.EncryptedImpl
-
- All Implemented Interfaces:
Serializable,Element,PropertyElement,SchemaMixedElement,Encrypted,Property
public class EncryptedImpl extends PropertyImpl implements Encrypted
- Author:
- Luca Frosini (ISTI - CNR)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringencryptedValue-
Fields inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
additionalProperties, allowedAdditionalKeys
-
Fields inherited from interface org.gcube.informationsystem.base.reference.Element
CLASS_PROPERTY, DATETIME_PATTERN, NAME, SUPERCLASSES_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description EncryptedImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Stringdecrypt(String value)static Stringdecrypt(String value, Key key)static Stringencrypt(String value)static Stringencrypt(String value, Key key)StringgetEncryptedValue()voidsetEncryptedValue(String encryptedValue)-
Methods inherited from class org.gcube.informationsystem.base.impl.properties.PropertyElementImpl
addAllowedAdditionalKey, getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
Methods inherited from class org.gcube.informationsystem.base.impl.ElementImpl
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gcube.informationsystem.model.reference.properties.Property
getAdditionalProperties, getAdditionalProperty, setAdditionalProperties, setAdditionalProperty
-
-
-
-
Field Detail
-
encryptedValue
protected String encryptedValue
-
-
Method Detail
-
getEncryptedValue
public String getEncryptedValue()
- Specified by:
getEncryptedValuein interfaceEncrypted
-
setEncryptedValue
public void setEncryptedValue(String encryptedValue)
- Specified by:
setEncryptedValuein interfaceEncrypted
-
-