Skip to content

BeechCMS


BeechCMS / @beechcms/core / VirusTotalAntivirusProvider

Class: VirusTotalAntivirusProvider ​

Implements ​

Constructors ​

Constructor ​

new VirusTotalAntivirusProvider(apiKey?): VirusTotalAntivirusProvider

Parameters ​

apiKey? ​

string

Returns ​

VirusTotalAntivirusProvider

Properties ​

name ​

readonly name: "virustotal" = 'virustotal'

Implementation of ​

IAntivirusProvider.name

Methods ​

scan() ​

scan(fileBuffer, filename): Promise<AntivirusScanResult>

Parameters ​

fileBuffer ​

ArrayBuffer | Uint8Array<ArrayBufferLike>

filename ​

string

Returns ​

Promise<AntivirusScanResult>

Implementation of ​

IAntivirusProvider.scan