Table of Contents

Namespace Cuemon.Extensions.Net.Security

Assembly: Cuemon.Extensions.Net.dll

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 8, .NET 7, .NET 6 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 System.String class.

UriExtensions

Extension methods for the System.Uri class.