Package de.mhus.lib.core.vault
Interface VaultEntry
-
- All Known Implementing Classes:
DefaultEntry,PemEntry
public interface VaultEntry
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()Return a readable description describe the key and/or the usage.UUIDgetId()Returns the unique id of the entry.StringgetType()Returns the type of the entry as string.SecureStringgetValue()Return the value of the entry as text.
-
-
-
Method Detail
-
getId
UUID getId()
Returns the unique id of the entry.- Returns:
- The unique id
-
getType
String getType()
Returns the type of the entry as string. A list of default types is defined in MVault.- Returns:
- The type of the entry, never null.
-
getDescription
String getDescription()
Return a readable description describe the key and/or the usage.- Returns:
- description
-
getValue
SecureString getValue()
Return the value of the entry as text.- Returns:
- The entry as text.
-
-