Package net.jini.url.httpmd
Class HttpmdIntegrityVerifier
java.lang.Object
net.jini.url.httpmd.HttpmdIntegrityVerifier
- All Implemented Interfaces:
IntegrityVerifier
Integrity verifier for HTTPMD URLs. This class is intended to be specified in a resource to
configure the operation of
Security.verifyCodebaseIntegrity.- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprovidesIntegrity(URL url) Returnstrueif the specified URL uses the "httpmd" protocol; returnsfalseotherwise.
-
Constructor Details
-
HttpmdIntegrityVerifier
public HttpmdIntegrityVerifier()
-
-
Method Details
-
providesIntegrity
Returnstrueif the specified URL uses the "httpmd" protocol; returnsfalseotherwise.- Specified by:
providesIntegrityin interfaceIntegrityVerifier- Parameters:
url- URL to verify- Returns:
trueif the specified URL is known to provide content integrity;falseotherwise- Throws:
NullPointerException- if the URL isnull
-