Handle unsupported digest algorithm in Adobe Reader plugin

Sep 16, 2018

Copy link to clipboard

Copied

Hi there.

I was creating a plugin for signature validating. The problem is that signature uses third party digest algorithm  "GOST34311". I think Adobe simply does not recognize such algorithm. I tried to catch the exception in this function:

void DSEngine::sigValidate( PSSigValidateParams params );

but it doesn't even get there, exception is thrown before.

So, how can I get algorithm name and handle any custom digest algorithm? Please, give some approach.

Thanks in advance!

TOPICS
Acrobat SDK and JavaScript

Views

156

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Handle unsupported digest algorithm in Adobe Reader plugin

Sep 16, 2018

Copy link to clipboard

Copied

Hi there.

I was creating a plugin for signature validating. The problem is that signature uses third party digest algorithm  "GOST34311". I think Adobe simply does not recognize such algorithm. I tried to catch the exception in this function:

void DSEngine::sigValidate( PSSigValidateParams params );

but it doesn't even get there, exception is thrown before.

So, how can I get algorithm name and handle any custom digest algorithm? Please, give some approach.

Thanks in advance!

TOPICS
Acrobat SDK and JavaScript

Views

157

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 16, 2018 0
lrosenth LATEST
Adobe Employee ,
Sep 17, 2018

Copy link to clipboard

Copied

Custom digest algorithms aren’t supported by either PDF or Acrobat – such a file would not be valid.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 17, 2018 0