Skip to content

Signature verification of X509 certificate #634

@Larsjep

Description

@Larsjep

Prerequisites

  • Checked the developer manual
  • Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=repo%3Alibtom%2Flibtomcrypt
  • Checked that your issue isn't due to the fact that you're using asymmetric cryptography and you forgot linking in and/or setting an MPI provider (usually this causes either random crashes or runtime errors like LTC_ARGCHK 'ltc_mp.name != NULL' failure ...). c.f. Ch. "Math Descriptors" of the developer manual.
  • Checked that your issue isn't related to TomsFastMath's limitation that PK operations can by default only be done with max. 2048bit keys

Description

Hi,

I'm trying to verify the signature of a X509 certifcate.

But in order to do that I need the raw data of the tbsCertifcate parts of the certificate.
I can decode the elements of the certificate with der_decode_sequence but I can't find a way to get the data I need for verifying the signature.

Do I miss something or is this just not supported by the DER decoder in libtomcrypt.

Best regards
Lars

Steps to Reproduce

N/A

Version

master/b96e96cf8

Additional Information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions