編輯

共用方式為


KeyContainerPermissionAttribute.KeySpec Property

Definition

Gets or sets the key specification.

public:
 property int KeySpec { int get(); void set(int value); };
public int KeySpec { get; set; }
member this.KeySpec : int with get, set
Public Property KeySpec As Integer

Property Value

One of the AT_ values defined in the Wincrypt.h header file.

Remarks

If no value is specified, the AT_KEYEXCHANGE value (1) is used. Valid values for this property are AT_KEYEXCHANGE (1) and AT_SIGNATURE (2).

Applies to