@Immutable public class ImmutableJWKSet<C extends SecurityContext> extends Object implements JWKSource<C>
| Constructor and Description |
|---|
ImmutableJWKSet(JWKSet jwkSet)
Creates a new JWK source backed by an immutable JWK set.
|
| Modifier and Type | Method and Description |
|---|---|
List<JWK> |
get(JWKSelector jwkSelector,
C context)
Retrieves a list of JWKs matching the specified selector.
|
JWKSet |
getJWKSet()
Returns the JWK set.
|
public ImmutableJWKSet(JWKSet jwkSet)
jwkSet - The JWK set. Must not be null.public List<JWK> get(JWKSelector jwkSelector, C context)
get in interface JWKSource<C extends SecurityContext>jwkSelector - A JWK selector. Must not be null.context - Optional context, null if not required.Copyright © 2021 Connect2id Ltd.. All rights reserved.