| 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  challengeHashusing the specified signatureAlgorithm | 
| boolean | Key. verify(Algorithm algorithm,
      byte[] contentBytes,
      byte[] signatureBytes)Verifies the  signatureBytesagainst thechallengeHashusing an underlying public key | 
| Modifier and Type | Method and Description | 
|---|---|
| Keychain | Keychain. filterAlgorithms(Collection<Algorithm> algorithms)Filter this keychain by a  Collectionof supportedAlgorithms | 
| Keychain | DefaultKeychain. filterAlgorithms(Collection<Algorithm> algorithms) | 
| Constructor and Description | 
|---|
| Authorization(String keyId,
             String signature,
             List<String> headers,
             Algorithm algorithm)Construct an  Authorizationinstance | 
| Constructor and Description | 
|---|
| Challenge(String realm,
         List<String> headers,
         Collection<Algorithm> algorithms)Construct a  Challengeinstance | 
Copyright © 2013-2017. All Rights Reserved.