public interface JwkSetBuilder extends MapMutator<String,Object,JwkSetBuilder>, SecurityBuilder<JwkSet,JwkSetBuilder>, KeyOperationPolicied<JwkSetBuilder>
JwkSet
s containing Jwk
s. Jwk
s with any key
operations
will be validated by
the operationPolicy
first before being added.KeyOperationPolicied.operationPolicy(KeyOperationPolicy)
,
SecurityBuilder.provider(Provider)
Modifier and Type | Method and Description |
---|---|
JwkSetBuilder |
add(Collection<Jwk<?>> c)
Appends the specified
Jwk collection to the JWK Set. |
JwkSetBuilder |
add(Jwk<?> jwk)
Appends the specified
jwk to the set. |
JwkSetBuilder |
keys(Collection<Jwk<?>> c)
Sets the
JwkSet keys parameter value; per standard Java setter idioms, this is a
full replacement operation, removing any previous keys from the set. |
add, add, delete, empty
provider, random
operationPolicy
JwkSetBuilder add(Jwk<?> jwk)
jwk
to the set. If the jwk
has any key
operations
, it will be validated with the
operationPolicy
first before being added.jwk
- the jwk to add to the JWK Set. A null
jwk
is ignored.JwkSetBuilder add(Collection<Jwk<?>> c)
Jwk
collection to the JWK Set. If any Jwk
in the collection has
any key operations
, it will be validated with the
operationPolicy
first before being added.c
- the collection of Jwk
s to add to the JWK Set. A null
or empty collection is ignored.JwkSetBuilder keys(Collection<Jwk<?>> c)
JwkSet
keys
parameter value; per standard Java setter idioms, this is a
full replacement operation, removing any previous keys from the set. A null
or empty
collection removes all keys from the set.c
- the (possibly null or empty) collection of Jwk
s to set as the JWK set keys
parameter
value.Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.