| Modifier and Type | Field and Description |
|---|---|
static java.util.Collection<Algorithm> |
Constants.ALL_SUPPORTED_ALGORITHMS |
| Modifier and Type | Method and Description |
|---|---|
static Algorithm |
Algorithm.forName(java.lang.String name) |
Algorithm |
Authorization.getAlgorithm() |
static Algorithm |
Algorithm.valueOf(java.lang.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 |
|---|---|
java.util.Set<Algorithm> |
Keychain.getAlgorithms() |
java.util.Set<Algorithm> |
Key.getAlgorithms() |
java.util.Set<Algorithm> |
DefaultKeychain.getAlgorithms() |
java.util.List<Algorithm> |
Challenge.getAlgorithms() |
static java.util.List<Algorithm> |
Challenge.parseAlgorithms(java.lang.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(java.util.Collection<Algorithm> algorithms)
Filter this keychain by a
Collection of supported Algorithms |
Keychain |
DefaultKeychain.filterAlgorithms(java.util.Collection<Algorithm> algorithms) |
| Constructor and Description |
|---|
Authorization(java.lang.String keyId,
java.lang.String signature,
java.util.List<java.lang.String> headers,
Algorithm algorithm)
Construct an
Authorization instance |
| Constructor and Description |
|---|
Challenge(java.lang.String realm,
java.util.List<java.lang.String> headers,
java.util.Collection<Algorithm> algorithms)
Construct a
Challenge instance |
Copyright © 2013-2017. All Rights Reserved.