SessionTransportTransformerMessageAuthentication

class SessionTransportTransformerMessageAuthentication(val keySpec: SecretKeySpec, val algorithm: String = "HmacSHA256")

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

Sessions

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 fun transformRead(transportValue: String): String?
Link copied to clipboard
open fun transformWrite(transportValue: String): String