public class OptionUtils extends Object
Constructor and Description |
---|
OptionUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends JWSSignerOption> |
optionIsPresent(Set<JWSSignerOption> opts,
Class<T> tClass)
Returns
true if the specified set of options contains an
instance of a class implementing JWSSignerOption . |
public OptionUtils()
public static <T extends JWSSignerOption> boolean optionIsPresent(Set<JWSSignerOption> opts, Class<T> tClass)
true
if the specified set of options contains an
instance of a class implementing JWSSignerOption
.opts
- The options set, may be null
.tClass
- The class. Must not be null
.true
if an option is present, else false
.Copyright © 2021 Connect2id Ltd.. All rights reserved.