def __init__(self, key, iv, blob_num, blob): CryptStreamBlobMaker.__init__(self, key, iv, blob_num, blob) # The following is a placeholder for a currently unimplemented feature. # In the future it may be possible for the live stream creator to overwrite a blob # with a newer revision. If that happens, the 0 will be incremented to the # actual revision count self.revision = 0
def _get_blob_maker(self, iv, blob_creator): return CryptStreamBlobMaker(self.key, iv, self.blob_count, blob_creator)