Closed dgarske closed 1 year ago
wolfTPM2_CSR_Generate
WOLFTPM2_CSR
wolfTPM2_CSR_*
The custom OID feature requires:
user_settings.h:
#define WOLFSSL_ASN_TEMPLATE #define WOLFSSL_CUSTOM_OID #define HAVE_OID_ENCODING
Cmake:
"CMAKE_C_FLAGS": "-DWOLFSSL_CUSTOM_OID -DHAVE_OID_ENCODING -DWOLFSSL_ASN_TEMPLATE",
Configure (autoconf):
./configure --enable-wolftpm --enable-certgen --enable-asn=template CFLAGS="-DWOLFSSL_CUSTOM_OID -DHAVE_OID_ENCODING"
Note: Going to be adding a WOLFTPM_CSR struct / class to support assembling a CSR then asking for it to be signed. This will allow for the custom request extension support.
wolfTPM2_CSR_Generate
wrapper to assist with CSR generation.WOLFTPM2_CSR
structure and using custom OIDs in the CSR. This allows passing aWOLFTPM2_CSR
to a set of newwolfTPM2_CSR_*
API's.The custom OID feature requires:
user_settings.h:
Cmake:
Configure (autoconf):