Topic: PKCS7 to X509 conversion.
Hi,
Is there any wolfssl API calls or procedures for converting parsed PKCS7 certificate to X.509 certificate.
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → wolfSSL → PKCS7 to X509 conversion.
Hi,
Is there any wolfssl API calls or procedures for converting parsed PKCS7 certificate to X.509 certificate.
Hi,
Yes, wolfCrypt PKCS#7 API can be used to decode a p7b certificate and extract out an X.509 certificate.
You will want to use wc_PKCS7_Init() to initialize a PKCS7 structure, then use wc_PKCS7_VerifySignedData() to decode the p7b certificate. wc_PKCS7_VerifySignedData() will place decoded X.509 DER-encoded certificates into the pkcs7->cert array, with the size of each stored in the pkcs7->certSz array.
The following GitHub Issue has more details on API usage:
https://github.com/wolfSSL/wolfssl/issues/3638
Can you share more details about the project you are looking to use wolfCrypt in?
Thanks,
Chris
wolfSSL - Embedded SSL Library → wolfSSL → PKCS7 to X509 conversion.
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.017 seconds (89% PHP - 11% DB) with 11 queries