ورود

View Full Version : سوال: keygen element



saeedgharedaghi
سه شنبه 09 دی 1393, 08:43 صبح
با سلام و خسته نباشید خدمت اساتید گرامی


The HTML <keygen> tag is used for generating a key pair. The general idea is that it can be used along with Web-based certificate management systems. The <keygen> element can be used to request a certificate, resulting in a signed certificate being generated, which can be used to authenticate to services that use Transport Layer Security (TLS) and certificate authentication.
It is used within an HTML form that the user will submit. The <keygen> element will cause the browser to display a selection that enables the user to select a key size. This could be in the form of a select list, radio buttons, or some other means of selection. When the control's form is submitted, the private key is stored in the local keystore, and the public key is packaged and sent to the server.


<form action="index.html" method="get" enctype="multipart/form-data">
<p><keygen name="key"></p>
<p><input type=submit value="Submit key..."></p>
</form>


در توضیح بالا نوشته که privatekey تو local keystore ذخیره می شود منظور از این مفهوم چیه ممنون میشم راهنماییم کنید

saeedgharedaghi
سه شنبه 09 دی 1393, 08:52 صبح
با سلام و خسته نباشید خدمت اساتید گرامی


The HTML <keygen> tag is used for generating a key pair. The general idea is that it can be used along with Web-based certificate management systems. The <keygen> element can be used to request a certificate, resulting in a signed certificate being generated, which can be used to authenticate to services that use Transport Layer Security (TLS) and certificate authentication.
It is used within an HTML form that the user will submit. The <keygen> element will cause the browser to display a selection that enables the user to select a key size. This could be in the form of a select list, radio buttons, or some other means of selection. When the control's form is submitted, the private key is stored in the local keystore, and the public key is packaged and sent to the server.


<form action="index.html" method="get" enctype="multipart/form-data">
<p><keygen name="key"></p>
<p><input type=submit value="Submit key..."></p>
</form>


در توضیح بالا نوشته که privatekey تو local keystore ذخیره می شود منظور از این مفهوم چیه ممنون میشم راهنماییم کنید

دوستان جواب رو پیدا کردم :-D


Key Directories and Files

The Microsoft legacy CryptoAPI CSPs store private keys in the following directories.


Key type
Directories


User private
%APPDATA%\Microsoft\Crypto\RSA\User SID\%APPDATA%\Microsoft\Crypto\DSS\User SID\


Local system private
%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\S-1-5-18\%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\DSS\S-1-5-18\


Local service private
%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\S-1-5-19\%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\DSS\S-1-5-19\


Network service private
%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\S-1-5-20\%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\DSS\S-1-5-20\


Shared private
%ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys%ALLUSERSPROF ILE%\Application Data\Microsoft\Crypto\DSS\MachineKeys




CNG stores private keys in the following directories.