public final class BuilderUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
buildHash(byte[] decompressedBlob)
MessageDigest is used to create the hash |
static byte[] |
checkAndDecompress(byte[] content,
String contentEncoding,
byte[] blobHashValue,
boolean hashTagRequired) |
static void |
checkHash(byte[] blobHashValue,
byte[] decompressedBlob) |
static byte[] |
decompressBlob(byte[] decompressedBlob,
String contentEncoding) |
public static byte[] checkAndDecompress(byte[] content,
String contentEncoding,
byte[] blobHashValue,
boolean hashTagRequired)
throws InvalidBlobContentConnectorException,
TechnicalConnectorException
content - contentEncoding - blobHashValue - hashTagRequired - InvalidBlobContentConnectorExceptionTechnicalConnectorExceptionpublic static void checkHash(byte[] blobHashValue,
byte[] decompressedBlob)
throws InvalidBlobContentConnectorException,
TechnicalConnectorException
blobHashValue - decompressedBlob - InvalidBlobContentConnectorExceptionTechnicalConnectorExceptionpublic static byte[] decompressBlob(byte[] decompressedBlob,
String contentEncoding)
decompressedBlob - contentEncoding - public static byte[] buildHash(byte[] decompressedBlob)
throws NoSuchAlgorithmException
MessageDigest is used to create the hashdecompressedBlob - NoSuchAlgorithmException
Connector Packaging generic 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.