| Modifier and Type | Field and Description |
|---|---|
| public static final PublicKeysWrapper | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyWrapper | Returns: KeyWrapper matching given parametersrfc7517 KID parameter kid, String rfc7517 alg parameter alg)Find an appropriate key given a KID and algorithm. |
| public KeyWrapper | Returns: The first key that matches the predicate or nullThe predicate predicate)Returns the first key that matches the predicate. |
| public List | |
| public List |
| EMPTY | back to summary |
|---|---|
| public static final PublicKeysWrapper EMPTY | |
| keys | back to summary |
|---|---|
| private final List<KeyWrapper> keys | |
| PublicKeysWrapper | back to summary |
|---|---|
| public PublicKeysWrapper(List<KeyWrapper> keys) | |
| getKeyByKidAndAlg | back to summary |
|---|---|
| public KeyWrapper getKeyByKidAndAlg(String kid, String alg) Find an appropriate key given a KID and algorithm. Prefer matching on both parameters, but may partially match on KID only. Or if KID is not provided, the algorithm. Will use a flagged default client certificate otherwise, if a match is not found.
| |
| getKeyByPredicate | back to summary |
|---|---|
| public KeyWrapper getKeyByPredicate(Predicate<KeyWrapper> predicate) Returns the first key that matches the predicate.
| |
| getKeys | back to summary |
|---|---|
| public List | |
| getKids | back to summary |
|---|---|
| public List | |