final Mac mac = Mac.getInstance(macOid, this.bcProvider);
mac.init(key);
mac.reset();
final byte[] protectedBytes = respObject.getProtectedBytes();
final DERBitString protection = respObject.getProtection();
mac.update(protectedBytes, 0, protectedBytes.length);
byte[] out = mac.doFinal();
// My out should now be the same as the protection bits
byte[] pb = protection.getBytes();
if ( !Arrays.equals(out, pb) ) {
StressTest.this.performanceTest.getLog().error("Wrong PBE hash");