Modifier and Type | Field and Description |
---|---|
static Collection<Algorithm> |
Constants.ALL_SUPPORTED_ALGORITHMS |
Modifier and Type | Method and Description |
---|---|
static Algorithm |
Algorithm.forName(String name) |
Algorithm |
Authorization.getAlgorithm() |
static Algorithm |
Algorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Algorithm[] |
Algorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<Algorithm> |
Keychain.getAlgorithms() |
Set<Algorithm> |
Key.getAlgorithms() |
Set<Algorithm> |
DefaultKeychain.getAlgorithms() |
List<Algorithm> |
Challenge.getAlgorithms() |
static List<Algorithm> |
Challenge.parseAlgorithms(String algorithms) |
Modifier and Type | Method and Description |
---|---|
byte[] |
Key.sign(Algorithm algorithm,
byte[] contentBytes)
Signs the
challengeHash using the specified signature Algorithm |
boolean |
Key.verify(Algorithm algorithm,
byte[] contentBytes,
byte[] signatureBytes)
Verifies the
signatureBytes against the challengeHash using an underlying public key |
Modifier and Type | Method and Description |
---|---|
Keychain |
Keychain.filterAlgorithms(Collection<Algorithm> algorithms)
Filter this keychain by a
Collection of supported Algorithm s |
Keychain |
DefaultKeychain.filterAlgorithms(Collection<Algorithm> algorithms) |
Constructor and Description |
---|
Authorization(String keyId,
String signature,
List<String> headers,
Algorithm algorithm)
Construct an
Authorization instance |
Constructor and Description |
---|
Challenge(String realm,
List<String> headers,
Collection<Algorithm> algorithms)
Construct a
Challenge instance |
Copyright © 2013-2017. All Rights Reserved.