public class Blob extends Object
(value): The binary data, first compressed via deflate and then base 64 encoded (compatible with MTOM/XOP). contentType (required): exactly like xmine:contentType, but in a different namespace to avoid conflicts with MTOM/XOP. It must define which type the content is, it must be values like 'text/plain', 'text/xml', 'application/pdf', … ContentEncoding: a fixed value 'deflate' to indicate that the content is compressed via deflates. MessageName (required): The business name of the message, e.g. 'FAC'. HashValue: pre-calculated hash of the uncompressed and decoded content. Must not be provided by the care provider, always provided to the care provider. Id: The ID of the blob for usage in the XAdES signature. It is an 'NCName' instead of an 'ID' in order to be able to have different blobs with the same (fixed) id without causing an XSD validation.
Constructor and Description |
---|
Blob() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent() |
String |
getContentEncoding() |
String |
getContentEncryption() |
String |
getContentType() |
byte[] |
getHashValue() |
String |
getId() |
String |
getIssuer() |
String |
getMessageName() |
String |
getMessageVersion() |
String |
getReference() |
byte[] |
getXadesValue() |
boolean |
isHashTagRequired() |
void |
setContent(byte[] content) |
void |
setContentEncoding(String contentEncoding) |
void |
setContentEncryption(String contentEncryption) |
void |
setContentType(String contentType) |
void |
setHashTagRequired(boolean isHashTagRequired) |
void |
setHashValue(byte[] hashValue) |
void |
setId(String id) |
void |
setIssuer(String issuer) |
void |
setMessageName(String messageName) |
void |
setMessageVersion(String messageVersion) |
void |
setReference(String reference) |
void |
setXadesValue(byte[] xadesValue) |
public byte[] getContent()
public void setContent(byte[] content)
content
- the content to setpublic String getContentType()
public void setContentType(String contentType)
contentType
- the contentType to setpublic byte[] getHashValue()
public void setHashValue(byte[] hashValue)
hashValue
- the hashValue to setpublic String getId()
public void setId(String id)
id
- the id to setpublic String getContentEncoding()
public void setContentEncoding(String contentEncoding)
contentEncoding
- the contentEncoding to setpublic String getMessageName()
public void setMessageName(String messageName)
messageName
- the messageName to setpublic boolean isHashTagRequired()
public void setHashTagRequired(boolean isHashTagRequired)
isHashTagRequired
- the isHashTagRequired to setpublic byte[] getXadesValue()
public void setXadesValue(byte[] xadesValue)
xadesValue
- the xadesValue to setpublic String getContentEncryption()
public void setContentEncryption(String contentEncryption)
contentEncryption
- the contentEncoding to setpublic String getReference()
public void setReference(String reference)
reference
- the reference to setpublic String getIssuer()
public void setIssuer(String issuer)
issuer
- the issuer to setpublic String getMessageVersion()
public void setMessageVersion(String messageVersion)
messageVersion
- the messageVersion to set
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.