Package | Description |
---|---|
net.adamcin.httpsig.api | |
net.adamcin.httpsig.http.servlet |
Modifier and Type | Method and Description |
---|---|
static Authorization |
Authorization.parse(String header)
Parse an Authorization header value to construct an
Authorization instance |
Authorization |
Signer.sign(RequestContent requestContent)
Signs a
RequestContent and returns an Authorization header. |
Authorization |
Signer.sign(RequestContent requestContent,
List<String> electiveHeaders)
Signs a
RequestContent and returns an Authorization header. |
Modifier and Type | Method and Description |
---|---|
boolean |
Signer.rotateKeys(Challenge nextChallenge,
Authorization failedAuthz)
Call this method to rotate the candidate keys
|
Key |
Verifier.selectKey(Authorization authorization)
|
Key |
DefaultVerifier.selectKey(Authorization authorization)
|
boolean |
Verifier.verify(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Verifies the provided
Authorization header against the original Challenge |
boolean |
DefaultVerifier.verify(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Verifies the provided
Authorization header against the original Challenge |
VerifyResult |
Verifier.verifyWithResult(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Verifies the provided
Authorization header against the original Challenge |
VerifyResult |
DefaultVerifier.verifyWithResult(Challenge challenge,
RequestContent requestContent,
Authorization authorization)
Verifies the provided
Authorization header against the original Challenge |
Modifier and Type | Method and Description |
---|---|
static Authorization |
ServletUtil.getAuthorization(javax.servlet.http.HttpServletRequest request)
Parse an
HttpServletRequest to create an Authorization |
Copyright © 2013-2017. All Rights Reserved.