MSFT_NetMainModeSA 类
MainMode SA。
以下语法从托管对象格式 (MOF) 代码简化,并包括所有继承的属性。
class MSFT_NetMainModeSA : CIM_IKESAEndpoint
{
uint16 KeyModule;
string LocalEndpoint;
string RemoteEndpoint;
uint32 MaxQMSAs;
string LocalFirstId;
string LocalSecondId;
string RemoteFirstId;
string RemoteSecondId;
string OtherGroupId;
uint64 ExtendedFilterId;
uint16 LocalUdpEncapsulationPort;
uint16 RemoteUdpEncapsulationPort;
string IkePolicyKey;
uint64 VirtualIfTunnelId;
uint16 AuthenticationMethod;
uint16 CipherAlgorithm;
uint16 GroupId;
uint16 HashAlgorithm;
uint64 InitiatorCookie;
string OtherAuthenticationMethod;
string OtherCipherAlgorithm;
string OtherHashAlgorithm;
uint64 ResponderCookie;
string VendorID;
uint64 IdleDurationSeconds;
uint64 LifetimeKilobytes;
uint64 LifetimeSeconds;
boolean PacketLoggingActive;
uint8 RefreshThresholdSecondsPercentage;
uint8 RefreshThresholdKbytesPercentage;
string NameFormat;
string OtherTypeDescription;
uint16 ProtocolIFType;
uint16 ProtocolType;
string SystemCreationClassName;
string SystemName;
string CreationClassName;
string Name;
uint16 AvailableRequestedStates[];
uint16 EnabledDefault;
uint16 EnabledState;
string OtherEnabledState;
uint16 RequestedState;
datetime TimeOfLastStateChange;
uint16 TransitioningToState;
datetime InstallDate;
uint16 OperationalStatus[];
string StatusDescriptions[];
string Status;
uint16 HealthState;
uint16 CommunicationStatus;
uint16 DetailedStatus;
uint16 OperatingStatus;
uint16 PrimaryStatus;
string InstanceID;
string Caption;
string Description;
string ElementName;
};
MSFT_NetMainModeSA 类具有以下类型的成员:
MSFT_NetMainModeSA 类具有以下属性。
-
AuthenticationMethod
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
AvailableRequestedStates
-
-
数据类型:uint16 数组
-
访问类型:只读
忽略此字段。
-
-
标题
-
-
数据类型:字符串
-
访问类型:只读
在 CimInstance.ToString() 中使用。 用于在调试时描述此实例的简短字符串。
-
-
CipherAlgorithm
-
-
数据类型:uint16
-
访问类型:只读
SA 使用的实际加密算法。
-
无 (0)
-
DES (2)
-
3DES (6)
-
AES-128 (65001)
-
AES-192 (65002)
-
AES-256 (65003)
-
AES-GCM-128 (65004)
-
AES-GCM-192 (65005)
-
AES-GCM-256 (65006)
-
-
CommunicationStatus
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
CreationClassName
-
-
数据类型:字符串
-
访问类型:只读
仅供 WMI 提供程序内部使用。
-
-
说明
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
DetailedStatus
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
ElementName
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
EnabledDefault
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
EnabledState
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
ExtendedFilterId
-
-
数据类型:uint64
-
访问类型:只读
与扩展模式筛选器匹配的 QM 策略中的筛选器 ID
-
-
GroupId
-
-
数据类型:uint16
-
访问类型:只读
属性 GroupId 提供阶段 1 安全关联密钥交换组。 来自RFC2412的已知组标识符(附录 E)包括:组 1='768 位质素'、组 2='1024 位质素'、组 3 ='带 155 位字段元素的椭圆曲线组'、组 4= '具有 185 位字段元素的大型椭圆曲线组'和组 5='1536 位质素'。 请注意,Windows 8 中只能接受组 1、2、14、19、20 和 24。
-
无 (0)
-
DH 组 1 (1)
-
DH 组 2 (2)
-
DH 组 14 (14)
-
DH 组 19 (19)
-
DH 组 20 (20)
-
DH 组 24 (24)
-
-
HashAlgorithm
-
-
数据类型:uint16
-
访问类型:只读
SA 使用的实际哈希算法。
-
无 (0)
-
MD5 (2)
-
SHA-1 (3)
-
SHA-256 (65001)
-
SHA-384 (65002)
-
AES-GMAC-128 (65003)
-
AES-GMAC-192 (65004)
-
AES-GMAC-256 (65005)
-
-
HealthState
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
IdleDurationSeconds
-
-
数据类型:uint64
-
访问类型:只读
忽略此字段。
-
-
IkePolicyKey
-
-
数据类型:字符串
-
访问类型:只读
与此 SA 对应的主模式策略提供程序上下文的 GUID
-
-
发起程序Cookie
-
-
数据类型:uint64
-
访问类型:只读
忽略此字段。
-
-
InstallDate
-
-
数据类型:datetime
-
访问类型:只读
忽略此字段。
-
-
InstanceID
-
-
数据类型:字符串
-
访问类型:只读
在 PolicyStore 中唯一标识此实例的字符串。
-
-
KeyModule
-
-
数据类型:uint16
-
访问类型:只读
用于协商 SA 及其子 SA 的密钥模块。
-
-
LifetimeKilobytes
-
-
数据类型:uint64
-
访问类型:只读
忽略此字段。
-
-
LifetimeSeconds
-
-
数据类型:uint64
-
访问类型:只读
忽略此字段。
-
-
LocalEndpoint
-
-
数据类型:字符串
-
访问类型:只读
SA 适用的本地终结点的地址。
-
-
LocalFirstId
-
-
数据类型:字符串
-
访问类型:只读
第一个身份验证本地标识
-
-
LocalSecondId
-
-
数据类型:字符串
-
访问类型:只读
第二个身份验证本地标识
-
-
LocalUdpEncapsulationPort
-
-
数据类型:uint16
-
访问类型:只读
用于 NAT-T 的本地 UDP 封装端口
-
-
MaxQMSA
-
-
数据类型:uint32
-
访问类型:只读
在重新协商之前,可以使用此 SA 建立的最大快速模式 SA 数。
-
-
名称
-
-
数据类型:字符串
-
访问类型:只读
仅供 WMI 提供程序内部使用。
-
-
NameFormat
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
OperatingStatus
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
OperationalStatus
-
-
数据类型:uint16 数组
-
访问类型:只读
忽略此字段。
-
-
OtherAuthenticationMethod
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
OtherCipherAlgorithm
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
OtherEnabledState
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
OtherGroupId
-
-
数据类型:字符串
-
访问类型:只读
GroupId 的扩展
-
-
OtherHashAlgorithm
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
OtherTypeDescription
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
PacketLoggingActive
-
-
数据类型:布尔
-
访问类型:只读
忽略此字段。
-
-
PrimaryStatus
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
ProtocolIFType
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
ProtocolType
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
RefreshThresholdKbytesPercentage
-
-
数据类型:uint8
-
访问类型:读/写
-
限定符:MinValue (0)、 MaxValue (100), Override (“RefreshThresholdKbytesPercentage”)
此属性将被忽略。
-
-
RefreshThresholdSecondsPercentage
-
-
数据类型:uint8
-
访问类型:读/写
-
限定符:MinValue (0)、 MaxValue (100), Override (“RefreshThresholdSecondsPercentage”)
此属性将被忽略。
-
-
RemoteEndpoint
-
-
数据类型:字符串
-
访问类型:只读
SA 适用的远程终结点的地址。
-
-
RemoteFirstId
-
-
数据类型:字符串
-
访问类型:只读
第一个身份验证远程标识
-
-
RemoteSecondId
-
-
数据类型:字符串
-
访问类型:只读
第二个身份验证远程标识
-
-
RemoteUdpEncapsulationPort
-
-
数据类型:uint16
-
访问类型:只读
用于 NAT-T 的远程 UDP 封装端口
-
-
RequestedState
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
响应者Cookie
-
-
数据类型:uint64
-
访问类型:只读
忽略此字段。
-
-
状态
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
StatusDescriptions
-
-
数据类型:字符串 数组
-
访问类型:只读
忽略此字段。
-
-
SystemCreationClassName
-
-
数据类型:字符串
-
访问类型:只读
仅供 WMI 提供程序内部使用。
-
-
SystemName
-
-
数据类型:字符串
-
访问类型:只读
仅供 WMI 提供程序内部使用。
-
-
TimeOfLastStateChange
-
-
数据类型:datetime
-
访问类型:只读
忽略此字段。
-
-
TransitioningToState
-
-
数据类型:uint16
-
访问类型:只读
忽略此字段。
-
-
VendorID
-
-
数据类型:字符串
-
访问类型:只读
忽略此字段。
-
-
VirtualIfTunnelId
-
-
数据类型:uint64
-
访问类型:只读
虚拟接口隧道状态的 ID/句柄
-
支持的最低客户端 |
Windows 8 |
支持的最低服务器 |
Windows Server 2012 |
Namespace |
Root\StandardCimv2 |
MOF |
|
DLL |
|