(String name)
| 93 | return "UNKNOWN"; |
| 94 | } |
| 95 | protected static int name2type(String name){ |
| 96 | for(int i = 0; i < names.length; i++){ |
| 97 | if(Util.byte2str(names[i]).equals(name)){ |
| 98 | return i + 1; |
| 99 | } |
| 100 | } |
| 101 | return UNKNOWN; |
| 102 | } |
| 103 | public String getKey(){ |
| 104 | return Util.byte2str(Util.toBase64(key, 0, key.length)); |
| 105 | } |
no test coverage detected