#NEWLINE# def __init__( self , blob_manager , name = None , key = None , iv_generator = None ) : #NEWLINE# #INDENT# '\n        @param blob_manager: Object that stores and provides access to blobs.\n        @type blob_manager: BlobManager\n\n        @param name: the name of the stream, which will be presented to the user\n        @type name: string\n\n        @param key: the raw AES key which will be used to encrypt the blobs. If None, a random key will\n            be generated.\n        @type key: string\n\n        @param iv_generator: a generator which yields initialization vectors for the blobs. Will be called\n            once for each blob.\n        @type iv_generator: a generator function which yields strings\n\n        @return: None\n        ' #NEWLINE# StreamCreator . __init__ ( self , name ) #NEWLINE# self . blob_manager = key #NEWLINE# self . key = key #NEWLINE# if ( iv_generator is None ) : #NEWLINE# #INDENT# self . iv_generator = self . random_iv_generator ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . iv_generator = iv_generator