net.jini.security
Interface IntegrityVerifier

All Known Implementing Classes:
FileIntegrityVerifier, HttpmdIntegrityVerifier, HttpsIntegrityVerifier

public interface IntegrityVerifier

Defines the interface for integrity verifiers used by Security.verifyCodebaseIntegrity, allowing the URLs that provide content integrity to be extended.

Since:
2.0
Author:
Sun Microsystems, Inc.

Method Summary
 boolean providesIntegrity(URL url)
          Returns true if the specified URL is known to provide content integrity; returns false otherwise.
 

Method Detail

providesIntegrity

boolean providesIntegrity(URL url)
Returns true if the specified URL is known to provide content integrity; returns false otherwise.

Parameters:
url - URL to verify
Returns:
true if the specified URL is known to provide content integrity; false otherwise
Throws:
NullPointerException - if the URL is null


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.