open-eid / libdigidocpp

Libdigidocpp library offers creating, signing and verification of digitally signed documents, according to XAdES and XML-DSIG standards. Documentation http://open-eid.github.io/libdigidocpp
Other
97 stars 47 forks source link

C# Example #562

Closed EvaldasMazeika closed 1 year ago

EvaldasMazeika commented 1 year ago

Hello, while following C# example with 3.16.0 and using this method: prepareWebSignature(cert.Export(X509ContentType.Cert), "BES/time-stamp");

throws exception: Unsupported profile: BES/time-stamp

btw, noticed small typo in the documentation within this sentence: "If the signature profile value is not specified then then a "time-stamp" profile is used by default." then is used twice

metsma commented 1 year ago

It was corrected in this commit 0507016627b4e6fd1ef73c0b176873ef060e2b78