MSiSCSI_SecurityCapabilities WMI 类

MSiSCSI_SecurityCapabilities WMI 类描述发起程序的安全功能。

如果微型端口驱动程序管理的 HBA 支持 IPsec,则必须实现 MSiSCSI_SecurityCapabilities 类。

由于 MSiSCSI_SecurityCapabilities 类与存储微型端口驱动程序的特定实例相关联,因此微型端口驱动程序必须使用微型端口驱动程序管理的特定物理设备对象的名称 (PDO) 注册类。

MSiSCSI_SecurityCapabilities 类在 Config.mof 中定义。

class MSiSCSI_SecurityCapabilities {
  [key] string  InstanceName;
  boolean  Active;
  [read, DisplayName("Protect iSCSI") : amended, 
    WmiDataId(1), description("TRUE if the HBA can use IPsec 
    to protect iSCSI traffic") : amended]
    boolean  ProtectiScsiTraffic;
  [read, WmiDataId(2), DisplayName("Protect iSNS") : 
    amended, description("TRUE if the HBA can use IPsec to 
    protect iSNS traffic") : amended] 
    boolean  ProtectiSNSTraffic;
  [read, WmiDataId(3), DisplayName("Certificates Supported") 
    : amended, description("TRUE if HBA supports 
    certificates") : amended] 
    boolean  CertificatesSupported;
  [read, WmiDataId(4), DisplayName("Encryption Types 
    Available") : amended, description("Count of encryption 
    types available")] 
    uint32  EncryptionAvailableCount;
  [read, WmiDataId(5), 
    WmiSizeIs("EncryptionAvailableCount"), 
    ENCRYPTION_TYPES_QUALIFIERS, DisplayName("Encryption 
    Types") : amended] 
    uint32  EncryptionAvailable[];
};

当 WMI 工具套件编译上述类定义时,它将生成 MSiSCSI_SecurityCapabilities 数据结构。