KeyAgreeRecipientInfo.Version Property

Definition

The Version property retrieves the version of the key agreement recipient. This is automatically set for objects in this class, and the value implies that the recipient is taking part in a key agreement 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

The version of the KeyAgreeRecipientInfo object.

Remarks

The version determines whether the message in which this KeyAgreeRecipientInfo object 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