ssl.target_supports |= 0x80;
//this is SSLs default behaviour, included for completeness
ssl.target_supports |= 0x20; //establish trust in target
CDROutputStream sslDataStream =
new CDROutputStream( orb );
sslDataStream.beginEncapsulatedArray();
SSLHelper.write( sslDataStream , ssl );
tc = new TaggedComponent( org.omg.SSLIOP.TAG_SSL_SEC_TRANS.value,
sslDataStream.getBufferCopy() );
sslDataStream.close ();
sslDataStream = null;
}
info.add_ior_component_to_profile (tc, TAG_INTERNET_IOP.value);
}