com.sap.security.core.server.vsi.api
Interface Virus


public interface Virus

Test virus class. This class contains the SAP internal test patterns for tests of the 'Virus Scan Interface' API.

Please remark that this class is only for the SAP API, not for real tests for an external virus scan engine. The EICAR pattern is standard

History:

     1.0      Initial Version for SAP NetWeaver 04
     1.1      Added a pattern for clean test.
     1.5      Enhancements in the native VSI layer
     1.6      Dual runtime support (JAVA standalone and J2EE)
	

Since:
1.0
Version:
1.6, $DateTime: 2007/03/27 12:26:05 $
See Also:
EICAR online, Readme to usage of EICAR

Field Summary
static byte[] CLEAN_EICAR
          Cleaned EICAR test pattern.
static byte[] EICAR
          EICAR test pattern.
static byte[] SHAKESPEARE
          The SAP internal positive case for a virus scan.
 

Field Detail

EICAR

public static final byte[] EICAR
EICAR test pattern. See SAP OSS note 666568.
See Also:
EICAR online, Readme to usage of EICAR

CLEAN_EICAR

public static final byte[] CLEAN_EICAR
Cleaned EICAR test pattern.

This byte object is not an official EICAR pattern. It was created by SAP development for test purposes. It is not required for a SAP certified solution to provide this pattern, but the SAP test adapter will provide this pattern for "clean" actions. This should help your development to test also a "Clean" function for sucess.

See Also:
EICAR

SHAKESPEARE

public static final byte[] SHAKESPEARE
The SAP internal positive case for a virus scan.

This is definitly no virus - the return code must either be 0 (VSI_OK) or VSI_E_NOT_SCANNED!!! Not scanned can occure if the parameter settings of your Profile/Group/Provider do not contain the parameter SCANBESTEFFORT / SCANALLFILES.