]>
git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/clAppUtils/BlobList.h
4 #include <Security/cssmtype.h>
10 /*** BlobList class for managing groups of raw certs and CRLs ***/
16 : mNumBlobs(0), mBlobList(NULL
) { }
18 /* blob is mallocd & copied; its referent is only copied if copyBlob is
19 * true and is always freed in ~BlobList */
20 void addBlob(const CSSM_DATA
&blob
, CSSM_BOOL copyBlob
= CSSM_FALSE
);
21 int addFile(const char *fileName
, const char *dirName
= NULL
);
22 uint32
numBlobs() { return mNumBlobs
; }
23 CSSM_DATA_PTR
blobList() { return mBlobList
; }
27 CSSM_DATA_PTR mBlobList
;
30 #endif /* _BLOBLIST_H_ */