public class HttpsIntegrityVerifier extends Object implements IntegrityVerifier
Security.verifyCodebaseIntegrity
.
This verifier assumes the HTTPS URL protocol handler is configured to provide adequate data integrity and server authentication.
Constructor and Description |
---|
HttpsIntegrityVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
providesIntegrity(URL url)
Returns
true if the specified URL uses the "https"
protocol; returns false otherwise. |
public boolean providesIntegrity(URL url)
true
if the specified URL uses the "https"
protocol; returns false
otherwise.providesIntegrity
in interface IntegrityVerifier
NullPointerException
Copyright © 2016–2018. All rights reserved.