public void testBc146RARequest() throws IOException, InvalidKeyException, NoSuchAlgorithmException, NoSuchProviderException, SignatureException {
// Check that we can parse request from BouncyCastle version 1.46.
// Read an initialization request with RAVerifiedPOP with PBE protection to see that we can process it
ASN1InputStream in = new ASN1InputStream(bc146rapopir);
DERObject derObject = in.readObject();
PKIMessage req = PKIMessage.getInstance(derObject);
//log.info(req.toString());
// Verify should be false if we do not allow RA verify POP here, since we don't have any normal POP
CrmfRequestMessage msg = new CrmfRequestMessage(req, "CN=AdminCA1", false, "CN");
assertFalse(msg.verify());