ValidateSignedUri Method
Definition
- Namespace
- Cuemon.Extensions.Net.Security
- Assemblies
- Cuemon.Extensions.Net.dll
ValidateSignedUri(string, byte[], Action<SignedUriOptions>)
Reads and validates the specified signedUriString.
public static void ValidateSignedUri(this string signedUriString, byte[] secret, Action<SignedUriOptions> setup = null)
Parameters
signedUriStringstringThe signed URI that needs to be validated.
secretbyte[]The secret key for the encryption.
setupAction<SignedUriOptions>The SignedUriOptions which may be configured.
Exceptions
- SecurityException
signedUriStringhas an invalid signature.
- See Also