Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance bindings for Crypt32 and fix bindings for array attributes #1252

Merged

Commits on Sep 2, 2020

  1. Enhance bindings for Crypt32 and fix bindings for array attributes

    The implementations of the rgAttribute, rgCTLEntry and rgExtension
    attributes are not in line with the observed behaviour of the API. At
    least in part they are documented to be pointers to arrays of pointers
    to structures. This is not correct, as segfaults were observed and
    testing shows, that they are in fact pointers to arrays of structures.
    
    In addition it was observed, that the bindings of CTL_INFO#getRgCTLEntry
    and CTL_INFO#getRgExtension method names were inverted.
    
    The bindings for CERT_EXTENSIONS#getRgExtension and 
    CTL_INFO#getRgExtension are untested as but assumed to be implemented
    identically to the tested bindings.
    
    The functions 
    
    - CertEnumCertificatesInStore
    - CertEnumCTLsInStore
    - CertEnumCRLsInStore
    - CryptQueryObject
    
    from `c.s.j.p.win32.Crypt32` were bound to be able to excercise the
    accessors.
    matthiasblaesing committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    07fd6fd View commit details
    Browse the repository at this point in the history