65 // TLS 1.2 and prior versions |
65 // TLS 1.2 and prior versions |
66 private static enum ClientCertificateType { |
66 private static enum ClientCertificateType { |
67 // RFC 2246 |
67 // RFC 2246 |
68 RSA_SIGN ((byte)0x01, "rsa_sign", "RSA", true), |
68 RSA_SIGN ((byte)0x01, "rsa_sign", "RSA", true), |
69 DSS_SIGN ((byte)0x02, "dss_sign", "DSA", true), |
69 DSS_SIGN ((byte)0x02, "dss_sign", "DSA", true), |
70 RSA_FIXED_DH ((byte)0x03, "rsa__fixed_dh"), |
70 RSA_FIXED_DH ((byte)0x03, "rsa_fixed_dh"), |
71 DSS_FIXED_DH ((byte)0x04, "dss_fixed_dh"), |
71 DSS_FIXED_DH ((byte)0x04, "dss_fixed_dh"), |
72 |
72 |
73 // RFC 4346 |
73 // RFC 4346 |
74 RSA_EPHEMERAL_DH ((byte)0x05, "rsa_ephemeral_dh"), |
74 RSA_EPHEMERAL_DH ((byte)0x05, "rsa_ephemeral_dh"), |
75 DSS_EPHEMERAL_DH ((byte)0x06, "dss_ephemeral_dh"), |
75 DSS_EPHEMERAL_DH ((byte)0x06, "dss_ephemeral_dh"), |