equal
deleted
inserted
replaced
463 |
463 |
464 @Override |
464 @Override |
465 public String toString() { |
465 public String toString() { |
466 return name; |
466 return name; |
467 } |
467 } |
468 |
|
469 /* |
|
470 static SSLHandshake valueOf(byte id) { |
|
471 for (SSLHandshake hs : SSLHandshake.values()) { |
|
472 if (hs.id == id) { |
|
473 return hs; |
|
474 } |
|
475 } |
|
476 |
|
477 return null; |
|
478 } |
|
479 */ |
|
480 |
468 |
481 static String nameOf(byte id) { |
469 static String nameOf(byte id) { |
482 // If two handshake message share the same handshake type, returns |
470 // If two handshake message share the same handshake type, returns |
483 // the first handshake message name. |
471 // the first handshake message name. |
484 // |
472 // |