Add unit tests for RabbitMq and Udp transport servers and clients
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
- Implemented comprehensive unit tests for RabbitMqTransportServer, covering constructor, disposal, connection management, event handlers, and exception handling. - Added configuration tests for RabbitMqTransportServer to validate SSL, durable queues, auto-recovery, and custom virtual host options. - Created unit tests for UdpFrameProtocol, including frame parsing and serialization, header size validation, and round-trip data preservation. - Developed tests for UdpTransportClient, focusing on connection handling, event subscriptions, and exception scenarios. - Established tests for UdpTransportServer, ensuring proper start/stop behavior, connection state management, and event handling. - Included tests for UdpTransportOptions to verify default values and modification capabilities. - Enhanced service registration tests for Udp transport services in the dependency injection container.
This commit is contained in:
@@ -5,9 +5,24 @@ namespace StellaOps.Cryptography;
|
||||
/// </summary>
|
||||
public static class HashAlgorithms
|
||||
{
|
||||
/// <summary>SHA-256 (256-bit). FIPS/eIDAS/KCMVP compliant.</summary>
|
||||
public const string Sha256 = "SHA256";
|
||||
|
||||
/// <summary>SHA-384 (384-bit). FIPS/eIDAS compliant.</summary>
|
||||
public const string Sha384 = "SHA384";
|
||||
|
||||
/// <summary>SHA-512 (512-bit). FIPS/eIDAS compliant.</summary>
|
||||
public const string Sha512 = "SHA512";
|
||||
|
||||
/// <summary>GOST R 34.11-2012 Stribog (256-bit). Russian compliance.</summary>
|
||||
public const string Gost3411_2012_256 = "GOST3411-2012-256";
|
||||
|
||||
/// <summary>GOST R 34.11-2012 Stribog (512-bit). Russian compliance.</summary>
|
||||
public const string Gost3411_2012_512 = "GOST3411-2012-512";
|
||||
|
||||
/// <summary>BLAKE3-256 (256-bit). Fast, parallelizable, used for graph content-addressing.</summary>
|
||||
public const string Blake3_256 = "BLAKE3-256";
|
||||
|
||||
/// <summary>SM3 (256-bit). Chinese GB/T 32905-2016 compliance.</summary>
|
||||
public const string Sm3 = "SM3";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user