org.apache.xml.security.keys.storage.implementations
Class KeyStoreResolver

java.lang.Object
  extended by org.apache.xml.security.keys.storage.StorageResolverSpi
      extended by org.apache.xml.security.keys.storage.implementations.KeyStoreResolver

public class KeyStoreResolver
extends StorageResolverSpi

Makes the Certificates from a JAVA KeyStore object available to the StorageResolver.

Author:
$Author: mullan $

Constructor Summary
KeyStoreResolver(java.security.KeyStore keyStore)
          Constructor KeyStoreResolver
 
Method Summary
 java.util.Iterator getIterator()
          Method getIterator
static void main(java.lang.String[] unused)
          Method main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyStoreResolver

public KeyStoreResolver(java.security.KeyStore keyStore)
                 throws StorageResolverException
Constructor KeyStoreResolver

Parameters:
keyStore - is the keystore which contains the Certificates
Throws:
StorageResolverException
Method Detail

getIterator

public java.util.Iterator getIterator()
Description copied from class: StorageResolverSpi
Method getIterator

Specified by:
getIterator in class StorageResolverSpi
Returns:
the iterator for the storage

main

public static void main(java.lang.String[] unused)
                 throws java.lang.Exception
Method main

Parameters:
unused -
Throws:
java.lang.Exception