public static String[] unpackCipherSuites(String ciphers){
  if (ciphers == null)   return null;
  Vector c=new Vector();
  int i=ciphers.indexOf(',');
  int j=0;
  while (i > -1) {
    c.add(ciphers.substring(j,i));
    j=i + 1;
    i=ciphers.indexOf(',',j);
  }
  c.add(ciphers.substring(j));
  String[] s=new String[c.size()];
  c.toArray(s);
  return s;
}

public static String [ ] unpackCipherSuites ( String ciphers ) { if ( ciphers == null ) return null ; Vector c = new Vector ( ) ; int i = ciphers . indexOf ( ',' ) ; int j = 0 ; while ( i > - 1 ) { c . add ( ciphers . substring ( j , i ) ) ; j = i + 1 ; i = ciphers . indexOf ( ',' , j ) ; } c . add ( ciphers . substring ( j ) ) ; String [ ] s = new String [ c . size ( ) ] ; c . toArray ( s ) ; return s ; }
inverse operation of packciphersuites : converts a string of cipher names into an array of cipher names
