Releases: phax/ph-commons
ph-commons 11.2.1
- Added method
AbstractMemoryReadableResource.setPath
to define a path different from the empty string - Added new enum
ECertificateCheckResult
as an enumeration contain X.509 certification validation results - Added new method
CertificateHelper.checkCertificate
to verify if an X.509 certificate is valid in several aspects - Added new class
TrustedCAChecker
to check if a certificate is based on one of certain CAs - Added new methods to
CertificateHelper
to easily access theCN
and theO
part of a certificate principal
Full Changelog: ph-commons-parent-pom-11.2.0...ph-commons-parent-pom-11.2.1
ph-commons 11.2.0
- Extended
ISAXReaderSettings
to include the possibility to provide a customSAXParserFactory
- Extended the class
EmailAddressHelper
with a methodisValidForSimplePattern
to test for email addresses that eventually contain Unicode characters - Added
HasInputStream.create
overload withbyte[]
parameter - Added method
IExpirable.isExpiredIn
- Added interface
IURLDownloader
to ph-commons - Added class
ExpiringObject
to ph-datetime - Added classes
TrustedCACertificates
,CRLCache
,CRLDownloader
,CRLHelper
,AbstractRevocationCheckBuilder
,CertificateRevocationCheckerDefaults
,ERevocationCheckMode
,ERevoked
,IRevokedIndicator
andRevocationCheckResultCache
to ph-security - Added method
KeyStoreHelper.getAllTrustedCertificates
Full Changelog: ph-commons-parent-pom-11.1.12...ph-commons-parent-pom-11.2.0
ph-commons 11.1.12
- Updated to BouncyCastle 1.80
- Made sure, that the XML "Secure processing" flag is set anyway in
XMLFactory.createDefaultDocumentBuilderFactory
in case an external XML parser is in the classpath - Extracted the methods
XMLFactory.defaultCustomize(DocumentBuilder|SAXParser|Transformer)Factory
to allow external factories to be secured as well
Full Changelog: ph-commons-parent-pom-11.1.11...ph-commons-parent-pom-11.1.12
ph-commons 11.1.11
- Removed
bcprov-ext-jdk18on
from the parent pom, as seems to be included inbcprov-jdk18on
instead - Added support for configuration variable default values when used in the form
${property:default}
- Added additional
IMicroNode.appendText
overloads forboolean
,int
andlong
- Deprecated
EXMLSerializeIndent.INDENT_ONLY
as well as.getWithIndent()
and.getWithoutAlign()
Full Changelog: ph-commons-parent-pom-11.1.10...ph-commons-parent-pom-11.1.11
ph-commons 11.1.10
- Added new method
IConfigWithFallback.getAsCharArrayOrFallback
- Added new interfaces
IKeyStoreDescriptor
,IKeyStoreAndKeyDescriptor
andITrustStoreDescriptor
in ph-security - Added new classes
KeyStoreDescriptor
,KeyStoreAndKeyDescriptor
andTrustStoreDescriptor
in ph-security - Added new method
KeyStoreHelper.iterateKeyStore
Full Changelog: ph-commons-parent-pom-11.1.9...ph-commons-parent-pom-11.1.10
ph-cmmons 11.1.9
- Updated to BouncyCastle 1.79.0
- Added new annotation
ChangeNextMajorRelease
- Deprecated
KeyStoreHelper.loadKeyStoreDirect
methods withString
password in favour of versions withchar[]
password - Added
KeyStoreHelper.loadKeyStore
methods withchar[]
as password type - Deprecated
KeyStoreHelper.loadKeyStore
methods withString
password in favour of versions withchar[]
password - Added support for JDK 22 and JDK 23 in
EJavaVersion
Full Changelog: ph-commons-parent-pom-11.1.8...ph-commons-parent-pom-11.1.9
ph-commons 11.1.8
- Made sure that
HttpHeaderMap.getUnifiedValue
unified values combine all whitespaces into a single space
Full Changelog: ph-commons-parent-pom-11.1.7...ph-commons-parent-pom-11.1.8
ph-commons 11.1.7
- Updated to BouncyCastle 1.78.1
- Added method
CertificateHelper.isCA
- Added additional
Commons...Map
constructor overloads - Added method
EqualsHelper.identityDifferent
- Made sure that
HttpHeaderMap.getUnifiedValue
unified values combine all\r
,\n
and\t
into a single space - The method
EnvVarHelper.getUnifiedSysEnvName
can now also remove invalid characters on demand
Full Changelog: ph-commons-parent-pom-11.1.6...ph-commons-parent-pom-11.1.7
ph-commons 11.1.6
- Updated to BouncyCastle 1.78. This fixes CVE-2024-29857, CVE-2024-30171, CVE-2024-30172 and CVE-2024-301XX. See PR #43 - thx @problemzebra2
What's Changed
- Update Bouncy Castle to 1.78 by @problemzebra2 in #43
Full Changelog: ph-commons-parent-pom-11.1.5...ph-commons-parent-pom-11.1.6
ph-commons 11.1.5
- Added new interface
IHasSizeLong
- Added new interface methods
IHasInputStream.withInputStreamDo
andIHasInputStream.withBufferedInputStreamDo
- Added new interface method
IHasByteArray.isPartialArray
- Added build compatiblity with Java 21
- Deprecated method
ICommonsList.getFirst()
in favour ofICommonsList.getFirstOrNull()
because of clash with JDK 21 API extension. See issue #42 - Deprecated method
ICommonsList.getLast()
in favour ofICommonsList.getLastOrNull()
because of clash with JDK 21 API extension. See issue #42 - Deprecated method
ICommonsList.removeFirst()
in favour ofICommonsList.removeFirstOrNull()
because of clash with JDK 21 API extension. See issue #42 - Deprecated method
ICommonsList.removeLast()
in favour ofICommonsList.removeLastOrNull()
because of clash with JDK 21 API extension. See issue #42
Full Changelog: ph-commons-parent-pom-11.1.4...ph-commons-parent-pom-11.1.5