public final class Constants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALGORITHM
Challenge header "algorithm" parameter
|
static String |
ALGORITHMS
Challenge header "algorithms" parameter
|
static Collection<Algorithm> |
ALL_SUPPORTED_ALGORITHMS |
static String |
AUTHORIZATION
Http request header representing client credentials
|
static String |
CHALLENGE
Http response header representing a server authentication challenge
|
static Charset |
CHARSET
Default encoding for header values.
|
static List<String> |
DEFAULT_HEADERS |
static KeyId |
DEFAULT_KEY_IDENTIFIER |
static String |
HEADER_DATE |
static String |
HEADER_REQUEST_LINE
Deprecated.
|
static String |
HEADER_REQUEST_TARGET |
static String |
HEADERS
Parameter name for the "headers" authorization parameter
|
static List<String> |
IGNORE_HEADERS
List of headers to always exclude from signature calculation
|
static String |
KEY_ID
Parameter name for challenge-selected SSH Public Key Fingerprint
|
static Challenge |
PREEMPTIVE_CHALLENGE |
static String |
REALM
Challenge header "realm" parameter
|
static Pattern |
RFC2617_PARAM |
static String |
SCHEME
Identifier for the Signature Authentication scheme
|
static String |
SIGNATURE
Parameter name for the "signature" authorization parameter
|
Modifier and Type | Method and Description |
---|---|
static String |
constructRFC2617(Map<String,String> params) |
static String |
constructTokensString(List<String> tokens) |
static List<String> |
filterHeaders(List<String> headers) |
static Map<String,String> |
parseRFC2617(String header) |
static List<String> |
parseTokens(String tokens) |
public static final String SCHEME
public static final String CHALLENGE
public static final String REALM
public static final String KEY_ID
@Deprecated public static final String HEADER_REQUEST_LINE
request-target
in draft-cavage-http-signatures-03public static final String HEADER_REQUEST_TARGET
public static final String HEADER_DATE
public static final List<String> IGNORE_HEADERS
public static final String AUTHORIZATION
public static final String HEADERS
public static final String SIGNATURE
public static final String ALGORITHMS
public static final String ALGORITHM
public static final Charset CHARSET
public static final Pattern RFC2617_PARAM
public static final KeyId DEFAULT_KEY_IDENTIFIER
public static final Collection<Algorithm> ALL_SUPPORTED_ALGORITHMS
public static final Challenge PREEMPTIVE_CHALLENGE
Copyright © 2013-2017. All Rights Reserved.