Represents a crypto suite to propose in quick mode.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class MSFT_NetIKEQMCryptoProposal : MSFT_NetIKECryptoProposal
{
uint16 HashAlgorithmAH;
uint16 HashAlgorithmESP;
uint16 Encapsulation;
uint32 MaxLifetimeMinutes;
uint16 AuthenticationMethod;
uint16 CipherAlgorithm;
uint64 MaxLifetimeSeconds;
uint64 MaxLifetimeKilobytes;
string OtherCipherAlgorithm;
uint16 HashAlgorithm;
string OtherHashAlgorithm;
string OtherAuthenticationMethod;
uint16 GroupId;
string VendorID;
string InstanceID;
string Caption;
string Description;
string ElementName;
};
Members
The MSFT_NetIKEQMCryptoProposal class has these types of members:
Properties
The MSFT_NetIKEQMCryptoProposal class has these properties.
AuthenticationMethod
Data type: uint16
Access type: Read-only
Specifies the proposed authentication. The list of methods was generated from Appendix A of RFC2409. Note that the enumeration is different than the RFC list and aligns with the values in IKESAEndpoint.AuthenticationMethod.
Pre-shared Key (2)
Anonymous (65001)
Kerberos (machine as principal) (65002)
NTLM (machine as principal) (65003)
Kerberos (user as principal) (65004)
NTLM (user as principal) (65005)
X.509 Certificates (machine as principal) (65005)
X.509 Certificates (user as principal) (65007)
X.509 Certificates (machine health) (65008 )
Caption
Data type: string
Access type: Read-only
This field is ignored.
CipherAlgorithm
Data type: uint16
Access type: Read-only
Specifies the proposed encryption algorithm.
None (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 )
Description
Data type: string
Access type: Read-only
This field is ignored.
ElementName
Data type: string
Access type: Read-only
This field is ignored.
Encapsulation
Data type: uint16
Access type: Read-only
What type of encapsulation to use.
AH (1)
ESP (2)
AH/ESP (3)
None (0 )
GroupId
Data type: uint16
Access type: Read-only
This field is ignored.
HashAlgorithm
Data type: uint16
Access type: Read-only
This field is ignored.
HashAlgorithmAH
Data type: uint16
Access type: Read-only
Hash algorithm to use in AH.
None (0)
MD5 (2)
SHA-1 (3)
SHA-256 (65001)
SHA-384 (65002)
AES-GMAC-128 (65003)
AES-GMAC-192 (65004)
AES-GMAC-256 (65005 )
HashAlgorithmESP
Data type: uint16
Access type: Read-only
Hash algorithm to use in ESP.
None (0)
MD5 (2)
SHA-1 (3)
SHA-256 (65001)
SHA-384 (65002)
AES-GMAC-128 (65003)
AES-GMAC-192 (65004)
AES-GMAC-256 (65005 )
InstanceID
Data type: string
Access type: Read-only
This field is ignored.
MaxLifetimeKilobytes
Data type: uint64
Access type: Read-only
The maximum lifetime for a Quick-Mode SA before it must be rekeyed, in kilobytes.
MaxLifetimeMinutes
Data type: uint32
Access type: Read-only
The maximum lifetime for a Quick-Mode SA before it must be rekeyed, in minutes.
MaxLifetimeSeconds
Data type: uint64
Access type: Read-only
This field is ignored.
OtherAuthenticationMethod
Data type: string
Access type: Read-only
This field is ignored.
OtherCipherAlgorithm
Data type: string
Access type: Read-only
This field is ignored.
OtherHashAlgorithm
Data type: string
Access type: Read-only
This field is ignored.
VendorID
Data type: string
Access type: Read-only
This field is ignored.
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.
