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.
|
Method Summary |
boolean |
providesIntegrity(URL url)
Returns true if the specified URL is known to provide
content integrity; returns false otherwise. |
providesIntegrity
public 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 2005, Sun Microsystems, Inc.
Licensed under the Apache License, Version 2.0.