anon.crypto
Class CertificateRevocationList.CRLInstantiator

java.lang.Object
  extended by anon.crypto.CertificateRevocationList.CRLInstantiator
All Implemented Interfaces:
IResourceInstantiator
Enclosing class:
CertificateRevocationList

private static final class CertificateRevocationList.CRLInstantiator
extends java.lang.Object
implements IResourceInstantiator


Nested Class Summary
 
Nested classes/interfaces inherited from interface anon.util.IResourceInstantiator
IResourceInstantiator.ResourceInstantiationException
 
Field Summary
private  java.lang.String m_ignoreCRLMark
           
 
Constructor Summary
CertificateRevocationList.CRLInstantiator(java.lang.String a_strIgnoreCertMark)
           
 
Method Summary
 java.lang.Object getInstance(java.io.File a_file, java.io.File directory)
          Loads a file and transforms it into a concrete object.
 java.lang.Object getInstance(java.io.InputStream a_inputStream, java.lang.String a_resourceName)
          Optional: may not be supported by all resource instantiators.
 java.lang.Object getInstance(java.util.zip.ZipEntry a_entry, java.util.zip.ZipFile a_file)
          Loads a file and transforms it into a concrete object.
private  boolean isBlocked(java.lang.String a_resourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ignoreCRLMark

private java.lang.String m_ignoreCRLMark
Constructor Detail

CertificateRevocationList.CRLInstantiator

public CertificateRevocationList.CRLInstantiator(java.lang.String a_strIgnoreCertMark)
Method Detail

getInstance

public java.lang.Object getInstance(java.io.File a_file,
                                    java.io.File directory)
                             throws java.lang.Exception
Description copied from interface: IResourceInstantiator
Loads a file and transforms it into a concrete object.

Specified by:
getInstance in interface IResourceInstantiator
Parameters:
a_file - a File
directory - the top directory of this file; this is generally not needed to load the file
Returns:
an Object
Throws:
IResourceInstantiator.ResourceInstantiationException - if an error occurs
java.lang.Exception

getInstance

public java.lang.Object getInstance(java.util.zip.ZipEntry a_entry,
                                    java.util.zip.ZipFile a_file)
                             throws java.lang.Exception
Description copied from interface: IResourceInstantiator
Loads a file and transforms it into a concrete object. Please not that JDK 1.1.8 does not correctly load zip entries! Please use the method ResourceLoader.loadResource(String) instead. By this way, only zip/jar files in the classpath may be loaded.

Specified by:
getInstance in interface IResourceInstantiator
Parameters:
a_entry - a ZipEntry
a_file - the ZipFile of this zip entry
Returns:
an Object
Throws:
IResourceInstantiator.ResourceInstantiationException - if an error occurs
java.lang.Exception

getInstance

public java.lang.Object getInstance(java.io.InputStream a_inputStream,
                                    java.lang.String a_resourceName)
Description copied from interface: IResourceInstantiator
Optional: may not be supported by all resource instantiators. You may not rely that this methods returns results.

Specified by:
getInstance in interface IResourceInstantiator
Returns:

isBlocked

private boolean isBlocked(java.lang.String a_resourceName)