Namespace Cuemon.Extensions.Net.Security
The Cuemon.Extensions.Net.Security
namespace contains extension methods that provides a generic way to make a Uniform Resource Identifier signed and tampering protected. This could be used to make your own lightweight concept of a Azure shared access signatures (SAS). Originally part of Cuemon .NET Framework: https://github.com/gimlichael/CuemonNetFramework/blob/master/Cuemon.Web/Security/WebSecurityUtility.cs. Greatly simplified anno 2020.
Availability: .NET 9, .NET 8 and .NET Standard 2.0
Extension Methods
Type | Ext | Methods |
---|---|---|
String | ⬇️ | ToSignedUri , ValidateSignedUri |
Uri | ⬇️ | ToSignedUri , ValidateSignedUri |
Classes
SignedUriOptions
Configuration options for ToSignedUri(String, Byte[], Nullable<DateTime>, Nullable<DateTime>, Action<SignedUriOptions>) and ToSignedUri(Uri, Byte[], Nullable<DateTime>, Nullable<DateTime>, Action<SignedUriOptions>).
StringExtensions
Extension methods for the String class.
UriExtensions
Extension methods for the Uri class.