blob: 0b4f14077385f36e220fe5ebfa973d10a1724243 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package org.spongycastle.cert.crmf;
import org.spongycastle.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;
}
|