TestimoX

API Reference

Class

TlsPolicyWriter

Namespace ComputerX.SecurityPolicy
Assembly ComputerX
Modifiers static

Writes TLS/SSL policy to the registry for a target host (protocol roles, hashes, ciphers, key‑exchange algorithms, cipher suites order, and FIPS mode). Requires administrative rights.

Inheritance

  • Object
  • TlsPolicyWriter

Methods

public static Boolean Set(String computerName, TlsPolicyState desired) #
Returns: Boolean

Applies the specified TLS/SSL policy to a computer by writing SCHANNEL registry keys.

Parameters

computerName System.String requiredposition: 0
Target host or null/empty for local machine.
desired ComputerX.SecurityPolicy.TlsPolicyState requiredposition: 1
Desired TLS policy state; null members are ignored.

Returns

True when all writes succeed; false if any registry operation fails.