org.nhindirect.config.processor
Interface BundleRefreshProcessor

All Known Implementing Classes:
DefaultBundleRefreshProcessorImpl

public interface BundleRefreshProcessor

Interface for refreshing the anchors within a bundle. This interface is typically incorporated as part of enterprise application flow such as an Apache Camel route

Since:
1.3
Author:
Greg Meyer

Method Summary
 void refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
          Refreshes the set of anchors within a bundle.
 

Method Detail

refreshBundle

void refreshBundle(org.nhindirect.config.store.TrustBundle bundle)
Refreshes the set of anchors within a bundle. The bundle is downloaded from the bundle's URL, validated for authenticity if the bundle is signed and a signing certificate has been configured, and the anchors are updated in the store. If the bundle has not changed (which can be checked using the bundle checksum), then the anchors in the bundle may not be updated.

Parameters:
bundle - The bundle that will be updated.


Copyright © 2013. All Rights Reserved.