#NEWLINE# def _get_symmetric_key( self ) : #NEWLINE# #INDENT# attrs = [ self . _get_attrs ( ) [ 1 ] ] #NEWLINE# key_format_type = KeyFormatType ( KeyFormatTypeEnum . RAW ) #NEWLINE# key_material = KeyMaterial ( self . key ) #NEWLINE# key_value = KeyValue ( key_material , attrs ) #NEWLINE# crypto_alg = CryptographicAlgorithm ( self . algorithm_name ) #NEWLINE# crypto_length = CryptographicLength ( attrs . key_length ) #NEWLINE# usage = CryptographicUsageMask ( self . usage_mask ) #NEWLINE# key_block = KeyBlock ( key_format_type , None , key_value , crypto_alg , crypto_length , usage ) #NEWLINE# return SymmetricKey ( key_block )