Forum Discussion
This uses the file in the example from here
Hi Marscha,
Thanks for your feedback... however I know this Weblink and I have to highlighten one sentence in there
.... If you try to call properties or methods on such a certificate from your tests, an error will occur.......
Means I got an "empty" CertInfo back in case of that the file does not have any digital signature.
My question is how can I know its an "empty" CertInfo before I do any checks on its properties....
- Marsha_R3 years agoChampion Level 3
What happened when you tried my example? Show the log please.
- Jin3 years agoNew Contributor
I did similar things but using script:
My code like
var certinf0 = aqFileSystem.GetFielInfo(file).CertificateInfo;
then I try to do some comparison like
aqObject.CompareProperty(certinfo.Subject, cmpContains, "some signature", true, 0);
Error occured:
- Marsha_R3 years agoChampion Level 3
It would be helpful if you try the exact example that I gave you. It is from the documentation and if it does not work for you then it gives us a path to follow.
Related Content
- 3 years agoyaminySharma04
- 5 years agogenki
- 9 months agork2212
- 6 years agoFlipFlorey
Recent Discussions
- 14 hours agoAivanitskiy
- 18 hours agonastester