Class MacAlgorithmImpl

All Implemented Interfaces:
Algorithm, JoseAlgorithm, MacAlgorithm

public class MacAlgorithmImpl extends AbstractJoseAlgorithm implements MacAlgorithm
Implementation class for MacAlgorithm.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
  • Constructor Details

    • MacAlgorithmImpl

      public MacAlgorithmImpl(String uri, int order, String jcaName, com.nimbusds.jose.JWSAlgorithm joseAlgorithm, MessageDigestAlgorithm messageDigestAlgorithm)
      Constructor.
      Parameters:
      uri - the algorithm URI
      order - the ordering for the algorithm
      jcaName - the JCA name
      joseAlgorithm - the JOSE algorithm (may be null)
      messageDigestAlgorithm - the message digest algorithm this signature algorithm uses
    • MacAlgorithmImpl

      protected MacAlgorithmImpl(String uri)
      Protected constructor used by builder.
      Parameters:
      uri - the algorithm URI
  • Method Details