#NEWLINE# def read( self , istream ) : #NEWLINE# #INDENT# super ( KeyWrappingData , self ) . read ( istream ) #NEWLINE# tstream = BytearrayStream ( istream . read ( self . length ) ) #NEWLINE# self . wrapping_method = WrappingMethod ( ) #NEWLINE# self . wrapping_method . read ( tstream ) #NEWLINE# if self . is_tag_next ( Tags . ENCRYPTION_KEY_INFORMATION , tstream ) : #NEWLINE# #INDENT# self . encryption_key_information = EncryptionKeyInformation ( ) #NEWLINE# self . encryption_key_information . read ( tstream ) #NEWLINE# #UNINDENT# if self . is_tag_next ( Tags . MAC_SIGNATURE_KEY_INFORMATION , tstream ) : #NEWLINE# #INDENT# self . mac_signature_key_information = MACSignatureKeyInformation ( ) #NEWLINE# self . mac_signature_key_information . read ( tstream ) #NEWLINE# #UNINDENT# if self . is_tag_next ( Tags . MAC_SIGNATURE , tstream ) : #NEWLINE# #INDENT# self . mac_signature = KeyWrappingData . MACSignature ( ) #NEWLINE# self . mac_signature . read ( tstream ) #NEWLINE# #UNINDENT# if self . is_tag_next ( Tags . IV_COUNTER_NONCE , tstream ) : #NEWLINE# #INDENT# self . iv_counter_nonce = KeyWrappingData . IVCounterNonce ( ) #NEWLINE# self . iv_counter_nonce . read ( tstream ) #NEWLINE# #UNINDENT# if self . is_tag_next ( Tags . ENCODING_OPTION , tstream ) : #NEWLINE# #INDENT# self . encoding_option = EncodingOption ( ) #NEWLINE# self . encoding_option . read ( tstream ) #NEWLINE# #UNINDENT# self . is_oversized ( tstream ) #NEWLINE# self . validate ( )