Beispiel #1
0
 /**
  * Converts a textual representation of an certificate type into its numeric code. Integers in
  * the range 0..65535 are also accepted.
  *
  * @param s The textual representation of the algorithm
  * @return The algorithm code, or -1 on error.
  */
 public static int value(String s) {
   return types.getValue(s);
 }