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 Type
    Method
    Description
    boolean
    Returns true if the specified URL is known to provide content integrity; returns false otherwise.
  • Method Details

    • providesIntegrity

      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