Releases: phax/as2-lib
Releases · phax/as2-lib
as2-lib 4.2.0
- Added support for large file transmission (using Apache HttpClient) - thanks to @zharpaz for the PRs :D
- AS2 client now has the possibility to not request an MDN at all
- It's now possible to use a different Security Provider besides BouncyCastle (see #52)
- Added workaround for bug in
HttpHeaderMap.addAllHeaders
(see #48) - Using the correct signing algorithm for the MIC, according to the partnership definitions (see #50)
- Added new subproject
as2-demo-webapp
to provide a simple to use stub for a web application receiving AS2 messages (see #36) - Loading of keystores now also works from classpath by default. Based on phax/as2-peppol-server#2
- Deprecated
AS2ClientRequest.setData (File)
in favour ofAS2ClientRequest.setData (File, Charset)
(see #45) Content-Type
handling was improved all over the place to avoid exception in case of error (see #33)- Added new class
HTTPIncomingDumperStreamBased
- Calculating the MIC only if an MDN is requested (see #58)
- Saved MDN uses OS specific newlines (see #61)
- Changed
IDynamicComponent
to haveattrs()
and not to be aStringMap
- Added new encryption algorithms (AES with GCM padding)
- Requires ph-web 9.0.5 or newer
- Required ph-commons 9.1.8. to ensure case sensitive HTTP header names (see ph-commons #11)
- Storing the outgoing MIC as an attribute in the message (see #74)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.1.8
- ph-mail/ph-http/ph-network 9.0.5
- BouncyCastle 1.60
as2-lib 4.1.1
Use only with ph-commons 9.1.4 or newer
- The existence of the header
Disposition-Notification-Options
withoutDisposition-Notification-To
does not trigger MDN sending (see #42) - Fixed overwriting of existing
Content-Transfer-Encoding
when receiving messages. - Partnership attribute
blockerrormdn
is now only evaluated for MDNs that are created based on errors - MDNs now also use the partner attribute
content_transfer_encoding
andcontent_transfer_encoding_receive
(see #43)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime/ph-bc 9.1.4
- ph-mail/ph-http/ph-network 9.0.2
- BouncyCastle 1.60
as2-lib 4.1.0
- The random parameters class now supports creating random values that are longer than 10 characters
- Fixed OSGI ServiceProvider configuration
- Added support for new encryption algorithms (see #38)
- Added new system property
AS2.httpDumpDirectoryOutgoing
to easily dump outgoing transmissions - Renamed system property for dumping incoming HTTP transmissions from
AS2.httpDumpDirectory
toAS2.httpDumpDirectoryIncoming
to avoid confusion. The old name can still be used but emits a warning. - Modules
MDNFileModule
andMessageFileModule
now got a new attributecharset
to define the charset to be used to dump the information. - Requires ph-commons 9.1.2
as2-lib 4.0.2
- improved client configurability and customizability
- Switching back to preferring BC PKCS12 key store, because JDK PKCS 12 key store is partially case insensitive
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime 9.0.2
- ph-mail/ph-http/ph-network 9.0.0
- BouncyCastle 1.59
as2-lib 4.0.1
- Updated to BouncyCastle 1.59
- When using the non-servlet version, the values for the
source_ip
anddestination_ip
fields were fixed (see phax/as2-server#20)
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime 9.0.2
- ph-mail/ph-http/ph-network 9.0.0
- BouncyCastle 1.59
as2-lib 4.0.0
- Updated to ph-commons 9.0.0
- Updated to BouncyCastle 1.58
- Fixed crypto algorithm case sensitivity issue on sending (issue #32)
- Changed internally from
java.util.Date
tojava.time.LocalDateTime
- so all the Date parameters must be changed fromyyyy
touuuu
!!! - The certificate factory
com.helger.as2lib.cert.PKCS12CertificateFactory
was deprecated in favor of the more genericcom.helger.as2lib.cert.CertificateFactory
that handles arbitrary keystore types (like JKS).
Dependencies required:
- ph-commons/ph-xml/ph-collection/ph-security/ph-datetime 9.0.0
- ph-mail/ph-http/ph-network 9.0.0
- BouncyCastle 1.58
as2-lib 3.1.0
- AS2 client can now handle custom HTTP headers
- Reworked dumping API to create new dumpers per request
- Dumping API was moved into a separate package.
Dependencies required:
- ph-commons/ph-xml/ph-security/ph-datetime 8.6.6
- ph-mail/ph-http/ph-network 8.8.2
- BouncyCastle 1.57
as2-lib 3.0.4
- AS2 client allows different content type even if text source is used
- AS2 client allows to specify Content-Transfer-Encoding
- Updated to BouncyCastle 1.57
- The receiving modules got a new attribute
errorstorebody
to indicate whether the body of a failed message should also be stored or not (default isfalse
) - The receiving modules
errordir
directory can now handle parameters (date and msg) - AS2 client can now request and asynchronous MDN (issue #31)
Dependencies required:
- ph-commons/ph-xml/ph-security/ph-datetime 8.6.5
- ph-mail/ph-http/ph-network 8.8.1
- BouncyCastle 1.57
as2-lib 3.0.3
- Binds to ph-commons 8.6.x
- Binds to ph-web 8.7.0
- Updated to BouncyCastle 1.56
Dependencies required:
- ph-commons/ph-xml/ph-security/ph-datetime 8.6.1
- ph-mail/ph-http/ph-network 8.7.2
- BouncyCastle 1.56