public static Collection<Object[]> getParameters() throws Exception {
List<Object[]> params = new ArrayList<Object[]>();
KeyPair pair = KeyPairGenerator.getInstance("RSA").generateKeyPair();
TransactionId transId = TransactionId.createTransactionId();
Nonce recipientNonce = Nonce.nextNonce();
Nonce senderNonce = recipientNonce;
X500Name issuer = new X500Name("CN=CA");
X500Name subject = new X500Name("CN=Client");
IssuerAndSubject ias = new IssuerAndSubject(issuer, subject);
BigInteger serial = BigInteger.ONE;
IssuerAndSerialNumber iasn = new IssuerAndSerialNumber(issuer, serial);