Package org.mozilla.jss
Class JSSProvider
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- java.security.Provider
-
- org.mozilla.jss.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
-
-
Field Summary
Fields Modifier and Type Field Description static booleanENABLE_JSSENGINE
-
Constructor Summary
Constructors Constructor Description JSSProvider()JSSProvider(boolean initialize)JSSProvider(java.io.InputStream config)JSSProvider(java.lang.String config_path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.Providerconfigure(java.lang.String arg)Configure this instance of JSSProvider with the specified path to a JSS configuration properties file.CryptoManagergetCryptoManager()Return the CryptoManager this instance was initialized with.protected voidinitializeProvider()java.lang.StringtoString()-
Methods inherited from class java.security.Provider
clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, getVersionStr, isConfigured, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, values
-
-
-
-
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:
configurein classjava.security.Provider
-
getCryptoManager
public CryptoManager getCryptoManager()
Return the CryptoManager this instance was initialized with.
-
initializeProvider
protected void initializeProvider()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.security.Provider
-
-