APIdia Launch Partner
Top Description Inners Fields Constructors Methods
com.sun.org.apache.xml.internal.security.keys.storage.implementations

public Class KeyStoreResolver

extends StorageResolverSpi
Class Inheritance
Imports
java.security.KeyStore, .KeyStoreException, java.security.cert.Certificate, java.util.ArrayList, .Collections, .Enumeration, .Iterator, .List, .NoSuchElementException, com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException, .StorageResolverSpi

Makes the Certificates from a JAVA KeyStore object available to the com.sun.org.apache.xml.internal.security.keys.storage.StorageResolver.

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
KeyStoreResolver.KeyStoreIterator

Class KeyStoreIterator

Field Summary

Modifier and TypeField and Description
private final KeyStore
keyStore

Field keyStore

private static final Logger

Constructor Summary

AccessConstructor and Description
public
KeyStoreResolver(KeyStore
is the keystore which contains the Certificates
keyStore
)

Constructor KeyStoreResolver

Method Summary

Modifier and TypeMethod and Description
public Iterator<Certificate>

Field Detail

keyStoreback to summary
private final KeyStore keyStore

Field keyStore

LOGback to summary
private static final Logger LOG

Constructor Detail

KeyStoreResolverback to summary
public KeyStoreResolver(KeyStore keyStore) throws StorageResolverException

Constructor KeyStoreResolver

Parameters
keyStore:KeyStore

is the keystore which contains the Certificates

Method Detail

getIteratorback to summary
public Iterator<Certificate> getIterator()

Implements abstract com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverSpi.getIterator.

Doc from com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverSpi.getIterator.

Method getIterator

Annotations
@Override
com.sun.org.apache.xml.internal.security.keys.storage.implementations back to summary

pack-priv Class KeyStoreResolver.KeyStoreIterator

extends Object
implements Iterator<Certificate>
Class Inheritance
  • java.lang.Object
  • com.sun.org.apache.xml.internal.security.keys.storage.implementations.KeyStoreResolver.KeyStoreIterator
All Implemented Interfaces
java.util.Iterator

Class KeyStoreIterator

Field Summary

Modifier and TypeField and Description
private final List<Certificate>
private int
i

Constructor Summary

AccessConstructor and Description
public
KeyStoreIterator(KeyStore keyStore)

Constructor KeyStoreIterator

Method Summary

Modifier and TypeMethod and Description
public boolean
hasNext()

Implements java.util.Iterator.hasNext.

Returns true if the iteration has more elements.

public Certificate
next()

Implements java.util.Iterator.next.

Returns the next element in the iteration.

public void
remove()

Overrides default java.util.Iterator.remove.

Method remove

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

certsback to summary
private final List<Certificate> certs
iback to summary
private int i

Constructor Detail

KeyStoreIteratorback to summary
public KeyStoreIterator(KeyStore keyStore)

Constructor KeyStoreIterator

Method Detail

hasNextback to summary
public boolean hasNext()

Implements java.util.Iterator.hasNext.

Doc from java.util.Iterator.hasNext.

Returns true if the iteration has more elements. (In other words, returns true if next would return an element rather than throwing an exception.)

Annotations
@Override
nextback to summary
public Certificate next()

Implements java.util.Iterator.next.

Doc from java.util.Iterator.next.

Returns the next element in the iteration.

Annotations
@Override
removeback to summary
public void remove()

Overrides default java.util.Iterator.remove.

Method remove

Annotations
@Override