JAVA instance-learn how to use java for digital signature-general Linux technology-Linux programming and kernel information. The following is a detailed description. Digital Signature
If a java Applet written using an Applet has not been signed, the access to the client program will be subject to security restrictions after downloading it. how to add a java Applet signature has attracted the attention of many people, these documents are also available for reference on the Internet, but they are not complete. Here I will provide a document for specific operations, hoping to help you.
Scenario: test. jar: contains the java applet to be signed.
Result: After signing, the client can automatically download the java Applet, And the java Applet can access any resources of the client.
Steps:
(1) package java applets
Jar cvf test. jar test. class
(2) generate a keystore named chinani. store and Its alias is chinani.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.