Class ResponseMDN
java.lang.Object
org.apache.camel.component.as2.api.protocol.ResponseMDN
- All Implemented Interfaces:
org.apache.hc.core5.http.HttpResponseInterceptor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResponseMDN(String as2Version, String serverFQDN, AS2SignatureAlgorithm signingAlgorithm, Certificate[] signingCertificateChain, PrivateKey signingPrivateKey, PrivateKey decryptingPrivateKey, String mdnMessageTemplate, Certificate[] validateSigningCertificateChain) -
Method Summary
Modifier and TypeMethodDescriptionstatic AS2SignedDataGeneratorcreateSigningGenerator(org.apache.hc.core5.http.HttpRequest request, AS2SignatureAlgorithm signingAlgorithm, Certificate[] signingCertificateChain, PrivateKey signingPrivateKey) static MultipartSignedEntityprepareSignedReceipt(AS2SignedDataGenerator gen, DispositionNotificationMultipartReportEntity multipartReportEntity) voidprocess(org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context)
-
Field Details
-
BOUNDARY_PARAM_NAME
- See Also:
-
DISPOSITION_TYPE
- See Also:
-
DISPOSITION_MODIFIER
- See Also:
-
-
Constructor Details
-
ResponseMDN
public ResponseMDN(String as2Version, String serverFQDN, AS2SignatureAlgorithm signingAlgorithm, Certificate[] signingCertificateChain, PrivateKey signingPrivateKey, PrivateKey decryptingPrivateKey, String mdnMessageTemplate, Certificate[] validateSigningCertificateChain)
-
-
Method Details
-
process
public void process(org.apache.hc.core5.http.HttpResponse response, org.apache.hc.core5.http.EntityDetails entity, org.apache.hc.core5.http.protocol.HttpContext context) throws org.apache.hc.core5.http.HttpException, IOException - Specified by:
processin interfaceorg.apache.hc.core5.http.HttpResponseInterceptor- Throws:
org.apache.hc.core5.http.HttpExceptionIOException
-
createSigningGenerator
public static AS2SignedDataGenerator createSigningGenerator(org.apache.hc.core5.http.HttpRequest request, AS2SignatureAlgorithm signingAlgorithm, Certificate[] signingCertificateChain, PrivateKey signingPrivateKey) throws org.apache.hc.core5.http.HttpException - Throws:
org.apache.hc.core5.http.HttpException
-
prepareSignedReceipt
public static MultipartSignedEntity prepareSignedReceipt(AS2SignedDataGenerator gen, DispositionNotificationMultipartReportEntity multipartReportEntity) throws org.apache.hc.core5.http.HttpException - Throws:
org.apache.hc.core5.http.HttpException
-