Method for encrypting channels and simplified method and system for encrypting channels based on HTTP (hyper text transport protocol)
A session key and master key technology, applied in the field of communication, can solve the problems of inconsistent TLS implementation specifications, inability to guarantee encryption strength and quality of implementation, unstable TLS channel support, etc., to achieve the effect of separation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0018] Such as figure 1 As shown, the present embodiment provides a method for generating a session key based on HTTP, the method comprising:
[0019] The client sends to the server ClientHello S101 including the client protocol version, client timestamp, client random number, session, and supported encryption algorithm set.
[0020] The server receives the ClientHello sent by the client, establishes a session, stores the client timestamp and the random number of the client, selects an encryption algorithm for this session according to the supported algorithm set, and sends a message containing the server protocol version to the client. number, server timestamp, server random number, server session, specified encryption algorithm for this session, and ServerHello S102 of the server public key certificate.
[0021] The client receives the ServerHello, generates the ClientKeyExchange, the client pre-master key PMS, the client master key MS and the client channel verification Fi...
Embodiment 2
[0065] Such as Figure 4 As shown, the present invention provides a method for generating a session key based on HTTP, the method comprising:
[0066] The client uses the server domain name to obtain the tuple {ServerDNS, ServerCertificate, RNS2, CertificateRequest.flag} from the local cache; generate PMS, client authentication channel Finished message and include client protocol version, client timestamp, client random number, Session, supported encryption algorithm set and ClientHello of server certificate serial number; use RNS2 as RNS; encrypt the tuple {PMS, server timestamp, server random number, extended domain} contained in ClientKeyExchange, send ClientHello, ClientKeyExchange to the server, ChangeCipherSpe and client verification channel Finished information S401.
[0067] The server establishes a session, selects the encryption algorithm of this session according to the supported encryption set, and verifies the validity of the certificate according to the serial n...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 