Package 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
Modifier and TypeMethodDescriptionbooleanprovidesIntegrity(URL url) Returnstrueif the specified URL is known to provide content integrity; returnsfalseotherwise.
-
Method Details
-
providesIntegrity
Returnstrueif the specified URL is known to provide content integrity; returnsfalseotherwise.- Parameters:
url- URL to verify- Returns:
trueif the specified URL is known to provide content integrity;falseotherwise- Throws:
NullPointerException- if the URL isnull
-