TLS_SEC_TRANS tst = new TLS_SEC_TRANS();
tst.target_supports = supports;
tst.target_requires = requires;
tst.addresses = new TransportAddress[1];
tst.addresses[0] = new TransportAddress(hostname, port);
try {
Any any = orb.create_any();
TLS_SEC_TRANSHelper.insert(any, tst);