public final class BomUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<Hash> |
calculateHashes(File file,
Version schemaVersion)
Calculates the hashes of the specified file.
|
static boolean |
validateUriString(String uri) |
static boolean |
validateUrlString(String url)
Deprecated.
|
public static List<Hash> calculateHashes(File file, Version schemaVersion) throws IOException
file - the File to calculate hashes onschemaVersion - enum denoting the schema version in use. Affects hash algorithm selection.IOException - an IOException@Deprecated public static boolean validateUrlString(String url)
public static boolean validateUriString(String uri)
Copyright © 2017–2025 OWASP Foundation. All rights reserved.