|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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)
| 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 |
public static final byte[] EICAR
public static final byte[] CLEAN_EICAR
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.
EICARpublic static final byte[] SHAKESPEARE
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||