org.bouncycastle.cert.crmf.PKMACValuesCalculator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcmail Show documentation
Show all versions of bcmail Show documentation
A patched bouncycastle-mail
The newest version!
package org.bouncycastle.cert.crmf;
import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
public interface PKMACValuesCalculator
{
void setup(AlgorithmIdentifier digestAlg, AlgorithmIdentifier macAlg)
throws CRMFException;
byte[] calculateDigest(byte[] data)
throws CRMFException;
byte[] calculateMac(byte[] pwd, byte[] data)
throws CRMFException;
}