this.transId = TransactionId.createTransactionId();
if (msgType == MessageType.GET_CERT) {
this.request = new GetCert(transId, Nonce.nextNonce(), iasn);
} else if (msgType == MessageType.GET_CRL) {
this.request = new GetCrl(transId, Nonce.nextNonce(), iasn);
} else {
throw new IllegalArgumentException(msgType.toString());
}
}