code: def comparable(self):
      
      string_parts = []
  
      if self.cipher_mode:
        string_parts.append('cipher_mode: {0:s}'.format(self.cipher_mode))
  
      if self.encryption_method:
        string_parts.append('encryption_method: {0:s}'.format(
            self.encryption_method))
  
      if self.initialization_vector:
        initialization_vector = codecs.encode(self.initialization_vector, 'hex')
        initialization_vector = initialization_vector.decode('ascii')
        string_parts.append('initialization_vector: {0:s}'.format(
            initialization_vector))
  
      if self.key:
        key = codecs.encode(self.key, 'hex')
        key = key.decode('ascii')
        string_parts.append('key: {0:s}'.format(key))
  
      return self._GetComparable(sub_comparable_string=', '.join(string_parts))
docs: str: comparable representation of the path specification.