public interface Virus
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 1.1 Added a pattern for clean test. 1.5 Enhancements in the native VSI layer 1.6 Dual runtime support (JAVA stand-alone and J2EE) 1.7 Added scanStream methods and support ActiveContent scan 1.8 Added getContentInfo and support for Content filtering 1.9 Minor bug fixes and new vendor parameters
Modifier and Type | Field and Description |
---|---|
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.
|
static final byte[] EICAR
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 success.
EICAR
static final byte[] SHAKESPEARE
This is definitely no virus - the return code must either be 0 (VSI_OK) or VSI_E_NOT_SCANNED!!! Not scanned can occur if the parameter settings of your Profile/Group/Provider do not contain the parameter SCANBESTEFFORT / SCANALLFILES.
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/vsi/api
|
api
|
BC-JAS-SEC
|
[sap.com] J2EE-APPS
|
[sap.com]
|
-
|
BC-SEC-VIR
|
[sap.com] J2EE-APPS
|
[sap.com]
|
default
|
BC-SEC-VIR
|
Copyright 2018 SAP AG Complete Copyright Notice