public interface KeyOperationPolicy
KeyOperations may be assigned to a JWK.KeyOperationPolicied.operationPolicy(KeyOperationPolicy)| Modifier and Type | Method and Description |
|---|---|
Collection<KeyOperation> |
getOperations()
Returns all supported
KeyOperations that may be assigned to a JWK. |
void |
validate(Collection<? extends KeyOperation> ops)
Returns quietly if all of the specified key operations are allowed to be assigned to a JWK,
or throws an
IllegalArgumentException otherwise. |
Collection<KeyOperation> getOperations()
KeyOperations that may be assigned to a JWK.KeyOperations that may be assigned to a JWK.void validate(Collection<? extends KeyOperation> ops) throws IllegalArgumentException
IllegalArgumentException otherwise.ops - the operations to validateIllegalArgumentExceptionCopyright © 2014–2025 jsonwebtoken.io. All rights reserved.