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