net.ninthtest.security.provider
Class NinthTestProvider

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by java.security.Provider
                  extended by net.ninthtest.security.provider.NinthTestProvider
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public final class NinthTestProvider
extends Provider

The NinthTest JCA Provider is a security service provider for the Java Cryptography Architecture.

The NinthTest JCA Provider focuses on supporting candidate, reference, academic, and experimental cryptographic algorithms and security services.

Because the services provided by the NinthTest JCA Provider are exploratory/provisional in nature, the NinthTest JCA Provider is not recommended for use in security-critical applications or environments.

Version:
1.0
Author:
Matthew Zipay (mattz@ninthtest.info)
See Also:
About the NinthTest JCA Provider, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.security.Provider
Provider.Service
 
Field Summary
static String HELIX
          The algorithm name for the Helix combined stream cipher and MAC function.
static String INFO
          A short description of the provider.
static String NAME
          The provider name.
static double VERSION
          The provider version.
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
NinthTestProvider()
          Creates a new NinthTestProvider and initializes the set of services provided.
 
Method Summary
static void doSelfIntegrityCheck()
          Verifies that the JAR containing this provider has not been tampered with.
 
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
 

Field Detail

NAME

public static final String NAME
The provider name.

See Also:
Constant Field Values

HELIX

public static final String HELIX
The algorithm name for the Helix combined stream cipher and MAC function.

See Also:
Constant Field Values

VERSION

public static final double VERSION
The provider version.

See Also:
Constant Field Values

INFO

public static final String INFO
A short description of the provider.

See Also:
Constant Field Values
Constructor Detail

NinthTestProvider

public NinthTestProvider()
Creates a new NinthTestProvider and initializes the set of services provided.

Method Detail

doSelfIntegrityCheck

public static final void doSelfIntegrityCheck()
Verifies that the JAR containing this provider has not been tampered with.

This method performs the following checks:

  1. The provider JAR has been signed.
  2. Each entry in the provider JAR is signed by a trusted signer.
  3. The signature for each entry in the provider JAR was generated by the same entity as the one that developed this provider.

If the self-integrity check fails for any reason, the runtime exception SecurityException is thrown.



Copyright © 2010-2014 Matthew Zipay. All Rights Reserved.