Skip to content
This repository was archived by the owner on May 13, 2022. It is now read-only.
This repository was archived by the owner on May 13, 2022. It is now read-only.

example code - verify signature #1

@joehobson

Description

@joehobson

We need a sample jsp to show signature verification. I'd like to continue with the method we're using with the new publish.jsp where we have a simple form that can run in Tomcat and show the basic functionality. Steps as I see them..

  • create "examples/verify.jsp" script using "examples/publish.jsp" as a template (display form; if something is submitted display the action output as well)
  • in the form, allow the user to upload a json file, or point at an obtain URL on a node for a single document
  • on the process, get the envelope (from either input method), pull the public key down and use it to attempt to verify the signature on the envelope. Output whether or not the envelope signature could be verified.

I was going to add a task for a "sign" example jsp as well, but it looks like that's covered very well in the examples/publish.jsp code

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions