Class MessageAuthenticationCodeProducerFactory
java.lang.Object
com.exceptionfactory.jagged.framework.crypto.MessageAuthenticationCodeProducerFactory
Message Authentication Code Producer Factory creates new producers using required arguments
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new instance of Message Authentication Code Producer using MAC Key
-
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
-