SessionTransportTransformerMessageAuthentication
class SessionTransportTransformerMessageAuthentication(val keySpec: SecretKeySpec, val algorithm: String = "HmacSHA256") : SessionTransportTransformer
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
Link copied to clipboard
fun SessionTransportTransformerMessageAuthentication(key: ByteArray, algorithm: String = "HmacSHA256")
Link copied to clipboard
fun SessionTransportTransformerMessageAuthentication(keySpec: SecretKeySpec, algorithm: String = "HmacSHA256")
Functions
Link copied to clipboard
Untransforms a transportValue that represents a transformed session.
Link copied to clipboard
Transforms a transportValue that represents session data.