Bu sayfanın seçili sürümü ile mevcut sürümü arasındaki farkları gösterir.
en:esya:smartcard:sifreleme-imzalama [2013/09/12 07:49] Dindar Öz |
en:esya:smartcard:sifreleme-imzalama [2013/09/12 07:49] (mevcut) Dindar Öz |
||
---|---|---|---|
Satır 3: | Satır 3: | ||
Decryption and signature creation operations require login to smartcard. The methods ''decryptDataWithCertSerialNo(...)'', ''decryptData(...)'', ''signDataWithCertSerialNo(...)'', and ''signData(...)'' are used to perform cryptogrtaphic operations. Only decryption and signature creation, which need private key access, should be performed in smartcard. Other operations can be performed outside which is much more efficient. | Decryption and signature creation operations require login to smartcard. The methods ''decryptDataWithCertSerialNo(...)'', ''decryptData(...)'', ''signDataWithCertSerialNo(...)'', and ''signData(...)'' are used to perform cryptogrtaphic operations. Only decryption and signature creation, which need private key access, should be performed in smartcard. Other operations can be performed outside which is much more efficient. | ||
- | The modules using signature creation and decryption operations takes objects of ''BaseSigner'' and ''BaseCipher'' interfaces. Thus the classes ''SCSignerWithCertSerialNo'', ''SCSignerWithKeyLabel'', ''SCCipherWithCertSerialNo'' and ''SCCipherWithKeyLabel'' are used. | + | The modules using signature creation and decryption operations take objects of ''BaseSigner'' and ''BaseCipher'' interfaces. Thus the classes ''SCSignerWithCertSerialNo'', ''SCSignerWithKeyLabel'', ''SCCipherWithCertSerialNo'' and ''SCCipherWithKeyLabel'' are used. |
| | ||
In the sample code below, there are classes performing their operations by using certificate serial number. | In the sample code below, there are classes performing their operations by using certificate serial number. |