3#include "SelphIDVerifier.h"
4#include "SelphIDFacialAuthenticationResultNet.h"
5#include "SelphIDVerifierResultNet.h"
6#include "SelphIDVerifierOptionsNet.h"
7#include "SelphIDRawTemplateInfoNet.h"
8#include "SelphIDFacialLivenessResultNet.h"
9#include "SelphIDApiTrackingResultNet.h"
12using namespace System;
13using namespace System::Collections::Generic;
15namespace FPhiSelphIDNet {
22 FPhiSelphID::SelphIDVerifier *_verifier;
113 array<Byte> ^ imageBufferTarget,
125 array<Byte> ^ rawTemplateBufferTarget,
150 array<Byte> ^ facialTemplateBufferTarget,
194 array<Byte> ^ rawTemplateBufferTarget,
208 array<Byte> ^ rawTemplateBufferTarget, array<Byte> ^ extraData,
220 array<Byte> ^ rawTemplateBufferTarget,
257 array<Byte> ^ imageBufferTarget,
299 String ^ source, array<Byte> ^ imageBufferQuery,
300 array<Byte> ^ imageBufferTarget, array<Byte> ^ extraData);
355 void SetTrackingProxy(String ^ proxyHost,
unsigned short proxyPort, String ^ proxyUser, String ^ proxyPass);
366 array<Byte> ^ rawTemplateBufferTarget,
391 array<Byte> ^ rawTemplateBufferTarget,
460 array<Byte> ^ extraData,
TrackingFamily
Family of Api tracking operation.
Definition SelphIDConstantsNet.h:427
OperationResultReason
Reason for api tracking finish events.
Definition SelphIDConstantsNet.h:469
FacialAuthenticationStatus
Facial Authentication status.
Definition SelphIDConstantsNet.h:10
OperationResultStatus
Status of Api tracking operation.
Definition SelphIDConstantsNet.h:443
SelphID Api Tracking Result.
Definition SelphIDApiTrackingResultNet.h:14
SelphIDDocumentResult.
Definition SelphIDDocumentResultNet.h:13
SelphIDFacialAuthenticationResult.
Definition SelphIDFacialAuthenticationResultNet.h:13
SelphID Facial Liveness Result.
Definition SelphIDFacialLivenessResultNet.h:14
SelphIDRawTemplateInfo.
Definition SelphIDRawTemplateInfoNet.h:11
FacePhi SelphID verifier.
Definition SelphIDVerifierNet.h:20
void LoadWithConfigPath(String ^ configFilePath)
Performs parameter and module loading.
SelphIDVerifier()
Creates a new instance of SelphIDVerifier.
SelphIDApiTrackingResult ^ AuthenticateFacialTrackingEvent(TrackingFamily family, FacialAuthenticationStatus authStatus, float similarity, String ^ source, array< Byte > ^ imageBufferQuery, array< Byte > ^ imageBufferTarget, array< Byte > ^ extraData)
Send a "Facial authentication" event in API Tracking. Also can upload the authentication images.
void Unload()
Performs module deallocation and free memory.
SelphIDFacialLivenessResult ^ EvaluatePassiveLivenessWithTokenBuffer(array< Byte > ^ tokenBuffer, SelphIDVerifierOptions ^ verifierOptions)
Evaluate face passive liveness.
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithRawTemplates(array< Byte > ^ rawTemplateBufferQuery, array< Byte > ^ rawTemplateBufferTarget, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw template buffers with verifier options.
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithRawTemplates(array< Byte > ^ rawTemplateBufferQuery, array< Byte > ^ rawTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw template buffers with verifier options.
void LoadFromEnvVars()
Performs parameter and module loading from environment variables.
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithImageBuffers(array< Byte > ^ imageBufferQuery, array< Byte > ^ imageBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from facial image buffers.
SelphIDVerifierResult ^ VerifySelphIDWithImageRawTemplate(array< Byte > ^ imageBufferQuery, array< Byte > ^ rawTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Performs the facial authentication and passive liveness with image buffer, raw template and verifier ...
SelphIDVerifierResult ^ VerifySelphIDWithRawTemplates(array< Byte > ^ rawTemplateBufferQuery, array< Byte > ^ rawTemplateBufferTarget, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Performs the facial authentication and passive liveness with raw templates and verifier options....
SelphIDFacialExtractionResult ^ ExtractFacialWithRawTemplate(array< Byte > ^ rawTemplateBuffer, SelphIDVerifierOptions ^ verifierOptions)
Extracts facial template from template raw buffer.
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithImageRawTemplate(array< Byte > ^ imageBufferQuery, array< Byte > ^ rawTemplateBufferTarget, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw document and raw facial template buffers with verifier op...
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithRawDocumentRawTemplate(array< Byte > ^ rawDocumentBufferQuery, array< Byte > ^ rawTemplateBufferTarget, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw document and raw facial template buffers with verifier op...
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithRawDocumentImage(array< Byte > ^ rawDocumentBufferQuery, array< Byte > ^ imageBufferTarget, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw document and raw facial template buffers with verifier op...
SelphIDDocumentResult ^ ExtractDocumentWithRawDocument(array< Byte > ^ rawDocumentBuffer, SelphIDVerifierOptions ^ verifierOptions)
Extracts document data from raw document.
SelphIDFacialLivenessResult ^ EvaluatePassiveLivenesWithImageBuffer(array< Byte > ^ imageBuffer, array< Byte > ^ extraData)
Evaluate face passive liveness.
SelphIDDocumentResult ^ ExtractDocumentWithRawDocument(array< Byte > ^ rawDocumentBuffer, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Extracts document data from raw document.
SelphIDFacialLivenessResult ^ EvaluatePassiveLivenessWithTokenBuffer(array< Byte > ^ tokenBuffer, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Evaluate face passive liveness.
SelphIDVerifierResult ^ VerifySelphIDWithImageRawTemplate(array< Byte > ^ imageBufferQuery, array< Byte > ^ rawTemplateBufferTarget, array< Byte > ^ extraData, SelphIDVerifierOptions ^ verifierOptions)
Performs the facial authentication and passive liveness with image buffer, raw template and verifier ...
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithRawDocumentRawTemplate(array< Byte > ^ rawDocumentBufferQuery, array< Byte > ^ rawTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw document and raw facial template buffers with verifier op...
SelphIDFacialExtractionResult ^ ExtractFacialWithImageBuffer(array< Byte > ^ imageBuffer, SelphIDVerifierOptions ^ verifierOptions)
Extracts facial template from image buffer.
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithExtractionResults(SelphIDFacialExtractionResult ^ extractionResultQuery, SelphIDFacialExtractionResult ^ extractionResultTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from facial extraction results.
bool IsSDKAlive()
Get if SDK is alive.
SelphIDApiTrackingResult ^ SecurityInfoTrackingEvent(String ^ securityDataJson, bool succeed, String ^ source, array< Byte > ^ extraData)
Send a "SECURITY_INFO_DATA" event in API Tracking, based on security results.
SelphIDDocumentResult ^ VerifyDocumentWithRawDocument(array< Byte > ^ rawDocumentBuffer, SelphIDVerifierOptions ^ verifierOptions)
Verify document data from raw document.
int GetFacialTemplateVersion(array< Byte > ^ facialTemplateBuffer)
Gets facial template version.
SelphIDVerifierResult ^ VerifySelphIDWithRawTemplates(array< Byte > ^ rawTemplateBufferQuery, array< Byte > ^ rawTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Performs the facial authentication and passive liveness with raw templates and verifier options....
SelphIDRawTemplateInfo ^ GetRawTemplateInfo(array< Byte > ^ rawTemplateBuffer)
Gets raw template information.
~SelphIDVerifier()
SelphIDVerifier destructor.
void SetMultitenantMode(bool multiTenant)
Turns on or off the API tracking multitenant functionality.
array< Byte > ^ SetTrackingEventSource(String ^ eventSource, array< Byte > ^ extraData)
Change the event source value in extraData token.
String ^ GetVersion()
Gets SelphID version string.
SelphIDVerifierResult ^ VerifySelphIDWithRawDocumentImage(array< Byte > ^ rawDocumentBufferQuery, array< Byte > ^ imageBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Performs the facial authentication and document verification with verifier options.
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithRawDocumentImage(array< Byte > ^ rawDocumentBufferQuery, array< Byte > ^ imageBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw document and raw facial template buffers with verifier op...
void Load()
Performs parameter and module loading.
SelphIDApiTrackingResult ^ FinishTrackingEvent(TrackingFamily family, OperationResultStatus status, OperationResultReason reason, array< Byte > ^ extraData)
Send a "Operation result" and "Step change finish" events in API Tracking.
SelphIDApiTrackingResult ^ OCRTrackingEvent(String ^ ocrDataJson, String ^ source, array< Byte > ^ extraData)
Send a custom OCR Data event in API Tracking.
SelphIDFacialLivenessResult ^ EvaluatePassiveLivenesWithImageBuffer(array< Byte > ^ imageBuffer)
Evaluate face passive liveness.
void SetTrackingProxy(String ^ proxyHost, unsigned short proxyPort, String ^ proxyUser, String ^ proxyPass)
Set proxy parameters for API Tracking. After calling this function, all requests to the tracking API ...
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithImageRawTemplate(array< Byte > ^ imageBufferQuery, array< Byte > ^ rawTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from raw document and raw facial template buffers with verifier op...
SelphIDFacialAuthenticationResult ^ AuthenticateFacialWithFacialTemplates(array< Byte > ^ facialTemplateBufferQuery, array< Byte > ^ facialTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Authenticates two facial templates from facial template buffers with verifier options.
bool IsMultitenantEnabled()
Checks if SelphID is running in multitenant or monotenant mode.
SelphIDVerifierResult ^ VerifySelphIDWithRawDocumentRawTemplate(array< Byte > ^ rawDocumentBufferQuery, array< Byte > ^ rawTemplateBufferTarget, SelphIDVerifierOptions ^ verifierOptions)
Performs the facial authentication and document verification verifier options.
SelphIDVerifierOptions.
Definition SelphIDVerifierOptionsNet.h:13
SelphIDVerifierResult.
Definition SelphIDVerifierResultNet.h:13