Lines Matching defs:code
23 * {@code CipherSuite} enum from TLS 1.2 RFC 5246.
383 if (byCode.put(cipherSuite.code, cipherSuite) != null) {
385 "Cipher suite multiply defined: " + Integer.toHexString(cipherSuite.code));
405 public final int code;
409 private CipherSuite(int code, String name) {
410 this.code = code;
415 private CipherSuite(int code, String name, String androidName) {
416 this.code = code;
429 public static CipherSuite valueOf(int code) {
430 CipherSuite result = CODE_TO_CIPHER_SUITE.get(code);
434 return new CipherSuite(code, Integer.toHexString(code));
450 result = prime * result + code;
466 if (code != other.code) {