Plain

data class Plain(val content: String) : EntryValue

Should be used for non-sensitive values.

Constructors

Link copied to clipboard
constructor(content: String)

Properties

Link copied to clipboard
open override val content: String

Returns underlying value, decrypting if required.

Functions

Link copied to clipboard
open override fun isEmpty(): Boolean

Checks whether content is empty without exposing EncryptedValue.

Link copied to clipboard
inline fun map(block: (String) -> String): EntryValue

Replaces wrapped value with result of the block.