Interface UrlSigningProvider
- All Known Implementing Classes:
AbstractUrlSigningProvider,GenericUrlSigningProvider,WowzaUrlSigningProvider
public interface UrlSigningProvider
-
Method Summary
-
Method Details
-
accepts
Returns true if the implementation accepts to sign thebaseUrl.- Parameters:
baseUrl- The base URL of the resource that needs to be signed- Returns:
- True, if the provider accepts to sign the URL; false otherwise.
-
sign
Creates the necessary query string to sign a resource using the givenPolicy- Parameters:
policy- ThePolicyto sign.- Returns:
- A query string with the signed policy encoded ready for delivery
- Throws:
UrlSigningException- Thrown if unable to sign the url.
-