Class/Object

eu.shiftforward.apso.encryption

Encryptor

Related Docs: object Encryptor | package encryption

Permalink

class Encryptor extends EncryptionErrorHandling with Logging

Utility class to handle encrypting data to string format and, optionally, handle base64 encoded data.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Encryptor
  2. Logging
  3. EncryptionErrorHandling
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Encryptor(encryptor: Cipher)

    Permalink

    encryptor

    the underlying Cipher object that allows to encrypt the data.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(data: String): Option[String]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def encrypt(data: String, pad: Boolean = true): Option[String]

    Permalink
  8. def encryptToSafeString(data: String, pad: Boolean = true): Option[String]

    Permalink
  9. def encryptToSafeString(data: Array[Byte]): Option[String]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def handle[T](f: ⇒ T, g: ⇒ Unit): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  15. def handle[T](f: ⇒ T, onException: (Throwable) ⇒ Unit): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  16. def handle[T](f: ⇒ T): Option[T]

    Permalink
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  17. def handler[T](onException: (Throwable) ⇒ Unit): PartialFunction[Throwable, Option[T]]

    Permalink
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  18. def handler[T]: PartialFunction[Throwable, Option[T]]

    Permalink
    Attributes
    protected
    Definition Classes
    EncryptionErrorHandling
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. lazy val log: Logger

    Permalink

    The Logger object.

    The Logger object. This logger will have the same name as the concrete class into which this trait is mixed-in.

    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from EncryptionErrorHandling

Inherited from AnyRef

Inherited from Any

Ungrouped