com.ibm.tivoli.maximo.map

Class UrlSigner

  • java.lang.Object
    • com.ibm.tivoli.maximo.map.UrlSigner


  • public class UrlSigner
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      UrlSigner(java.lang.String keyString) 
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args) 
      java.lang.String[] signRequest(java.lang.String path, java.lang.String query) 
      • Methods inherited from class java.lang.Object

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

      • UrlSigner

        public UrlSigner(java.lang.String keyString)
                  throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.io.IOException,
                                java.security.InvalidKeyException,
                                java.security.NoSuchAlgorithmException,
                                java.net.URISyntaxException
        Throws:
        java.io.IOException
        java.security.InvalidKeyException
        java.security.NoSuchAlgorithmException
        java.net.URISyntaxException
      • signRequest

        public java.lang.String[] signRequest(java.lang.String path,
                                              java.lang.String query)
                                       throws java.security.NoSuchAlgorithmException,
                                              java.security.InvalidKeyException,
                                              java.io.UnsupportedEncodingException,
                                              java.net.URISyntaxException
        Throws:
        java.security.NoSuchAlgorithmException
        java.security.InvalidKeyException
        java.io.UnsupportedEncodingException
        java.net.URISyntaxException