GetValidDACertificates method of the PS_RemoteAccessLocal class
This method retrieves a list of certificates for DirectAccess based on the purpose specified.
Syntax
uint32 GetValidDACertificates(
[in] uint32 Purpose,
[out] DACertificateContext EncodedCertificate[]
);
Parameters
-
Purpose [in]
-
The purpose for which this certificate will be used. The values are: 0 - None 1 - IP-HTTPS Certificate 2 - NLS Certificate 3 - IPsec Root Certificate 4 - IPsec Intermediate Certificate 5 - VPN.
-
0 (0)
-
1 (1)
-
2 (2)
-
3 (3)
-
4 (4)
-
5 (5)
EncodedCertificate [out]
On success, contains an array of DACertificateContext objects that correspond to the purpose specified in the input.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\RemoteAccess\server |
MOF |
|
DLL |
|