org.apache.xml.security.keys.storage
Class StorageResolver

java.lang.Object
  extended byorg.apache.xml.security.keys.storage.StorageResolver

public class StorageResolver
extends java.lang.Object

This class collects customized resolvers for Certificates.

Author:
$Author: coheigea $

Constructor Summary
StorageResolver()
          Constructor StorageResolver
StorageResolver(java.security.KeyStore keyStore)
          Constructor StorageResolver
StorageResolver(StorageResolverSpi resolver)
          Constructor StorageResolver
StorageResolver(java.security.cert.X509Certificate x509certificate)
          Constructor StorageResolver
 
Method Summary
 void add(java.security.KeyStore keyStore)
          Method addKeyStore
 void add(StorageResolverSpi resolver)
          Method addResolver
 void add(java.security.cert.X509Certificate x509certificate)
          Method addCertificate
 java.util.Iterator getIterator()
          Method getIterator
 boolean hasNext()
          Deprecated. no way to restart the iteration, use getIterator() instead
 java.security.cert.X509Certificate next()
          Deprecated. no way to restart the iteration, use getIterator() instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageResolver

public StorageResolver()
Constructor StorageResolver


StorageResolver

public StorageResolver(StorageResolverSpi resolver)
Constructor StorageResolver

Parameters:
resolver -

StorageResolver

public StorageResolver(java.security.KeyStore keyStore)
Constructor StorageResolver

Parameters:
keyStore -

StorageResolver

public StorageResolver(java.security.cert.X509Certificate x509certificate)
Constructor StorageResolver

Parameters:
x509certificate -
Method Detail

add

public void add(StorageResolverSpi resolver)
Method addResolver

Parameters:
resolver -

add

public void add(java.security.KeyStore keyStore)
Method addKeyStore

Parameters:
keyStore -

add

public void add(java.security.cert.X509Certificate x509certificate)
Method addCertificate

Parameters:
x509certificate -

getIterator

public java.util.Iterator getIterator()
Method getIterator

Returns:
the iterator for the resolvers.

hasNext

public boolean hasNext()
Deprecated. no way to restart the iteration, use getIterator() instead

Method hasNext

Returns:
true if there are more elements.

next

public java.security.cert.X509Certificate next()
Deprecated. no way to restart the iteration, use getIterator() instead

Method next

Returns:
the next element