public class Cryptix
extends java.security.Provider
SECURITY: In JavaSoft's version of JCE, Provider indirectly extends
Hashtable, which means that it would normally be possible to call
the put
, remove
or clear
methods to change properties without any security check (also the
load
method from Properties). This is arguably a design
bug in JCA and/or the Properties class.
This class works around the potential security problem by not using the Hashtable superclass. Instead it delegates to CryptixProperties.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.7 $
Modifier and Type | Field and Description |
---|---|
(package private) static long |
serialVersionUID |
Constructor and Description |
---|
Cryptix()
Constructs a Cryptix security provider object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProperty(java.lang.String key) |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue) |
void |
list(java.io.PrintStream out) |
void |
list(java.io.PrintWriter out) |
java.util.Enumeration |
propertyNames() |
void |
save(java.io.OutputStream os,
java.lang.String comment) |
java.lang.String |
toString() |
clear, elements, entrySet, get, getInfo, getName, getService, getServices, getVersion, keys, keySet, load, put, putAll, putService, remove, removeService, values
load, loadFromXML, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
static final long serialVersionUID
public java.lang.String toString()
toString
in class java.security.Provider
public void save(java.io.OutputStream os, java.lang.String comment)
save
in class java.util.Properties
public java.lang.String getProperty(java.lang.String key)
getProperty
in class java.security.Provider
public java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
getProperty
in class java.util.Properties
public java.util.Enumeration propertyNames()
propertyNames
in class java.util.Properties
public void list(java.io.PrintStream out)
list
in class java.util.Properties
public void list(java.io.PrintWriter out)
list
in class java.util.Properties