Package net.jini.url.https
Class HttpsIntegrityVerifier
java.lang.Object
net.jini.url.https.HttpsIntegrityVerifier
- All Implemented Interfaces:
IntegrityVerifier
Integrity verifier for HTTPS URLs. This class is intended to be specified in a resource to
configure the operation of
Security.verifyCodebaseIntegrity. This verifier assumes the HTTPS URL protocol handler is configured to provide adequate data integrity and server authentication.
- Since:
- 2.0
- Author:
- Sun Microsystems, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprovidesIntegrity(URL url) Returnstrueif the specified URL uses the "https" protocol; returnsfalseotherwise.
-
Constructor Details
-
HttpsIntegrityVerifier
public HttpsIntegrityVerifier()
-
-
Method Details
-
providesIntegrity
Returnstrueif the specified URL uses the "https" 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
-