Class JwkTransformerFunction.DefaultKeyOpsFunction
java.lang.Object
se.swedenconnect.security.credential.nimbus.JwkTransformerFunction.DefaultKeyOpsFunction
- All Implemented Interfaces:
Function<PkiCredential,Set<KeyOperation>>
- Enclosing class:
JwkTransformerFunction
public static class JwkTransformerFunction.DefaultKeyOpsFunction
extends Object
implements Function<PkiCredential,Set<KeyOperation>>
Default implementation of the function that returns a set of
KeyOperations for a credential.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(PkiCredential credential) Returns aSetofKeyOperations if the metadata propertykey-opsis assigned to any of the following: ACollectionofKeyOperationobjects. A singleKeyOperationobject. An array ofKeyOperationobjects. A comma separated string with key operations (see valid string values inKeyOperation).
-
Constructor Details
-
DefaultKeyOpsFunction
public DefaultKeyOpsFunction()
-
-
Method Details
-
apply
Returns aSetofKeyOperations if the metadata propertykey-opsis assigned to any of the following:- A
CollectionofKeyOperationobjects. - A single
KeyOperationobject. - An array of
KeyOperationobjects. - A comma separated string with key operations (see valid string values in
KeyOperation).
- Specified by:
applyin interfaceFunction<PkiCredential,Set<KeyOperation>>
- A
-