public class KeyFactorySecureRandom extends Object
| Constructor and Description | 
|---|
| KeyFactorySecureRandom(FacesContext facesContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | decode(String value)Decode a view state session token into a key | 
| String | encode(byte[] key)Encode a Key into a value that will be used as view state session token | 
| Integer | generateCounterKey(FacesContext facesContext) | 
| byte[] | generateKey(FacesContext facesContext)Generates a unique key per session | 
public KeyFactorySecureRandom(FacesContext facesContext)
public Integer generateCounterKey(FacesContext facesContext)
public byte[] generateKey(FacesContext facesContext)
public String encode(byte[] key)
public byte[] decode(String value)
Copyright © 2022 The Apache Software Foundation. All rights reserved.