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

public Class SingleCertificateResolver

extends StorageResolverSpi
Class Inheritance
Imports
java.security.cert.Certificate, .X509Certificate, java.util.Iterator, .NoSuchElementException, com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverSpi

This StorageResolverSpi makes a single X509Certificate 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

Field Summary

Modifier and TypeField and Description
private final X509Certificate
certificate

Field certificate

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterator<Certificate>

Field Detail

certificateback to summary
private final X509Certificate certificate

Field certificate

Constructor Detail

SingleCertificateResolverback to summary
public SingleCertificateResolver(X509Certificate x509cert)
Parameters
x509cert:X509Certificate

the single X509Certificate

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 SingleCertificateResolver.InternalIterator

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

Class InternalIterator

Field Summary

Modifier and TypeField and Description
private boolean
alreadyReturned

Field alreadyReturned

private final X509Certificate
certificate

Field certificate

Constructor Summary

AccessConstructor and Description
public
InternalIterator(X509Certificate x509cert)

Constructor InternalIterator

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

alreadyReturnedback to summary
private boolean alreadyReturned

Field alreadyReturned

certificateback to summary
private final X509Certificate certificate

Field certificate

Constructor Detail

InternalIteratorback to summary
public InternalIterator(X509Certificate x509cert)

Constructor InternalIterator

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