Interface RSAPSSSignatureAlgorithm

All Superinterfaces:
Algorithm, AlgorithmIdentifierAware, JoseAlgorithm, KeyBasedAlgorithm, SignatureAlgorithm
All Known Implementing Classes:
NoParamsRSAPSSSignatureAlgorithm, RSAPSSSignatureAlgorithmImpl

public interface RSAPSSSignatureAlgorithm extends SignatureAlgorithm
Representation of a RSA-PSS signature algorithm.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Method Details

    • getKeyType

      default String getKeyType()
      Always returns "RSA".
      Specified by:
      getKeyType in interface KeyBasedAlgorithm
      Returns:
      the key type
    • getParameterSpec

      PSSParameterSpec getParameterSpec()
      Gets the parameter spec for the RSA-PSS algorithm.
      Returns:
      the PSSParameterSpec
    • getMGFUri

      default String getMGFUri()
      Gets the Mask Generation Function (MGF) URI. Defaults to http://www.w3.org/2007/05/xmldsig-more#MGF1.
      Returns:
      the MGF URI
    • getMGFDigestAlgorithm

      default MessageDigestAlgorithm getMGFDigestAlgorithm()
      Gets the digest algorithm for the Mask Generation Function (MGF). Defaults to the same digest algorithm as the signature algorithm.
      Returns:
      the MGF digest algorithm