Skip to content

Check the trust status of a certificate #677

@fl-ido

Description

@fl-ido

Hello,

I would like to use libdigidocpp to check if a X509 certificate is trusted by TSL or not. I see that I can create a X509Cert object from a X509*, but from what I can see there is no method available in X509Cert to get the trust status of the certificate. I understand from the code that this is done by X509CertStore::verify function, which is only called during signature verification, and is not available from outside.

Is there a way to check the trust status of a certificate, without being in a signature verification context ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions