Package 

Class AppSignature


  • 
    public class AppSignature
    
                        

    Utility class for generating and decoding HMAC-based signatures. The signatures are used to ensure the integrity and authenticity of data.

    • Method Summary

      Modifier and Type Method Description
      static String generateSignature(String url) Generates a HMAC signature based on the given URL.
      static String decodeSignature(String encodedSignature) Decodes a Base64 encoded HMAC signature.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • generateSignature

         static String generateSignature(String url)

        Generates a HMAC signature based on the given URL.

        Parameters:
        url - The URL to be signed.
      • decodeSignature

         static String decodeSignature(String encodedSignature)

        Decodes a Base64 encoded HMAC signature.

        Parameters:
        encodedSignature - The Base64 encoded HMAC signature to be decoded.