Package org.bouncycastle.cert.crmf
Interface PKMACValuesCalculator
-
- All Known Implementing Classes:
JcePKMACValuesCalculator
public interface PKMACValuesCalculator
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
calculateDigest(byte[] data)
byte[]
calculateMac(byte[] pwd, byte[] data)
void
setup(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlg)
-
-
-
Method Detail
-
setup
void setup(org.bouncycastle.asn1.x509.AlgorithmIdentifier digestAlg, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlg) throws CRMFException
- Throws:
CRMFException
-
calculateDigest
byte[] calculateDigest(byte[] data) throws CRMFException
- Throws:
CRMFException
-
calculateMac
byte[] calculateMac(byte[] pwd, byte[] data) throws CRMFException
- Throws:
CRMFException
-
-