Class AbstractKeyStoreParam

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractKeyStoreParam​(java.lang.Class clazz, java.lang.String resource)
      Creates a new instance of AbstractKeyStoreParam which will look up the given resource using the classloader of the given class when calling getStream().
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Returns true if and only if these key store parameters seem to address the same key store entry as the given object.
      java.io.InputStream getStream()
      Looks up the resource provided to the constructor using the classloader provided to the constructor and returns it as an InputStream.
      int hashCode()  
      • Methods inherited from class java.lang.Object

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

      • AbstractKeyStoreParam

        protected AbstractKeyStoreParam​(java.lang.Class clazz,
                                        java.lang.String resource)
        Creates a new instance of AbstractKeyStoreParam which will look up the given resource using the classloader of the given class when calling getStream().
    • Method Detail

      • getStream

        public java.io.InputStream getStream()
                                      throws java.io.IOException
        Looks up the resource provided to the constructor using the classloader provided to the constructor and returns it as an InputStream.
        Specified by:
        getStream in interface KeyStoreParam
        Throws:
        java.io.IOException - If the key store cannot get opened.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Returns true if and only if these key store parameters seem to address the same key store entry as the given object.
        Overrides:
        equals in class java.lang.Object