Class ProviderContext.SignatureAlgorithmOverride

java.lang.Object
org.jose4j.jca.ProviderContext.SignatureAlgorithmOverride
Enclosing class:
ProviderContext

public static class ProviderContext.SignatureAlgorithmOverride extends Object
Signature Algorithm info used to override normal defaults.
  • Constructor Details

    • SignatureAlgorithmOverride

      public SignatureAlgorithmOverride(String algorithmName, AlgorithmParameterSpec aps)
      Create a new SignatureAlgorithmOverride instance
      Parameters:
      algorithmName - the algorithm name (e.g. SHA256withRSAandMGF1)
      aps - the AlgorithmParameterSpec
  • Method Details

    • getAlgorithmName

      public String getAlgorithmName()
      Gets the name of the signature algorithm to use in place of the normal default one.
      Returns:
      the signature algorithm name.
    • getAlgorithmParameterSpec

      public AlgorithmParameterSpec getAlgorithmParameterSpec()
      Gets the AlgorithmParameterSpec to use in place of the normal default one.
      Returns:
      the AlgorithmParameterSpec.