Skip to content

Releases: php-soap/psr18-wsse-middleware

Version 2.5.0

25 Oct 08:51
2.5.0
fcaf36d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.0...2.5.0

Version 2.4.0

29 Apr 11:00
2.4.0
ef7c8ae
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.0...2.4.0

Version 2.3.0

24 Nov 07:52
2.3.0
34bc469
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.3.0

Version 2.2.0

23 Nov 10:37
2.2.0
4ef7477
Compare
Choose a tag to compare

What's Changed

  • Add shortcut key-store for combined PEM client certificates by @veewee in #14

Full Changelog: 2.1.1...2.2.0

Release 2.1.1

31 Mar 11:42
2.1.1
1d3c693
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...2.1.1

Release 2.1.0

25 Nov 07:59
v2.1.0
be8a150
Compare
Choose a tag to compare

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

Full Changelog: v2.0.0...v2.1.0

v2.0.0

24 Jun 06:27
v2.0.0
cdcea47
Compare
Choose a tag to compare

What's Changed

$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

Release v1.1.0

26 Nov 11:15
v1.1.0
a027b4d
Compare
Choose a tag to compare

What's Changed

  • Correct composer usage in README by @Josh-G in #1
  • PHP 8.1 Compatibility by @veewee in #2

New Contributors

Full Changelog: v1.0.0...v1.1.0

Version 1.0.0

24 Sep 06:45
v1.0.0
Compare
Choose a tag to compare