Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method of loading client certificate for Android system by OpenSSL engine

An Android system and client technology, applied in transmission systems, digital data authentication, electrical components, etc., can solve problems such as return errors, failure to access the https server normally, and achieve the effect of security and reliability

Inactive Publication Date: 2013-04-24
宁波市奉化区金都机械铸造有限公司
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, if the https server verifies the client certificate, it will return an error, causing the Android client to use the webview to access the https server normally.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0009] The present invention will be further described below in conjunction with specific examples.

[0010] In order to ensure the safety of the communication and interaction between the client of the Android system and the https server, the present invention uses the openssl engine to be loaded, and uses the openssl engine to complete the relevant calculation process, which specifically includes the following steps:

[0011] a. Load the openssl engine in the client of the Android system, and take out the preset client certificate and key in the Java local interface layer through the openssl engine;

[0012] In the openssl library of the Android system, a thread is opened to load the openssl engine. The openssl library loaded with the engine will replace some library function calculation processes with the calculation processes provided in the engine. The openssl engine can also provide access to certificates. The client certificate is an object identifying the client identit...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a processing method, in particular to a method of loading a client certificate for an Android system by OpenSSL engine, and belongs to the field of techniques of loading client certificates in the Android system. According to the technical scheme, the method includes the steps of a, loading the OpenSSL engine in an Android system client, and allowing the OpenSSL engine to take out the preset client certificate and a preset key from a Java local interface layer; and b, allowing an OpenSSL callback function to import the obtained client certificate and the obtained key into communication flow in a secure sockets layer between the Android system client and a HTTPS (hypertext transfer protocol secure) server so as to allow the HTTPS server to verify the client certificate for the Android system client. The method is convenient to operate and is higher in reliability of loading the client certificate.

Description

technical field [0001] The invention relates to a processing method, in particular to a method for an Android system to load a client certificate with an openssl engine, and belongs to the technical field of loading a client certificate in the Android system. Background technique [0002] webview is a web browser control for android. At present, when the client of the Android system uses webview to access the https (Hypertext Transfer Protocol over Secure Socket Layer, Hypertext Transfer Protocol based on Secure Socket Layer) server, the client used in the handshake process with the https server in the client of the Android system Certificate is a default dummy object. Therefore, if the https server verifies the client certificate, an error will be returned, causing the Android client to use the webview to fail to access the https server normally. Contents of the invention [0003] The purpose of the present invention is to overcome the deficiencies in the prior art, and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/33H04L29/06H04L29/08
Inventor 陈海雷范健潘琪锋尤建华
Owner 宁波市奉化区金都机械铸造有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products