System.arraycopy(nameData, mechLen + 8, name, 0, nameLen);
System.out.println(new String(name));
}
private static void printTlsSecTrans(byte[] tagData) {
CDRInputStream in = new CDRInputStream( (org.omg.CORBA.ORB)null, tagData );
try
{
in.openEncapsulatedArray();
TLS_SEC_TRANS tls = TLS_SEC_TRANSHelper.read( in );
System.out.println("\t\t\tTLS SEC TRANS target requires: " + tls.target_requires);
System.out.println("\t\t\tTLS SEC TRANS target supports: " + tls.target_supports);
for (int i = 0; i < tls.addresses.length; i++) {
int ssl_port = tls.addresses[i].port;