com.mucommander.io.security
Class MuProvider

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by java.security.Provider
                  extended by com.mucommander.io.security.MuProvider
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class MuProvider
extends java.security.Provider

This custom java.security.Provider exposes muCommander's own MessageDigest implementations, and the ones used aggregated from third party libraries.

The registerProvider() method should be called once to register this Provider with the Java Cryptography Extension and advertise the additional MessageDigest implementations.

Author:
Maxence Bernard
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.security.Provider
java.security.Provider.Service
 
Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Method Summary
static void registerProvider()
          Registers an instance of this Provider with the java.security.Security class, to expose the additional MessageDigest implementations and have them returned by java.security.Security.getAlgorithms("MessageDigest").
 
Methods inherited from class java.security.Provider
clear, elements, entrySet, get, getInfo, getName, getProperty, getService, getServices, getVersion, keys, keySet, load, put, putAll, putService, remove, removeService, toString, values
 
Methods inherited from class java.util.Properties
getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, size
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

registerProvider

public static void registerProvider()
Registers an instance of this Provider with the java.security.Security class, to expose the additional MessageDigest implementations and have them returned by java.security.Security.getAlgorithms("MessageDigest"). This method should be called once



This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard