Edit

Share via


KeyTransRecipientInfo.Version Property

Definition

The Version property retrieves the version of the key transport recipient. The version of the key transport recipient is automatically set for objects in this class, and the value implies that the recipient is taking part in a key transport algorithm.

public:
 virtual property int Version { int get(); };
public override int Version { get; }
member this.Version : int
Public Overrides ReadOnly Property Version As Integer

Property Value

An int value that represents the version of the key transport RecipientInfo object.

Remarks

The version determines whether the message in which this KeyTransRecipientInfo is contained is a PKCS #7 message or a Cryptographic Message Syntax (CMS) message. CMS is a newer superset of PKCS #7.

Applies to

See also