SessionTransportTransformerMessageAuthentication

A transformer used to sign session data. This transformer appends an algorithm MAC (Message Authentication Code) hash of the session data. It uses a specified keySpec when generating the MAC hash.

See also

Constructors

constructor(key: ByteArray, algorithm: String = "HmacSHA256")
constructor(keySpec: SecretKeySpec, algorithm: String = "HmacSHA256")

Properties

Link copied to clipboard

is a message authentication algorithm name

Link copied to clipboard

is a secret key spec for message authentication

Functions

Link copied to clipboard
open override fun transformRead(transportValue: String): String?

Untransforms a transportValue that represents a transformed session.

Link copied to clipboard
open override fun transformWrite(transportValue: String): String

Transforms a transportValue that represents session data.