C.H. Ostfeld s.a.s.

Per maggiori informazioni o una quotazione premete Per Contattarci

2012 Calendar - Hudson Bay
Polar Bears at Churchill

SaveOurScreen.Com
Javascript DHTML Drop Down Menu Powered by dhtml-menu-builder.com

Busta crittografica - Flow Chart Codifica

(Provvenienza MSDN - Microsoft Developer Network)

Enveloped data consists of encrypted content of any type and encrypted content-encryption session keys for one or more recipients. Enveloped messages keep the contents of the message secret and allow only specified persons or entities to retrieve the contents.

Cryptographic message syntax (CMS) can be used to encode enveloped messages. CMS supports three key management techniques: key transport, key agreement, and previously distributed symmetric key-encryption keys (KEK). Previously distributed symmetric KEK are also known as mailing list key distribution.

In each of these three techniques, a single session key is generated to encrypt the enveloped message. Key management issues deal with the way that session key is encrypted by the sender and decrypted by a receiver. A single encrypted message can be distributed to many recipients using a mixture of the key management techniques.

Key transport key management uses an intended receiver's public key to encrypt the session key. The receiver decrypts the session key using the private key associated with the public key that was used to encrypt. The receiver then uses the decrypted session key to decrypt the enveloped data. When key transport is used, the receiver has not confirmed information on the identity of the sender.

In key agreement management, a temporary, ephemeral Diffie-Hellman (1) private key is generated and used to encrypt the session key. The public key corresponding to the ephemeral private key is included as part of the message's recipient information. The recipient decrypts the session key using the received ephemeral key and uses this decrypted session key to decrypt the enveloped message. Using ephemeral key agreement in conjunction with the receiver's private key, the message receiver does have confirmed information on the identity of the sender.

For key management using previously distributed symmetric keys, each message includes the content-encryption key that has been encrypted with a previously distributed key-encryption key. Receivers use the previously distributed key-encryption key to decrypt the content encryption key, then use the decrypted content-encryption key to decrypt the enveloped message.

A typical CMS sequence of events for encoding enveloped data, is shown in the following illustration.

Specific Terminology

symmetric algorithm

A cryptographic algorithm that typically uses a single key, often referred to as a session key, for encryption and decryption. Symmetric algorithms can be divided into two categories, stream algorithms and block algorithms (also called stream and block ciphers).

symmetric encryption
Encryption that uses a single key for both encryption and decryption. Symmetric encryption is preferred when encrypting large amounts of data. Some of the more common symmetric encryption algorithms are RC2, RC4, and Data Encryption Standard (DES).
symmetric key

A single key used for both encryption and decryption. Session keys are usually symmetric.

Bibliografia:

1 -Diffie e Hellman

More information is available on the related MSDN Web Article

C.H. Ostfeld s.a.s. - Viale Stelvio 70 - 20159 - Milan, Italy - sales@ostfeld.com
Tel. +39 02 6680 0303 - Fax +39 02 6680 4501
Cod. fisc. 04116380157, numero d’iscrizione al Registro delle Imprese di Milano 0988938 - P. IVA IT04116380157
Le informazioni riportate in queste pagine sono fornite direttamente dai produttori.
Tutti i marchi sono di proprietà dei rispettivi titolari. Ogni omissione è puramente involontaria. © C.H. Ostfeld s.a.s. 1995- 2012