public final class ServletConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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 String |
DISABLE_REQUEST_SIGNATURE_CHECK_SYSTEM_PROPERTY
The name of the system property that can be used to disable request signature verification.
|
static 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 String |
SIGNATURE_ALGORITHM
The algorithm used to generate the signature.
|
static 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 String |
SIGNATURE_CERTIFICATE_TYPE
The format of the certificate needed to verify the request signature.
|
static String |
SIGNATURE_REQUEST_HEADER
The name of the request header that contains the signature.
|
static String |
SIGNATURE_TYPE
The type of encryption key used to generate the signature.
|
static String |
TIMESTAMP_TOLERANCE_SYSTEM_PROPERTY
The name of the system property that can be used to configure the timestamp tolerance (in
millis) of the
SkillServlet. |
public static final String SIGNATURE_ALGORITHM
public static final String CHARACTER_ENCODING
public static final String SIGNATURE_CERTIFICATE_TYPE
public static final String SIGNATURE_TYPE
public static final String ECHO_API_DOMAIN_NAME
public static final String SIGNATURE_REQUEST_HEADER
public static final String SIGNATURE_CERTIFICATE_CHAIN_URL_REQUEST_HEADER
public static final 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 String TIMESTAMP_TOLERANCE_SYSTEM_PROPERTY
SkillServlet. 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,
"com.amazon.speech.speechlet.servlet.timestampTolerance", will be used.public static final long DEFAULT_TOLERANCE_MILLIS
public static final long MAXIMUM_TOLERANCE_MILLIS
Copyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.