interface SessionTransportTransformer
Represents a session cookie transformation. Useful for such things like signing and encryption
abstract fun transformRead(transportValue: String): String?
Un-apply a transformation for transportValue representing a transformed session. Returns null if it fails. |
|
abstract fun transformWrite(transportValue: String): String
Apply a transformation for transportValue representing a session. |
class
Session transformer that appends an algorithm hash of the input. Where the input is either a session contents or a previous transformation. It prepends a salt when computing the hash. |
|
class SessionTransportTransformerEncrypt : SessionTransportTransformer
Session transformer that encrypts/decrypts the input. |
|
class SessionTransportTransformerMessageAuthentication : SessionTransportTransformer
Session transformer that appends an algorithm MAC (Message Authentication Code) hash of the input. Where the input is either a session contents or a previous transformation. It uses a specified keySpec when generating the Mac hash. |