ESYAE-imza Kütüphaneleri

User Tools

Site Tools


en:esya:cmszarf:cms-zarf

Bu, dökümanın eski bir sürümüdür!


CMS Envelope

CMS Envelope structure is used for creating encrypted documents. The API provides mainly two functions;

  • Creating CMS Envelope structure for the data to be encrypted.
  • Decryption of a CMS Envelope structure.

In CMS Envelope, both asymmetric and symmetric encryotion are used. The data to be encrypted is encrypted with a symmetric key. For each recipient, the symmetric encrytion key is asymmetrically encrypted and these encrypted key are appended to the document. Upon decryption, The recipient first decrypts the encrypted symmetric key by using his own asymmetric private key and then s/he can decrypt the encrypted data and get the plain content. These operations can be performed by using ESYA CMS Envelope API.

Before creating an enveloped data for a plain document, the validity of the recipients' certificates must be checked. This is because some of the recipients may have their private keys stolen and revoked their certificates.

Encryption

The encryption operation is explained with sample codes.

Decryption

The decryption operation is explained with sample codes.

en/esya/cmszarf/cms-zarf.1378888779.txt.gz · Son değiştirilme: 2013/09/11 08:39 Değiştiren: Dindar Öz