Property | Type | Description | |
---|---|---|---|
NativeLibPath | string | ||
TracePath | string |
Method | Description | |
---|---|---|
DisableNativeLibraryPreloading ( ) : void |
Disable preloading of the native C API library. The CLR will handle the binding of the library. This *must* be called before the start of the network thread, otherwise it won't have any effects. |
|
EnableNativeLibraryPreloading ( ) : void |
Enable automatic preloading of the native C API library. The operating system will handle the binding of the library This *must* be called before the start of the network thread, otherwise it won't have any effects. |
|
SetNativeLibPath ( string path ) : void |
Preload the native C API library from a specifc path (relative of absolute) where the fdb_c.dll library is located This *must* be called before the start of the network thread, otherwise it won't have any effects. You can specify the path to a library with a custom file name by making sure that path ends with ".dll". If not, then "fdb_c.dll" will be appended to the path. |
|
SetTLSCertificate ( Slice bytes ) : void |
Sets the path to the root certificate and public key for TLS connections This *must* be called before the start of the network thread, otherwise it won't have any effects. |
|
SetTLSCertificate ( string path ) : void |
Sets the path to the root certificate and public key for TLS connections This *must* be called before the start of the network thread, otherwise it won't have any effects. |
|
SetTLSPlugin ( string name ) : void |
Set the file path or linker-resolved name of the custom TLS plugin to load.
|
|
SetTLSPrivateKey ( Slice bytes ) : void |
Sets the path to the private key for TLS connections This must be called before the start of the network thread, otherwise it won't have any effects. |
|
SetTLSPrivateKey ( string path ) : void |
Sets the path to the private key for TLS connections This must be called before the start of the network thread, otherwise it won't have any effects. |
|
SetTlsVerificationPattern ( Slice pattern ) : void |
Sets the pattern with wich to verify certificates of TLS peers This must be called before the start of the network thread, otherwise it won't have any effects. |
|
SetTracePath ( string outputDirectory ) : void |
Sets the custom path where the logs will be stored This *must* be called before the start of the network thread, otherwise it won't have any effects. |
|
UseTLS ( Slice certificateBytes, Slice privateKeyBytes, Slice verificationPattern = default(Slice), string plugin = null ) : void |
Use TLS to secure the connections to the cluster
|
|
UseTLS ( string certificatePath, string privateKeyPath, Slice verificationPattern = default(Slice), string plugin = null ) : void |
Use TLS to secure the connections to the cluster
|
public static DisableNativeLibraryPreloading ( ) : void | ||
return | void |
public static EnableNativeLibraryPreloading ( ) : void | ||
return | void |
public static SetNativeLibPath ( string path ) : void | ||
path | string | |
return | void |
public static SetTLSCertificate ( Slice bytes ) : void | ||
bytes | Slice | |
return | void |
public static SetTLSCertificate ( string path ) : void | ||
path | string | |
return | void |
public static SetTLSPlugin ( string name ) : void | ||
name | string | |
return | void |
public static SetTLSPrivateKey ( Slice bytes ) : void | ||
bytes | Slice | |
return | void |
public static SetTLSPrivateKey ( string path ) : void | ||
path | string | |
return | void |
public static SetTlsVerificationPattern ( Slice pattern ) : void | ||
pattern | Slice | |
return | void |
public static SetTracePath ( string outputDirectory ) : void | ||
outputDirectory | string | |
return | void |
public static UseTLS ( Slice certificateBytes, Slice privateKeyBytes, Slice verificationPattern = default(Slice), string plugin = null ) : void | ||
certificateBytes | Slice | Content of the root certificate and public key |
privateKeyBytes | Slice | Content of the private key |
verificationPattern | Slice | Verification with which to verify certificates of TLS peers |
plugin | string | Optional file path or linker-resolved name of the custom TLS plugin to load |
return | void |
public static UseTLS ( string certificatePath, string privateKeyPath, Slice verificationPattern = default(Slice), string plugin = null ) : void | ||
certificatePath | string | Path to the root certificate and public key |
privateKeyPath | string | Path to the private key |
verificationPattern | Slice | Verification with which to verify certificates of TLS peers |
plugin | string | Optional file path or linker-resolved name of the custom TLS plugin to load |
return | void |