Table of Contents

ValidateSignedUri Method

Definition

Namespace
Cuemon.Extensions.Net.Security
Assemblies
Cuemon.Extensions.Net.dll
Source
src/Cuemon.Extensions.Net/Security/UriExtensions.cs

ValidateSignedUri(Uri, byte[], Action<SignedUriOptions>)

Reads and validates the specified signedUri.

public static void ValidateSignedUri(this Uri signedUri, byte[] secret, Action<SignedUriOptions> setup = null)

Parameters

signedUri Uri

The signed URI that needs to be validated.

secret byte[]

The secret key for the encryption.

setup Action<SignedUriOptions>

The SignedUriOptions which may be configured.

Exceptions

SecurityException

signedUri did not have a signature specified - or - signedUri has an invalid signature.

See Also