use of com.sun.corba.ee.impl.encoding.CDROutputObject in project Payara by payara.
the class CSIV2TaggedComponentInfo method createCompoundSecMechListComponent.
private org.omg.IOP.TaggedComponent createCompoundSecMechListComponent(CompoundSecMech[] mechList) {
CDROutputObject out = (CDROutputObject) orb.create_output_stream();
out.putEndian();
boolean stateful = false;
CompoundSecMechListHelper.write(out, new CompoundSecMechList(stateful, mechList));
return new org.omg.IOP.TaggedComponent(TAG_CSI_SEC_MECH_LIST.value, out.toByteArray());
}
use of com.sun.corba.ee.impl.encoding.CDROutputObject in project Payara by payara.
the class CSIV2TaggedComponentInfo method createTlsSecTransComponent.
private org.omg.IOP.TaggedComponent createTlsSecTransComponent(int targetSupports, int targetRequires, TransportAddress[] transportAddresses) {
TLS_SEC_TRANS tls_sec = new TLS_SEC_TRANS((short) targetSupports, (short) targetRequires, transportAddresses);
CDROutputObject out = (CDROutputObject) orb.create_output_stream();
out.putEndian();
TLS_SEC_TRANSHelper.write(out, tls_sec);
// create new Tagged Component for SSL
return new org.omg.IOP.TaggedComponent(TAG_TLS_SEC_TRANS.value, out.toByteArray());
}
Aggregations