Package org.forgerock.openig.util
Class JwtFactoryTypeProviderUtils
java.lang.Object
org.forgerock.openig.util.JwtFactoryTypeProviderUtils
Provide Utilities to
JwtFactoryConfigUtils methods.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddRequiredSignatureBlock(org.forgerock.openig.model.type.ComponentTypeDefinition type, boolean withRequiredEncryption) Add a mandatory signature block to the given type.static voidaddSignatureOrEncryptionBlocks(org.forgerock.openig.model.type.ComponentTypeDefinition type) Add signature and encryption blocks to the given type.
-
Method Details
-
addSignatureOrEncryptionBlocks
public static void addSignatureOrEncryptionBlocks(org.forgerock.openig.model.type.ComponentTypeDefinition type) Add signature and encryption blocks to the given type.- Parameters:
type- the type to add the signature and encryption blocks to.
-
addRequiredSignatureBlock
public static void addRequiredSignatureBlock(org.forgerock.openig.model.type.ComponentTypeDefinition type, boolean withRequiredEncryption) Add a mandatory signature block to the given type.- Parameters:
type- the type to add the signature block to.withRequiredEncryption- whether the encryption is required or not.
-