Changeset 57548 in vbox
- Timestamp:
- Aug 26, 2015 11:36:25 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/crypto/RTCrStoreCertAddFromFile.cpp
r57358 r57548 40 40 * Global Variables * 41 41 *********************************************************************************************************************************/ 42 static RTCRPEMMARKERWORD const g_aWords_Certificate[] = { { RT_STR_TUPLE("CERTIFICATE") } }; 43 /** X509 Certificate markers. */ 44 static RTCRPEMMARKER const g_aCertificateMarkers[] = { { g_aWords_Certificate, RT_ELEMENTS(g_aWords_Certificate) } }; 42 /** BEGIN CERTIFICATE / END CERTIFICATE. */ 43 static RTCRPEMMARKERWORD const g_aWords_Certificate[] = 44 { 45 { RT_STR_TUPLE("CERTIFICATE") } 46 }; 47 48 /** BEGIN TRUSTED CERTIFICATE / END TRUSTED CERTIFICATE. */ 49 static RTCRPEMMARKERWORD const g_aWords_TrustedCertificate[] = 50 { 51 { RT_STR_TUPLE("TRUSTED") }, 52 { RT_STR_TUPLE("CERTIFICATE") } 53 }; 54 55 /** BEGIN X509 CERTIFICATE / END X509 CERTIFICATE. (old) */ 56 static RTCRPEMMARKERWORD const g_aWords_X509Certificate[] = 57 { 58 { RT_STR_TUPLE("X509") }, 59 { RT_STR_TUPLE("CERTIFICATE") } 60 }; 61 62 /** 63 * X509 Certificate markers. 64 * 65 * @remark See crypto/pem/pem.h in OpenSSL for a matching list. 66 */ 67 static RTCRPEMMARKER const g_aCertificateMarkers[] = 68 { 69 { g_aWords_Certificate, RT_ELEMENTS(g_aWords_Certificate) }, 70 { g_aWords_TrustedCertificate, RT_ELEMENTS(g_aWords_TrustedCertificate) }, 71 { g_aWords_X509Certificate, RT_ELEMENTS(g_aWords_X509Certificate) } 72 }; 45 73 46 74
Note:
See TracChangeset
for help on using the changeset viewer.