ValidateSignedUri Method
Definition
- Namespace
- Cuemon.Extensions.Net.Security
- Assemblies
- Cuemon.Extensions.Net.dll
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
signedUriUriThe signed URI that needs to be validated.
secretbyte[]The secret key for the encryption.
setupAction<SignedUriOptions>The SignedUriOptions which may be configured.
Exceptions
- SecurityException
signedUridid not have a signature specified - or -signedUrihas an invalid signature.
- See Also