Global settings for IPsec.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class MSFT_NetSecuritySettingData : MSFT_NetSettingData
{
uint16 EnableStatefulFtp;
uint16 EnableStatefulPptp;
uint16 Profile;
uint16 CertValidationLevel;
uint32 MaxSAIdleTimeSeconds;
uint16 AllowIPsecThroughNAT;
uint16 KeyEncoding;
uint32 Exemptions;
uint16 RequireFullAuthSupport;
string RemoteMachineTunnelAuthorizationList;
string RemoteUserTunnelAuthorizationList;
string RemoteMachineTransportAuthorizationList;
string RemoteUserTransportAuthorizationList;
uint16 EnablePacketQueuing;
string InstanceID;
string Caption;
string Description;
string ElementName;
};
Members
The MSFT_NetSecuritySettingData class has these types of members:
Properties
The MSFT_NetSecuritySettingData class has these properties.
AllowIPsecThroughNAT
Data type: uint16
Access type: Read-only
When IPsec is in use, extra work is required to enable NAT traversal. This setting indicates on which side NAT traversal should be attempted.
None (0)
Server (1)
Both (2)
NotConfigured (65535 )
Caption
Data type: string
Access type: Read-only
Used in CimInstance.ToString(). A short string for describing this instance when debugging.
CertValidationLevel
Data type: uint16
Access type: Read-only
Specifies which kinds of certificate problems should cause a certificate to be rejected.
None (0)
Attempt CRL Check (1)
Require CRL Check (2)
NotConfigured (65535 )
Description
Data type: string
Access type: Read-only
This field is ignored.
ElementName
Data type: string
Access type: Read-only
This field is ignored.
EnablePacketQueuing
Data type: uint16
Access type: Read-only
Toggle IPSec queuing of packets for RSS-like functionality
NotConfigured (0)
Receive (1)
Forward (2)
EnableStatefulFtp
Data type: uint16
Access type: Read-only
Whether to enable stateful FTP.
False (0)
True (1)
NotConfigured (2 )
EnableStatefulPptp
Data type: uint16
Access type: Read-only
Whether to enable stateful PPTP.
False (0)
True (1)
NotConfigured (2 )
Exemptions
Data type: uint32
Access type: Read-only
Traffic exemptions
None (0)
NeighborDiscovery (1)
Icmp (2)
RouterDiscovery (4)
Dhcp (8)
NotConfigured (4294967295)
InstanceID
Data type: string
Access type: Read-only
Reserved for internal use by the WMI provider only
KeyEncoding
Data type: uint16
Access type: Read-only
How to encode Pre-Shared Keys.
UTF-16 (0)
UTF-8 (1)
NotConfigured (65535 )
MaxSAIdleTimeSeconds
Data type: uint32
Access type: Read-only
The maximum length of time, in seconds, that an SA may be idle before it will be torn down. 0 means Not Configured.
Profile
Data type: uint16
Access type: Read-only
Current profile. This is only valid in the ActiveStore.
None (0)
Public (0x4)
Private (0x2)
Domain (0x1)
Not Applicable (0xffff )
RemoteMachineTransportAuthorizationList
Data type: string
Access type: Read-only
SDDL for remote machine transport SA authorization
RemoteMachineTunnelAuthorizationList
Data type: string
Access type: Read-only
SDDL for remote machine tunnel SA authorization
RemoteUserTransportAuthorizationList
Data type: string
Access type: Read-only
SDDL for remote user transport SA authorization
RemoteUserTunnelAuthorizationList
Data type: string
Access type: Read-only
SDDL for remote user tunnel SA authorization
RequireFullAuthSupport
Data type: uint16
Access type: Read-only
Opportunistically match full auth set per key module
False (0)
True (1)
NotConfigured (2 )
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 |
| Minimum supported server | Windows Server 2012 |
| Namespace | Root\StandardCimv2 |
| MOF | WFasCim.mof |
| DLL | WFasCim.dll |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors (upstream author metadata: windowssdkdev). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
