Class

net.psforever.crypto.CryptoInterface

CryptoStateWithMAC

Related Doc: package CryptoInterface

Permalink

class CryptoStateWithMAC extends CryptoState

Source
CryptoInterface.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CryptoStateWithMAC
  2. CryptoState
  3. IFinalizable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CryptoStateWithMAC(decryptionKey: ByteVector, encryptionKey: ByteVector, decryptionMACKey: ByteVector, encryptionMACKey: ByteVector)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to any2stringadd[CryptoStateWithMAC] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CryptoStateWithMAC, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to ArrowAssoc[CryptoStateWithMAC] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assertNotClosed: Unit

    Permalink
    Definition Classes
    IFinalizable
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close: Unit

    Permalink
    Definition Classes
    CryptoStateIFinalizable
  10. var closed: Boolean

    Permalink
    Definition Classes
    IFinalizable
  11. var decCryptoHandle: Pointer

    Permalink
    Definition Classes
    CryptoState
  12. def decrypt(ciphertext: ByteVector): ByteVector

    Permalink
    Definition Classes
    CryptoState
  13. val decryptionKey: ByteVector

    Permalink
    Definition Classes
    CryptoState
  14. val decryptionMACKey: ByteVector

    Permalink
  15. var encCryptoHandle: Pointer

    Permalink
    Definition Classes
    CryptoState
  16. def encrypt(plaintext: ByteVector): ByteVector

    Permalink
    Definition Classes
    CryptoState
  17. val encryptionKey: ByteVector

    Permalink
    Definition Classes
    CryptoState
  18. val encryptionMACKey: ByteVector

    Permalink
  19. def ensuring(cond: (CryptoStateWithMAC) ⇒ Boolean, msg: ⇒ Any): CryptoStateWithMAC

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to Ensuring[CryptoStateWithMAC] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (CryptoStateWithMAC) ⇒ Boolean): CryptoStateWithMAC

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to Ensuring[CryptoStateWithMAC] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): CryptoStateWithMAC

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to Ensuring[CryptoStateWithMAC] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): CryptoStateWithMAC

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to Ensuring[CryptoStateWithMAC] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    IFinalizable → AnyRef
  26. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to StringFormat[CryptoStateWithMAC] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  30. def macAndEncrypt(message: ByteVector): ByteVector

    Permalink

    MACs the plaintext message, encrypts it, and then returns the encrypted message with the MAC appended to the end.

    MACs the plaintext message, encrypts it, and then returns the encrypted message with the MAC appended to the end.

    message

    Arbitrary set of bytes

    returns

    ByteVector

  31. def macForDecrypt(message: ByteVector): ByteVector

    Permalink

    Performs a MAC operation over the message.

    Performs a MAC operation over the message. Used when verifying decrypted packets

    message

    the input message

    returns

    ByteVector

  32. def macForEncrypt(message: ByteVector): ByteVector

    Permalink

    Performs a MAC operation over the message.

    Performs a MAC operation over the message. Used when encrypting packets

    message

    the input message

    returns

    ByteVector

  33. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def [B](y: B): (CryptoStateWithMAC, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from CryptoStateWithMAC to ArrowAssoc[CryptoStateWithMAC] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from CryptoState

Inherited from IFinalizable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CryptoStateWithMAC to any2stringadd[CryptoStateWithMAC]

Inherited by implicit conversion StringFormat from CryptoStateWithMAC to StringFormat[CryptoStateWithMAC]

Inherited by implicit conversion Ensuring from CryptoStateWithMAC to Ensuring[CryptoStateWithMAC]

Inherited by implicit conversion ArrowAssoc from CryptoStateWithMAC to ArrowAssoc[CryptoStateWithMAC]

Ungrouped