Changeset 57584 in vbox for trunk/include/iprt
- Timestamp:
- Aug 29, 2015 8:02:02 PM (9 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/crypto/store.h
r57572 r57584 144 144 145 145 /** 146 * Adds certificates from the specified file.147 *148 * @returns IPRT status code. Even when RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR is149 * used, an error is returned as an error (and not a warning).150 *151 * @param hStore The store to add the certificate(s) to.152 * @param fFlags RTCRCERTCTX_F_ADD_IF_NOT_FOUND and/or153 * RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR.154 * @param pszFilename The filename.155 * @param pErrInfo Where to return additional error/warning info.156 * Optional.157 */158 RTDECL(int) RTCrStoreCertAddFromFile(RTCRSTORE hStore, uint32_t fFlags, const char *pszFilename, PRTERRINFO pErrInfo);159 160 /**161 146 * Adds certificates from files in the specified directory. 162 147 * … … 176 161 RTDECL(int) RTCrStoreCertAddFromDir(RTCRSTORE hStore, uint32_t fFlags, const char *pszDir, 177 162 PCRTSTRTUPLE paSuffixes, size_t cSuffixes, PRTERRINFO pErrInfo); 163 164 /** 165 * Adds certificates from the specified file. 166 * 167 * The supported file formats are: 168 * - PEM (base 64 blobs wrapped in -----BEGIN / END----). Support multiple 169 * certificates in one file. 170 * - Binary DER ASN.1 certificate. Only one per file. 171 * - Java key store version 2. 172 * 173 * @returns IPRT status code. Even when RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR is 174 * used, an error is returned as an error (and not a warning). 175 * 176 * @param hStore The store to add the certificate(s) to. 177 * @param fFlags RTCRCERTCTX_F_ADD_IF_NOT_FOUND and/or 178 * RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR. 179 * @param pszFilename The filename. 180 * @param pErrInfo Where to return additional error/warning info. 181 * Optional. 182 */ 183 RTDECL(int) RTCrStoreCertAddFromFile(RTCRSTORE hStore, uint32_t fFlags, const char *pszFilename, PRTERRINFO pErrInfo); 184 185 /** 186 * Adds certificates from the specified java key store file. 187 * 188 * @returns IPRT status code. Even when RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR is 189 * used, an error is returned as an error (and not a warning). 190 * 191 * @param hStore The store to add the certificate(s) to. 192 * @param fFlags RTCRCERTCTX_F_ADD_IF_NOT_FOUND and/or 193 * RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR. 194 * @param pszFilename The path to the JKS file. 195 * @param pErrInfo Where to return additional error/warning info. 196 * Optional. 197 */ 198 RTDECL(int) RTCrStoreCertAddFromJavaKeyStore(RTCRSTORE hStore, uint32_t fFlags, const char *pszFilename, PRTERRINFO pErrInfo); 199 200 /** 201 * Adds certificates from an in-memory java key store. 202 * 203 * @returns IPRT status code. Even when RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR is 204 * used, an error is returned as an error (and not a warning). 205 * 206 * @param hStore The store to add the certificate(s) to. 207 * @param fFlags RTCRCERTCTX_F_ADD_IF_NOT_FOUND and/or 208 * RTCRCERTCTX_F_ADD_CONTINUE_ON_ERROR. 209 * @param pvContent Pointer to the key store bytes. 210 * @param cbContent The size of the key store. 211 * @param pszErrorName The file name or whatever helpful indicator the 212 * caller want in the error messages. 213 * @param pErrInfo Where to return additional error/warning info. 214 * Optional. 215 */ 216 RTDECL(int) RTCrStoreCertAddFromJavaKeyStoreInMem(RTCRSTORE hStore, uint32_t fFlags, void const *pvContent, size_t cbContent, 217 const char *pszErrorName, PRTERRINFO pErrInfo); 178 218 179 219 /** -
trunk/include/iprt/log.h
r57004 r57584 65 65 RTLOGGROUP_TIME, 66 66 RTLOGGROUP_TIMER, 67 RTLOGGROUP_CRYPTO, 67 68 RTLOGGROUP_ZIP = 31, 68 69 RTLOGGROUP_FIRST_USER = 32 … … 96 97 "RT_TIME", \ 97 98 "RT_TIMER", \ 98 "RT_ 13",\99 "RT_CRYPTO", \ 99 100 "RT_14", \ 100 101 "RT_15", \ -
trunk/include/iprt/mangling.h
r57577 r57584 2902 2902 # define RTCrStoreCreateInMem RT_MANGLER(RTCrStoreCreateInMem) 2903 2903 # define RTCrStoreCreateSnapshotById RT_MANGLER(RTCrStoreCreateSnapshotById) 2904 # define RTCrStoreCertAddFromDir RT_MANGLER(RTCrStoreCertAddFromDir) 2904 2905 # define RTCrStoreCertAddFromFile RT_MANGLER(RTCrStoreCertAddFromFile) 2905 # define RTCrStoreCertAddFromDir RT_MANGLER(RTCrStoreCertAddFromDir) 2906 # define RTCrStoreCertAddFromJavaKeyStore RT_MANGLER(RTCrStoreCertAddFromJavaKeyStore) 2907 # define RTCrStoreCertAddFromJavaKeyStoreInMem RT_MANGLER(RTCrStoreCertAddFromJavaKeyStoreInMem) 2906 2908 # define RTCrStoreCertAddFromStore RT_MANGLER(RTCrStoreCertAddFromStore) 2907 2909 # define RTCrStoreCertExportAsPem RT_MANGLER(RTCrStoreCertExportAsPem)
Note:
See TracChangeset
for help on using the changeset viewer.