Class/Object

com.lookout.borderpatrol.sessionx

SignedId

Related Docs: object SignedId | package sessionx

Permalink

case class SignedId(expires: Time, entropy: sessionx.Entropy, secret: Secret, tag: Tag, signature: sessionx.Signature) extends Product with Serializable

This type represents the value of a user's Cookie The design of this is to act as a cryptographically verifiable identifier for a user

In String form, is a Base64 encoded concatenation of the following transformation: expires: Time => Long => Array[Byte] entropy: Array[Byte] secret: Secret => SecretId tag: => Tag signature: Array[Byte]

expires

the time at which this id is expired

entropy

the random bytes unique to this session id

secret

the secret used to sign this session id

signature

the bytes of the signature(expires, entropy, secret.id)

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SignedId
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SignedId(expires: Time, entropy: sessionx.Entropy, secret: Secret, tag: Tag, signature: sessionx.Signature)

    Permalink

    expires

    the time at which this id is expired

    entropy

    the random bytes unique to this session id

    secret

    the secret used to sign this session id

    signature

    the bytes of the signature(expires, entropy, secret.id)

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val entropy: sessionx.Entropy

    Permalink

    the random bytes unique to this session id

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. val expires: Time

    Permalink

    the time at which this id is expired

  9. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  15. val secret: Secret

    Permalink

    the secret used to sign this session id

  16. val signature: sessionx.Signature

    Permalink

    the bytes of the signature(expires, entropy, secret.id)

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. val tag: Tag

    Permalink
  19. def toLogIdString: String

    Permalink
  20. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped