Class JwtFactoryTypeProviderUtils

java.lang.Object
org.forgerock.openig.util.JwtFactoryTypeProviderUtils

public final class JwtFactoryTypeProviderUtils extends Object
Provide Utilities to JwtFactoryConfigUtils methods.
  • 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.