signalwire / libstirshaken

C library implementing STIR-shaken STI-SP AS/VS, STI-CA
MIT License
31 stars 23 forks source link

Return PASSporT by ** #93

Closed piotr-gregor closed 3 years ago

piotr-gregor commented 3 years ago

Instead of manipulating static PASSporT, take double pointer here (and in similar methods):

stir_shaken_status_t stir_shaken_x509_sih_verify(stir_shaken_context_t ss, const char sih, stir_shaken_passport_t *passport, stir_shaken_cert_t *cert_out, time_t iat_freshness, X509_STORE store)

piotr-gregor commented 3 years ago

Added in commit b18683ae7231b4c9968c5052473a03784090cf12 Author: Piotr Gregor piotr@signalwire.com Date: Wed Mar 10 18:47:34 2021 +0000

Interface enhancements