Bewerken

Delen via


RecipientInfo.Version Property

Definition

The Version abstract property retrieves the version of the recipient information. Derived classes automatically set this property for their objects, and the value indicates whether it is using PKCS #7 or Cryptographic Message Syntax (CMS) to protect messages. The version also implies whether the RecipientInfo object establishes a cryptographic key by a key agreement algorithm or a key transport algorithm.

public:
 abstract property int Version { int get(); };
public abstract int Version { get; }
member this.Version : int
Public MustOverride ReadOnly Property Version As Integer

Property Value

An Int32 value that represents the version of the RecipientInfo object.

Remarks

This is an abstract property overridden by KeyAgreeRecipientInfo and KeyTransRecipientInfo.

The version determines whether the message is a PKCS #7 message or a CMS message. CMS is a newer superset of PKCS #7.

Applies to

See also