Releases: php-soap/psr18-wsse-middleware
Releases · php-soap/psr18-wsse-middleware
Version 2.5.0
Version 2.4.0
What's Changed
- Allow veewee/xml ^3.0 by @sprankhub in #17
New Contributors
- @sprankhub made their first contribution in #17
Full Changelog: 2.3.0...2.4.0
Version 2.3.0
Version 2.2.0
What's Changed
Full Changelog: 2.1.1...2.2.0
Release 2.1.1
Release 2.1.0
What's Changed
- Update symfony/http-client requirement from ^5.3 to ^6.1 by @dependabot in #7
- Add PHP82 + PSL2 Support by @veewee in #8
New Contributors
- @dependabot made their first contribution in #7
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
- Make it possible to configure WSSE through entry steps similar to how you do this in SoapUI by @veewee in #5
$privKey = Key::fromFile('security_token.priv')->withPassphrase('xxx'); // Regular private key (not wrapped in X509)
$pubKey = Certificate::fromFile('security_token.pub'); // Public X509 cert
$signKey = Certificate::fromFile('sign-key.pem'); // X509 cert for signing. Could be the same as $pubKey.
$wsseMiddleware = new WsseMiddleware(
outgoing: [
new Entry\Timestamp(60),
new Entry\BinarySecurityToken($pubKey),
(new Entry\Signature(
$privKey,
new KeyIdentifier\BinarySecurityTokenIdentifier()
))
(new Entry\Encryption(
$signKey,
new KeyIdentifier\X509SubjectKeyIdentifier($signKey)
))
->withKeyEncryptionMethod(KeyEncryptionMethod::RSA_OAEP_MGF1P)
->withDataEncryptionMethod(DataEncryptionMethod::AES256_CBC)
],
incoming: [
new Entry\Decryption($privKey)
]
);
Full Changelog: v1.1.0...v2.0.0