Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No way to get thumbprint from WSSESoapServer, no example usage #49

Open
aoxborrow opened this issue Mar 1, 2019 · 0 comments
Open

No way to get thumbprint from WSSESoapServer, no example usage #49

aoxborrow opened this issue Mar 1, 2019 · 0 comments

Comments

@aoxborrow
Copy link

The WSSESoapServer class lets you validate WSS Soap, (thank you!), but you can't get access to the certificate/key/thumbprint. The class is simple enough to extend and modify, but an easy fix would be to store $objKey as an instance property so we can do:

$server = new WSSESoapServer($xml);
if ($server->verify()) {
    $thumbprint = $server->objKey->getX509Thumbprint();
}

Also, adding an example along with the others would be nice. I can do a pull request if you'd like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant