test_class.declarator: executionMessageConverter
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private ExecutionMessageConverter executionMessageConverter;
test_class.type: ExecutionMessageConverter
test_class.var_name: executionMessageConverter
test_class.declarator: sensitiveDataHandler
test_class.modifier: @Autowired
      private
test_class.original_string: @Autowired
      private SensitiveDataHandler sensitiveDataHandler;
test_class.type: SensitiveDataHandler
test_class.var_name: sensitiveDataHandler
test_class.file: engine/queue/score-queue-api/src/test/java/io/cloudslang/engine/queue/entities/ExecutionMessageConverterTest.java
test_class.identifier: ExecutionMessageConverterTest
test_case.body: @Test
      public void testPayloadForSensitiveData() {
          Payload p = new Payload();
          p.setData(new byte[]{0, 1, 2});
          assertFalse(executionMessageConverter.containsSensitiveData(p));
  
          p = new Payload();
          p.setData(new byte[]{1, 0, 0});
          assertTrue(executionMessageConverter.containsSensitiveData(p));
      }
test_case.class_method_signature: ExecutionMessageConverterTest.testPayloadForSensitiveData()
test_case.full_signature: @Test public void testPayloadForSensitiveData()
test_case.identifier: testPayloadForSensitiveData
test_case.invocations: setData assertFalse containsSensitiveData setData assertTrue containsSensitiveData
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPayloadForSensitiveData()
focal_class.declarator: SIZE = 1024
focal_class.modifier: private static final
focal_class.original_string: private static final int SIZE = 1024;
focal_class.type: int
focal_class.var_name: SIZE
focal_class.declarator: sensitiveDataHandler
focal_class.modifier: @Autowired(required = false)
      private
focal_class.original_string: @Autowired(required = false)
      private SensitiveDataHandler sensitiveDataHandler;
focal_class.type: SensitiveDataHandler
focal_class.var_name: sensitiveDataHandler
focal_class.declarator: PAYLOAD_META_DATA_INIT_BYTES = {0}
focal_class.modifier: private static final
focal_class.original_string: private static final byte[] PAYLOAD_META_DATA_INIT_BYTES = {0};
focal_class.type: byte[]
focal_class.var_name: PAYLOAD_META_DATA_INIT_BYTES
focal_class.declarator: INFRA_PART_BYTE = 0
focal_class.modifier: private static final
focal_class.original_string: private static final int INFRA_PART_BYTE = 0;
focal_class.type: int
focal_class.var_name: INFRA_PART_BYTE
focal_class.declarator: IS_SENSITIVE = 1
focal_class.modifier: private static final
focal_class.original_string: private static final int IS_SENSITIVE = 1;
focal_class.type: int
focal_class.var_name: IS_SENSITIVE
focal_class.file: engine/queue/score-queue-api/src/main/java/io/cloudslang/engine/queue/entities/ExecutionMessageConverter.java
focal_class.identifier: ExecutionMessageConverter
focal_class.class_method_signature: ExecutionMessageConverter.extractExecution(Payload payload)
focal_class.full_signature: public T extractExecution(Payload payload)
focal_class.identifier: extractExecution
focal_class.modifiers: public
focal_class.parameters: (Payload payload)
focal_class.return: T
focal_class.signature: T extractExecution(Payload payload)
focal_class.class_method_signature: ExecutionMessageConverter.createPayload(Execution execution)
focal_class.full_signature: public Payload createPayload(Execution execution)
focal_class.identifier: createPayload
focal_class.modifiers: public
focal_class.parameters: (Execution execution)
focal_class.return: Payload
focal_class.signature: Payload createPayload(Execution execution)
focal_class.class_method_signature: ExecutionMessageConverter.createPayload(Execution execution, boolean setContainsSensitiveData)
focal_class.full_signature: public Payload createPayload(Execution execution, boolean setContainsSensitiveData)
focal_class.identifier: createPayload
focal_class.modifiers: public
focal_class.parameters: (Execution execution, boolean setContainsSensitiveData)
focal_class.return: Payload
focal_class.signature: Payload createPayload(Execution execution, boolean setContainsSensitiveData)
focal_class.class_method_signature: ExecutionMessageConverter.checkContainsSensitiveData(Execution execution)
focal_class.full_signature: private boolean checkContainsSensitiveData(Execution execution)
focal_class.identifier: checkContainsSensitiveData
focal_class.modifiers: private
focal_class.parameters: (Execution execution)
focal_class.return: boolean
focal_class.signature: boolean checkContainsSensitiveData(Execution execution)
focal_class.class_method_signature: ExecutionMessageConverter.containsSensitiveData(Payload payload)
focal_class.full_signature: public boolean containsSensitiveData(Payload payload)
focal_class.identifier: containsSensitiveData
focal_class.modifiers: public
focal_class.parameters: (Payload payload)
focal_class.return: boolean
focal_class.signature: boolean containsSensitiveData(Payload payload)
focal_class.class_method_signature: ExecutionMessageConverter.objFromBytes(byte[] bytes)
focal_class.full_signature: private T objFromBytes(byte[] bytes)
focal_class.identifier: objFromBytes
focal_class.modifiers: private
focal_class.parameters: (byte[] bytes)
focal_class.return: T
focal_class.signature: T objFromBytes(byte[] bytes)
focal_class.class_method_signature: ExecutionMessageConverter.objToBytes(Object obj)
focal_class.full_signature: private byte[] objToBytes(Object obj)
focal_class.identifier: objToBytes
focal_class.modifiers: private
focal_class.parameters: (Object obj)
focal_class.return: byte[]
focal_class.signature: byte[] objToBytes(Object obj)
focal_class.class_method_signature: ExecutionMessageConverter.setSensitive(Payload payload)
focal_class.full_signature: private void setSensitive(Payload payload)
focal_class.identifier: setSensitive
focal_class.modifiers: private
focal_class.parameters: (Payload payload)
focal_class.return: void
focal_class.signature: void setSensitive(Payload payload)
focal_class.class_method_signature: ExecutionMessageConverter.isSensitive(Payload payload)
focal_class.full_signature: private boolean isSensitive(Payload payload)
focal_class.identifier: isSensitive
focal_class.modifiers: private
focal_class.parameters: (Payload payload)
focal_class.return: boolean
focal_class.signature: boolean isSensitive(Payload payload)
focal_class.class_method_signature: ExecutionMessageConverter.skipPayloadMetaData(ByteArrayInputStream is)
focal_class.full_signature: private void skipPayloadMetaData(ByteArrayInputStream is)
focal_class.identifier: skipPayloadMetaData
focal_class.modifiers: private
focal_class.parameters: (ByteArrayInputStream is)
focal_class.return: void
focal_class.signature: void skipPayloadMetaData(ByteArrayInputStream is)
focal_class.class_method_signature: ExecutionMessageConverter.initPayloadMetaData(ByteArrayOutputStream baos)
focal_class.full_signature: private void initPayloadMetaData(ByteArrayOutputStream baos)
focal_class.identifier: initPayloadMetaData
focal_class.modifiers: private
focal_class.parameters: (ByteArrayOutputStream baos)
focal_class.return: void
focal_class.signature: void initPayloadMetaData(ByteArrayOutputStream baos)
focal_method.body: public boolean containsSensitiveData(Payload payload) {
          return isSensitive(payload);
      }
focal_method.class_method_signature: ExecutionMessageConverter.containsSensitiveData(Payload payload)
focal_method.full_signature: public boolean containsSensitiveData(Payload payload)
focal_method.identifier: containsSensitiveData
focal_method.invocations: isSensitive
focal_method.modifiers: public
focal_method.parameters: (Payload payload)
focal_method.return: boolean
focal_method.signature: boolean containsSensitiveData(Payload payload)