blob: 2813b6c0941ded22daed8fea8d42b6130b5ca7af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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;
}
|