MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / parseSecTypes

Method parseSecTypes

java/com/tigervnc/rfb/Security.java:228–238  ·  view source on GitHub ↗
(String types_)

Source from the content-addressed store, hash-verified

226 }
227
228 public final static List<Integer> parseSecTypes(String types_)
229 {
230 List<Integer> result = new ArrayList<Integer>();
231 String[] types = types_.split(",");
232 for (int i = 0; i < types.length; i++) {
233 int typeNum = secTypeNum(types[i]);
234 if (typeNum != secTypeInvalid)
235 result.add(typeNum);
236 }
237 return (result);
238 }
239
240 public final void SetSecTypes(List<Integer> secTypes) {
241 enabledSecTypes = secTypes;

Callers 1

SecurityMethod · 0.95

Calls 3

secTypeNumMethod · 0.95
splitMethod · 0.80
addMethod · 0.65

Tested by

no test coverage detected