}
if (GSS_C_NO_OID == this->mechType.toGss() )
throw std::invalid_argument( std::string() + "Could not create a mech_type OID from '" + key + "'");
+ if ( !(this->mechType.isGssEapMech()) )
+ throw std::invalid_argument( std::string() +
+ "'" + key + "' must be 1.3.6.1.5.5.15.1.1.*");
}
// req_flags