CryptoKeyAuditRule Constructors

Definition

Initializes a new instance of the CryptoKeyAuditRule class.

Overloads

CryptoKeyAuditRule(IdentityReference, CryptoKeyRights, AuditFlags)

Initializes a new instance of the CryptoKeyAuditRule class using the specified values.

CryptoKeyAuditRule(String, CryptoKeyRights, AuditFlags)

Initializes a new instance of the CryptoKeyAuditRule class using the specified values.

CryptoKeyAuditRule(IdentityReference, CryptoKeyRights, AuditFlags)

Initializes a new instance of the CryptoKeyAuditRule class using the specified values.

public:
 CryptoKeyAuditRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AuditFlags flags);
public CryptoKeyAuditRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.CryptoKeyAuditRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.CryptoKeyAuditRule
Public Sub New (identity As IdentityReference, cryptoKeyRights As CryptoKeyRights, flags As AuditFlags)

Parameters

identity
IdentityReference

The identity to which the audit rule applies. This parameter must be an object that can be cast as a SecurityIdentifier.

cryptoKeyRights
CryptoKeyRights

The cryptographic key operation for which this audit rule generates audits.

flags
AuditFlags

The conditions that generate audits.

Applies to

CryptoKeyAuditRule(String, CryptoKeyRights, AuditFlags)

Initializes a new instance of the CryptoKeyAuditRule class using the specified values.

public:
 CryptoKeyAuditRule(System::String ^ identity, System::Security::AccessControl::CryptoKeyRights cryptoKeyRights, System::Security::AccessControl::AuditFlags flags);
public CryptoKeyAuditRule (string identity, System.Security.AccessControl.CryptoKeyRights cryptoKeyRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.CryptoKeyAuditRule : string * System.Security.AccessControl.CryptoKeyRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.CryptoKeyAuditRule
Public Sub New (identity As String, cryptoKeyRights As CryptoKeyRights, flags As AuditFlags)

Parameters

identity
String

The identity to which the audit rule applies.

cryptoKeyRights
CryptoKeyRights

The cryptographic key operation for which this audit rule generates audits.

flags
AuditFlags

The conditions that generate audits.

Applies to