SnapDB.Security Namespace

The SnapDB.Security namespace organizes all the common SnapDB library functionality related to security features, e.g., the HashMethod class.

Classes

DigestExtensions Helper extensions for IDigest types.
GenerateCertificate Generates X509Certificate2s.
Hash Provides utility methods for hashing data using various hash algorithms.
HashT Provides utility methods for hashing data using a specific hash algorithm of type T.
Hmac Provides utility methods for computing Hash-based Message Authentication Code (HMAC) values using various hash algorithms.
HmacT Provides utility methods for computing Hash-based Message Authentication Code (HMAC) values using a specific hash algorithm of type T.
NonceGenerator Used to generate Nonce values.
Pbkdf2 Implements a generic PBKDF2 DeriveBytes that will work from a custom cryptographic transform. Rfc2898DeriveBytes only implements a SHA-1 underlying hash function.
SaltGenerator Generates salt values.
SecureStream Provides utility methods for secure communication using SSL/TLS streams.
SecureStreamClientBase Creates a secure stream that connects to a server.
SecureStreamClientDefault Creates a secure stream that connects via the default credential
SecureStreamClientIntegratedSecurity Creates a secure stream that connects to a server using windows Integrated Security.
SecureStreamServerT A server host that manages a secure stream connection. This class is thread safe and can negotiate streams simultaneous.
SecurityExtensions Provides extension methods for enhancing security-related operations.

Structures

ReadonlyByteArray Provides a way for byte arrays to be added to sorted lists and dictionaries.

Enumerations

HashMethod The hash and hmac method that will be used for authentication protocols.
HmacMethod A series of HMAC implementations supported by .NET.