public class KeyInSessionSunJceCryptFactory extends Object implements ICryptFactory
SunJceCrypt instances based on session-specific
encryption key. This allows each user to have his own encryption key, hardening against CSRF
attacks.
| Constructor and Description |
|---|
KeyInSessionSunJceCryptFactory()
Constructor using
Cipher "PBEWithMD5AndDES" |
KeyInSessionSunJceCryptFactory(String cryptMethod)
Constructor that uses a custom
Cipher |
public KeyInSessionSunJceCryptFactory()
Cipher "PBEWithMD5AndDES"public ICrypt newCrypt()
newCrypt in interface ICryptFactoryCopyright © 2006–2021 Apache Software Foundation. All rights reserved.