/// <summary>
 /// Constructs an instance of the KeyProvider_SspiClient class.
 /// </summary>
 /// <param name="requiredFeatures">SSPI features that will be provided by the security session.</param>
 /// <param name="packageName">The name of the used SSPI package.</param>
 /// <param name="authIdentity">The authentication identity used during authentication.</param>
 /// <param name="targetName">The name of the server which will be the target of the context. See description of the InitializeSecurityContext function in Platform SDK Security.</param>
 /// <param name="delegatedContext">The context being delegated to the destination host.</param>
 public KeyProvider_SspiClient(SspiFeatureFlags requiredFeatures, SupportedSspiPackages packageName, NetworkCredential authIdentity, string targetName, SecuritySession_SspiServer delegatedContext)
 {
     this.RequiredFeatures = requiredFeatures;
     this.PackageName = Enum.Format(typeof(SupportedSspiPackages), packageName, "f");
     this.AuthIdentity = authIdentity;
     this.ServerName = targetName;
     this.DelegatedContext = delegatedContext;
 }
 /// <summary>
 /// Constructs an instance of the KeyProvider_SspiClient class.
 /// </summary>
 /// <param name="requiredFeatures">SSPI features that will be provided by the security session.</param>
 /// <param name="packageName">The name of the used SSPI package.</param>
 /// <param name="authIdentity">The authentication identity used during authentication.</param>
 /// <param name="targetName">The name of the server which will be the target of the context. See description of the InitializeSecurityContext function in Platform SDK Security.</param>
 /// <param name="delegatedContext">The context being delegated to the destination host.</param>
 public KeyProvider_SspiClient(SspiFeatureFlags requiredFeatures, SupportedSspiPackages packageName, NetworkCredential authIdentity, string targetName, SecuritySession_SspiServer delegatedContext)
 {
     this.RequiredFeatures = requiredFeatures;
     this.PackageName      = Enum.Format(typeof(SupportedSspiPackages), packageName, "f");
     this.AuthIdentity     = authIdentity;
     this.ServerName       = targetName;
     this.DelegatedContext = delegatedContext;
 }