for (int i = 0; i < profileInfo.components.length; i++) {
// we're lookoing for the security mechanism items.
if (profileInfo.components[i].tag == TAG_CSI_SEC_MECH_LIST.value) {
try {
// decode and pull the transport information.
TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), profileInfo.components[i]);
if (log.isDebugEnabled()) {
log.debug("looking at tss: " + config);
}
for (int j = 0; j < config.size(); j++) {
TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
if (transport_mech instanceof TSSSSLTransportConfig) {
TSSSSLTransportConfig transportConfig = (TSSSSLTransportConfig) transport_mech;
int supports = transportConfig.getSupports();
int requires = transportConfig.getRequires();