public abstract class AbstractPXCookie extends Object implements PXCookie
Modifier and Type | Field and Description |
---|---|
protected String |
cookieKey |
protected String |
cookieOrig |
protected com.fasterxml.jackson.databind.JsonNode |
decodedCookie |
protected String |
ip |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
protected PXConfiguration |
pxConfiguration |
protected String |
pxCookie |
protected String |
userAgent |
Constructor and Description |
---|
AbstractPXCookie(PXConfiguration pxConfiguration,
CookieData cookieData) |
Modifier and Type | Method and Description |
---|---|
boolean |
deserialize() |
String |
getCookieOrig() |
String |
getCookieVersion() |
com.fasterxml.jackson.databind.JsonNode |
getDecodedCookie() |
String |
getPxCookie() |
long |
getTimestamp() |
String |
getUUID() |
String |
getVID() |
boolean |
isExpired() |
boolean |
isHighScore() |
boolean |
isHmacValid(String hmacStr,
String cookieHmac) |
void |
setDecodedCookie(com.fasterxml.jackson.databind.JsonNode decodedCookie) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlockAction, getHmac, getScore, isCookieFormatValid, isSecured
protected String ip
protected String userAgent
protected com.fasterxml.jackson.databind.ObjectMapper mapper
protected PXConfiguration pxConfiguration
protected String pxCookie
protected com.fasterxml.jackson.databind.JsonNode decodedCookie
protected String cookieKey
protected String cookieOrig
public AbstractPXCookie(PXConfiguration pxConfiguration, CookieData cookieData)
public String getPxCookie()
public String getCookieOrig()
public String getCookieVersion()
public com.fasterxml.jackson.databind.JsonNode getDecodedCookie()
public void setDecodedCookie(com.fasterxml.jackson.databind.JsonNode decodedCookie)
public boolean deserialize() throws PXCookieDecryptionException
PXCookieDecryptionException
public boolean isHighScore()
public boolean isExpired()
public long getTimestamp()
getTimestamp
in interface PXCookie
Copyright © 2021 PerimeterX. All rights reserved.