Sensitive

uk.gov.hmrc.crypto.Sensitive
See theSensitive companion object
trait Sensitive[A]

Sensitive identifies types which require encryption (See crypto-json). It is modelled as a trait with concrete implementations rather than a parameterised case class since this avoids type erasure. This helps with for example, the native mongo driver, where codecs are looked up by runtime class. More instances can be created by clients as required.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any