Class JSSProvider

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

    public final class JSSProvider
    extends java.security.Provider
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.security.Provider

        java.security.Provider.Service
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean ENABLE_JSSENGINE  
      • Fields inherited from class java.util.Properties

        defaults
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.Provider configure​(java.lang.String arg)
      Configure this instance of JSSProvider with the specified path to a JSS configuration properties file.
      CryptoManager getCryptoManager()
      Return the CryptoManager this instance was initialized with.
      static java.util.List<java.lang.String> getDeprecatedAlgortihms()  
      java.security.Provider.Service getService​(java.lang.String type, java.lang.String algorithm)  
      protected void initializeProvider()  
      static boolean isAlgorithmDeprecated​(java.lang.String algorithm)  
      java.lang.String toString()  
      • Methods inherited from class java.security.Provider

        clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, values
      • Methods inherited from class java.util.Properties

        clone, contains, containsKey, containsValue, equals, getProperty, hashCode, isEmpty, list, list, load, loadFromXML, propertyNames, rehash, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ENABLE_JSSENGINE

        public static boolean ENABLE_JSSENGINE
    • Constructor Detail

      • JSSProvider

        public JSSProvider()
      • JSSProvider

        public JSSProvider​(boolean initialize)
      • JSSProvider

        public JSSProvider​(java.lang.String config_path)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • JSSProvider

        public JSSProvider​(java.io.InputStream config)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • configure

        public java.security.Provider configure​(java.lang.String arg)
        Configure this instance of JSSProvider with the specified path to a JSS configuration properties file. See JSSLoader's class description for a description of the JSS configuration properties file and known values. If the JSSProvider is already loaded, this is a no-op.
        Overrides:
        configure in class java.security.Provider
      • getCryptoManager

        public CryptoManager getCryptoManager()
        Return the CryptoManager this instance was initialized with.
      • getService

        public java.security.Provider.Service getService​(java.lang.String type,
                                                         java.lang.String algorithm)
        Overrides:
        getService in class java.security.Provider
      • isAlgorithmDeprecated

        public static boolean isAlgorithmDeprecated​(java.lang.String algorithm)
      • getDeprecatedAlgortihms

        public static java.util.List<java.lang.String> getDeprecatedAlgortihms()
      • initializeProvider

        protected void initializeProvider()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.security.Provider