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

Get rid of DigiDocService #2

Open
kgilden opened this issue Jul 7, 2014 · 0 comments
Open

Get rid of DigiDocService #2

kgilden opened this issue Jul 7, 2014 · 0 comments

Comments

@kgilden
Copy link
Owner

kgilden commented Jul 7, 2014

The SOAP web service is inflexible and really serves no purpose other than getting the first version out there. Now that all time constraints are off it would be great to actually create a proper implementation in PHP.

kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
Let's be more concrete in the first iteration and later worry about
version differences etc.
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
This way the word "Signature" can be used explicitly for the signature
itself (computed by the smart card). Not sure if Stamp represents the
idea well enough.
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
Rather than the envelope trying to do anything, it will just maintain a
list of files and signatures. Also, stamps don't contain XML directly -
instead they use differet views based on the required ddoc format.
kgilden added a commit that referenced this issue Dec 6, 2014
Not sure if it's going to stay this way, but there was no need for it
inside the stamp.

Also tweaked BDocView's constructor to require a \DOMDocument. A static
method was added to create views from signer & files - the raw
constructor is expected to be used when creating a view from an already
existing signature file.
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
The methods do not remove the initial dom node, but instead the appended
node. E.g.

    $node->appendChild($foo); // returns $foo and not $node
kgilden added a commit that referenced this issue Dec 6, 2014
The view always assumed the digest element must be under the same
namespace as its parent. They must actually always be under "ds"
namespace.
kgilden added a commit that referenced this issue Dec 6, 2014
They were incorrectly appended to the parent element.
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
kgilden added a commit that referenced this issue Dec 6, 2014
This will come in handy for making OCSP requests through openssl.
kgilden added a commit that referenced this issue Dec 6, 2014
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