X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b04fe171f0375ecd5d8a24747ca1dff85720a0ca..6b200bc335dc93c5516ccb52f14bd896d8c7fad7:/SecurityTests/clxutils/clAppUtils/BlobList.h?ds=inline diff --git a/SecurityTests/clxutils/clAppUtils/BlobList.h b/SecurityTests/clxutils/clAppUtils/BlobList.h deleted file mode 100644 index e30770f9..00000000 --- a/SecurityTests/clxutils/clAppUtils/BlobList.h +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef _BLOBLIST_H_ -#define _BLOBLIST_H_ - -#include - -#ifndef NULL -#define NULL (0) -#endif - -/*** BlobList class for managing groups of raw certs and CRLs ***/ - -class BlobList -{ -public: - BlobList() - : mNumBlobs(0), mBlobList(NULL) { } - ~BlobList(); - /* blob is mallocd & copied; its referent is only copied if copyBlob is - * true and is always freed in ~BlobList */ - void addBlob(const CSSM_DATA &blob, CSSM_BOOL copyBlob = CSSM_FALSE); - int addFile(const char *fileName, const char *dirName = NULL); - uint32 numBlobs() { return mNumBlobs; } - CSSM_DATA_PTR blobList() { return mBlobList; } - -private: - uint32 mNumBlobs; - CSSM_DATA_PTR mBlobList; -}; - -#endif /* _BLOBLIST_H_ */