liamdennehy / eidas-certificate-parse

Parse and validate eIDAS Certificates based on EU Trusted List of Lists
13 stars 1 forks source link

fromSequence() preferred over fromDER() #69

Closed liamdennehy closed 4 years ago

liamdennehy commented 4 years ago

Avoid unnecessary conversions from binary<->ASN1 object between function calls and object creation. Complies closer to ASN.1's original intent of inline parsing, and significantly improves performance.

liamdennehy commented 4 years ago

Travis build times decreased from 19s to 13s. Outstanding result :)