* @param stateString the Base64 encoded view state
* @return the view state reconstructed from <code>stateString</code>
*/
protected Object doGetState(String stateString) {
ObjectInputStream ois = null;
InputStream bis = new Base64InputStream(stateString);
try {
if (guard != null) {
byte[] bytes = stateString.getBytes();
int numRead = bis.read(bytes, 0, bytes.length);
byte[] decodedBytes = new byte[numRead];
bis.reset();
bis.read(decodedBytes, 0, decodedBytes.length);
bytes = guard.decrypt(decodedBytes);
if (bytes == null) return null;
bis = new ByteArrayInputStream(bytes);
}