public final class AskHttpServerConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHARACTER_ENCODING
The character encoding used.
|
static long |
DEFAULT_TOLERANCE_MILLIS
Default timestamp offset tolerance value in millis, used if a custom value is not provided through the
"com.amazon.speech.speechlet.servlet.timestampTolerance" system property.
|
static java.lang.String |
DISABLE_REQUEST_SIGNATURE_CHECK_SYSTEM_PROPERTY
The name of the system property that can be used to disable request signature verification.
|
static java.lang.String |
ECHO_API_DOMAIN_NAME
The domain name used by the Alexa Skills Kit API.
|
static long |
MAXIMUM_TOLERANCE_MILLIS
Maximum allowed timestamp offset tolerance value in millis.
|
static java.lang.String |
SIGNATURE_ALGORITHM
The algorithm used to generate the signature.
|
static java.lang.String |
SIGNATURE_CERTIFICATE_CHAIN_URL_REQUEST_HEADER
The name of the request header that contains the URL for the certificate chain needed to
verify the request signature.
|
static java.lang.String |
SIGNATURE_CERTIFICATE_TYPE
The format of the certificate needed to verify the request signature.
|
static java.lang.String |
SIGNATURE_REQUEST_HEADER
The name of the request header that contains the signature.
|
static java.lang.String |
SIGNATURE_TYPE
The type of encryption key used to generate the signature.
|
static java.lang.String |
TIMESTAMP_TOLERANCE_SYSTEM_PROPERTY
The name of the system property that can be used to configure the timestamp tolerance (in
millis) of the
SkillRequestTimestampVerifier . |
public static final java.lang.String SIGNATURE_ALGORITHM
public static final java.lang.String CHARACTER_ENCODING
public static final java.lang.String SIGNATURE_CERTIFICATE_TYPE
public static final java.lang.String SIGNATURE_TYPE
public static final java.lang.String ECHO_API_DOMAIN_NAME
public static final java.lang.String SIGNATURE_REQUEST_HEADER
public static final java.lang.String SIGNATURE_CERTIFICATE_CHAIN_URL_REQUEST_HEADER
public static final java.lang.String DISABLE_REQUEST_SIGNATURE_CHECK_SYSTEM_PROPERTY
SecurityException
if the signature
does not pass verification. This feature should only be disabled in testing scenarios and
never in a production environment.public static final java.lang.String TIMESTAMP_TOLERANCE_SYSTEM_PROPERTY
SkillRequestTimestampVerifier
. Requests with timestamps outside of this inclusive tolerance range,
either in the past or future, are rejected. If this property is not provided the default value,
30000L, will be used.public static final long DEFAULT_TOLERANCE_MILLIS
public static final long MAXIMUM_TOLERANCE_MILLIS