return requestId;
}
private long createPKCS12Request(String username, SubMessages submessages) {
long requestId = random.nextLong();
submessages.addSubMessage(new PKCS12Request(requestId,username, "CN=PKCS12REQ", "RFC822NAME=PKCS12Request@test.com",
"PKCS12Request@test.com", null, "EMPTY", "ENDUSER",
"AdminCA1","foo123",PKCS12Request.KEYALG_RSA, "1024", true));
return requestId;
}