Trait

com.actian.spark_vector.srp

SRPServer

Related Doc: package srp

Permalink

trait SRPServer extends ServerSRPParameter

The trait that needs to be extended to get SRP server side computations.

Linear Supertypes
ServerSRPParameter, SRPParameter, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SRPServer
  2. ServerSRPParameter
  3. SRPParameter
  4. Logging
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def findSV(userName: String): Option[(Array[Byte], Array[Byte])]

    Permalink

    Finder method to get the s and v for the given user with userName

  2. abstract def save(userName: String, s: Array[Byte], v: Array[Byte]): Unit

    Permalink

    Saves the user credentials provided

Concrete 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 B(vVal: Array[Byte], bVal: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  5. def M(A: Array[Byte], clientM: Array[Byte], K: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  6. def N: BigInt

    Permalink
    Definition Classes
    SRPParameter
  7. def S(A: Array[Byte], vVal: Array[Byte], u: Array[Byte], bVal: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def b: Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def g: BigInt

    Permalink
    Definition Classes
    SRPParameter
  15. def gPowXModN(x: Array[Byte]): BigInt

    Permalink
    Definition Classes
    SRPParameter
  16. def gen32RandomBytes: Array[Byte]

    Permalink
    Definition Classes
    SRPParameter
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getSessionWithClientParameters(userName: String, A: Array[Byte]): Option[(Array[Byte], Array[Byte], Array[Byte], Array[Byte])]

    Permalink

    Given userName and A received from the client, this method generates the expected current session ID when generated parameters s, B are returned to the client.

    Given userName and A received from the client, this method generates the expected current session ID when generated parameters s, B are returned to the client.

    userName

    The username of the client

    returns

    Option[Tuple4[String,String,String,String]] An Option Tuple of sessionId, Hash(sessionId), s, B

  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def initializeLogIfNecessary(isInterpreter: Boolean): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def k: Array[Byte]

    Permalink
    Definition Classes
    SRPParameter
  24. def log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  28. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  36. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  39. def q: BigInt

    Permalink
    Definition Classes
    SRPParameter
  40. def saveUserCredentials(userName: String, password: String): (Array[Byte], Array[Byte], Array[Byte])

    Permalink

    Saves the calculated user credentials- userName, s, v

    Saves the calculated user credentials- userName, s, v

    password

    The password to be used to save user credentials

    returns

    Tuple3[Array[Byte],Array[Byte],Array[Byte]] s,x and v

  41. val sr: SecureRandom

    Permalink
    Definition Classes
    SRPParameter
  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. def u(A: Array[Byte], B: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    SRPParameter
  45. def v(x: Array[Byte]): Array[Byte]

    Permalink
    Definition Classes
    ServerSRPParameter
  46. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. def x(username: String, password: String): (Array[Byte], Array[Byte])

    Permalink

    returns

    Tuple2 _1: salt, _2: x

    Definition Classes
    ServerSRPParameter
  50. def x(s: Array[Byte], username: String, password: String): Array[Byte]

    Permalink
    Definition Classes
    SRPParameter

Inherited from ServerSRPParameter

Inherited from SRPParameter

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped