Class MessageAuthenticationCodeProducerFactory

java.lang.Object
com.exceptionfactory.jagged.framework.crypto.MessageAuthenticationCodeProducerFactory

public final class MessageAuthenticationCodeProducerFactory extends Object
Message Authentication Code Producer Factory creates new producers using required arguments
  • Method Details

    • newMessageAuthenticationCodeProducer

      public static MessageAuthenticationCodeProducer newMessageAuthenticationCodeProducer(MacKey macKey) throws GeneralSecurityException
      Create a new instance of Message Authentication Code Producer using MAC Key
      Parameters:
      macKey - Message Authentication Code Key required
      Returns:
      Message Authentication Code Producer
      Throws:
      GeneralSecurityException - Thrown on producer initialization failures