cryptix.provider
Class Cryptix
public class Cryptix
extends Provider
This class acts as a security provider for the Java Cryptography
Architecture. The mapping between cipher names and classes is stored
in the
Cryptix.properties file (see
CryptixProperties).
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 $
- David Hopwood
- Jill Baker
- Raif S. Naffah
Cryptix() - Constructs a Cryptix security provider object.
|
serialVersionUID
(package private) static final long serialVersionUID
Cryptix
public Cryptix()
Constructs a Cryptix security provider object.
getProperty
public String getProperty(String key)
getProperty
public String getProperty(String key,
String defaultValue)
list
public void list(PrintStream out)
list
public void list(PrintWriter out)
propertyNames
public Enumeration propertyNames()
save
public void save(OutputStream os,
String comment)
toString
public String toString()