public class XMLEInit
extends java.lang.Object
| Constructor and Description |
|---|
XMLEInit(java.io.InputStream initProperties)
Deprecated.
As of JTK 6.1; Use
XMLEInit(iaik.ixsil.util.URI initPropertiesLocation) instead.
|
XMLEInit(URI initPropertiesLocation)
Initializes the toolkit to perform encryption or decryption of XML documents.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getAlgorithmProperty(java.lang.String key)
Searches for an element among the encryption algorithm properties.
|
static java.lang.String |
getInitProperty(java.lang.String key)
Searches for the value (corresponding to a key) in the XMLE properties.
|
public XMLEInit(java.io.InputStream initProperties)
throws XMLEInitException
initProperties - an InputStream that contains the various attributes
and mappings required by the Toolkit's XML librariesXMLEInitException - if the properties cannot be loadedpublic XMLEInit(URI initPropertiesLocation) throws XMLEInitException
initPropertiesLocation - a URI object specifying the XMLE
init.properties file. If you specify a relative URI
(with no scheme, http or file, for example) the properties file is
expected to be in the class path.XMLEInitException - if the properties cannot be loadedpublic static java.lang.String getAlgorithmProperty(java.lang.String key)
throws XMLEInitException
The Toolkit uses this method internally and an application should not need to invoke it.
key - contains the key for the algorithm property value to be returnedkey
argumentXMLEInitException - if property could not be looked up.public static java.lang.String getInitProperty(java.lang.String key)
throws XMLEInitException
The Toolkit uses this method internally and the application should not need to invoke it.
key - the key corresponding to the value requiredkeyXMLEInitException - if the property was not found