|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.trendmicro.grid.acl.l0.PublicFileRestService
@Service public class PublicFileRestService
Implements a REST styled interface on top of the SOAP api using JAX-RS
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.trendmicro.grid.acl.l0.Level0RestService |
---|
Level0RestService.RestUtil |
Constructor Summary | |
---|---|
PublicFileRestService()
|
Method Summary | |
---|---|
FileDetails |
getFileDetails(String sha1OrMd5Hash)
Returns the file information (containing info and attached metadata) on the specified file. |
FileDetails |
getFileDetails(String sha1Hash,
String md5Hash)
Returns the file details (containing info and attached metadata) on the specified file. |
FileInformation |
getFileInformation(String sha1OrMd5Hash)
Returns the file information (containing last modified and tags) on the specified file. |
FileInformation |
getFileInformation(String sha1Hash,
String md5Hash)
Returns the file information (containing last modified and tags) on the specified file. |
String |
isFileKnownGood(String sha1OrMd5Hash)
Allows to query the GRID whether a file is known to be good. |
String |
isFileKnownGood(String sha1Hash,
String md5Hash)
Allows to query the GRID whether a file is known to be good. |
String |
isFilePureWhite(String sha1OrMd5Hash)
Allows to query the GRID whether a file is known to be good and not included in the high risk category. |
String |
isFilePureWhite(String sha1Hash,
String md5Hash)
Allows to query the GRID whether a file is known to be good and not included in the high risk category. |
String |
isFileTaggedWith(String sha1OrMd5Hash,
List<String> tags)
Allows to query the GRID whether a file is tagged with a set of tags. |
String |
isFileTaggedWith(String sha1Hash,
String md5Hash,
List<String> tags)
Allows to query the GRID whether a file is tagged with a set of tags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicFileRestService()
Method Detail |
---|
public String isFileKnownGood(String sha1OrMd5Hash) throws AuthenticationException
sha1OrMd5Hash
- The SHA1 or MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public String isFileKnownGood(String sha1Hash, String md5Hash) throws AuthenticationException
sha1Hash
- The SHA1 hash (as hexadecimal string) of the file to query.md5Hash
- The MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public String isFilePureWhite(String sha1OrMd5Hash) throws AuthenticationException
sha1OrMd5Hash
- The SHA1 or MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public String isFilePureWhite(String sha1Hash, String md5Hash) throws AuthenticationException
sha1Hash
- The SHA1 hash (as hexadecimal string) of the file to query.md5Hash
- The MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public String isFileTaggedWith(String sha1OrMd5Hash, List<String> tags) throws AuthenticationException
sha1OrMd5Hash
- The SHA1 or MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public String isFileTaggedWith(String sha1Hash, String md5Hash, List<String> tags) throws AuthenticationException
sha1Hash
- The SHA1 hash (as hexadecimal string) of the file to query.md5Hash
- The MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public FileInformation getFileInformation(String sha1OrMd5Hash) throws AuthenticationException
sha1OrMd5Hash
- The SHA1 or MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public FileInformation getFileInformation(String sha1Hash, String md5Hash) throws AuthenticationException
sha1Hash
- The SHA1 hash (as hexadecimal string) of the file to query.md5Hash
- The MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public FileDetails getFileDetails(String sha1OrMd5Hash) throws AuthenticationException
sha1OrMd5Hash
- The SHA1 or MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.public FileDetails getFileDetails(String sha1Hash, String md5Hash) throws AuthenticationException
sha1Hash
- The SHA1 hash (as hexadecimal string) of the file to query.md5Hash
- The MD5 hash (as hexadecimal string) of the file to query.
AuthenticationException
- In case of this service requires authentication and the current user session
is not authenticated or doesn't have the right to access the service.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |