Represents a crypto suite to propose in main mode.
The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.
Syntax
class MSFT_NetIKEMMCryptoProposal : MSFT_NetIKECryptoProposal
{
uint16 AuthenticationMethod;
uint16 CipherAlgorithm;
uint16 HashAlgorithm;
uint16 GroupID;
uint64 MaxLifetimeSeconds;
uint64 MaxLifetimeKilobytes;
string OtherCipherAlgorithm;
string OtherHashAlgorithm;
string OtherAuthenticationMethod;
string VendorID;
string InstanceID;
string Caption;
string Description;
string ElementName;
};
Members
The MSFT_NetIKEMMCryptoProposal class has these types of members:
Properties
The MSFT_NetIKEMMCryptoProposal 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.
GroupID
Data type: uint16
Access type: Read-only
The property GroupId specifies the proposed phase 1 security association key exchange group. Well-known group identifiers from RFC2412, Appendix E, are: Group 1='768 bit prime', Group 2='1024 bit prime', Group 3 ='Elliptic Curve Group with 155 bit field element', Group 4= 'Large Elliptic Curve Group with 185 bit field element', and Group 5='1536 bit prime'. Note that only groups 1, 2, 14, 19, 20, and 24 are acceptable in Windows 8.
None (0)
DH Group 1 (1)
DH Group 2 (2)
DH Group 14 (14)
DH Group 19 (19)
DH Group 20 (20)
DH Group 24 (24 )
HashAlgorithm
Data type: uint16
Access type: Read-only
Specifies the proposed hash algorithm.
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
This field is ignored.
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.
