PolicyServerClient Constructor |
Namespace:
PKI.Enrollment.Policy
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public PolicyServerClient(
string url,
bool userContext,
PolicyAuthenticationEnum authentication,
string userName,
SecureString password
)
Public Sub New (
url As String,
userContext As Boolean,
authentication As PolicyAuthenticationEnum,
userName As String,
password As SecureString
)
public:
PolicyServerClient(
String^ url,
bool userContext,
PolicyAuthenticationEnum authentication,
String^ userName,
SecureString^ password
)
new :
url : string *
userContext : bool *
authentication : PolicyAuthenticationEnum *
userName : string *
password : SecureString -> PolicyServerClient
Parameters
- url
- Type: SystemString
Specifies the certificate enrollment policy server endpoint URL. - userContext
- Type: SystemBoolean
Specifies whether the policy is intended for user or computer context. - authentication
- Type: PKI.Enrollment.PolicyPolicyAuthenticationEnum
Specifies the authentication type used for the policy server. - userName
- Type: SystemString
Specifies the user name to authenticate in enrollment policy server.
If the authentication type is set to ClientCertificate, this parameter must contains
authentication certificate's thumbprint.
This parameter must be omitted when Kerberos authentication is used.
- password
- Type: System.SecuritySecureString
Specifies the password to authenticate in enrollment policy server.
This parameter must be used only when UserNameAndPassword authentication
method is used. This parameter must be omitted in all other authentication methods.
Exceptions See Also