--- title: "Does TrustCore SDK provide key and certificate conversion utilities?" source_url: https://dev.digicert.com/trustcore-sdk/nanossl/faqs/does-trustcore-sdk-provide-key-and-certificate-conversion-utilities.html --- **Question:** Does TrustCore SDK provide any utilities for converting keys and certificates from one format to another? **Answer:** Yes, the following functions provide conversion utilities: - `CA_MGMT_convertKeyDER`: Converts DER file key information to TrustCore SDK NanoCert key BLOB. - `CA_MGMT_convertKeyPEM`: Converts PEM file key information to a TrustCore SDK key BLOB. This function cannot be used to convert OpenSSL keys. - `CA_MGMT_decodeCertificate`: Converts PEM-encoded certificate to DER-encoded certificate. - `CA_MGMT_keyBlobToDER`: Converts NanoCert key BLOB to DER key. For more information about conversion utilities, refer to the NanoCert product guide and the NanoSSL API reference.