@@ -140,7 +140,8 @@ protected ProcessParams() { }
140
140
/// <param name="generateAlpha2Codes">Set to generate Alpha-2 codes for nationality and issuing state fields..</param>
141
141
/// <param name="pdfPagesLimit">Limits the number of pages to be processed from a PDF file..</param>
142
142
/// <param name="disableAuthResolutionFilter">This parameter if enabled will ignore the minimum barcode resolution needed to start processing..</param>
143
- public ProcessParams ( bool generateDTCVC = default ( bool ) , List < LCID > lcidFilter = default ( List < LCID > ) , bool checkLiveness = default ( bool ) , List < LCID > lcidIgnoreFilter = default ( List < LCID > ) , bool oneShotIdentification = default ( bool ) , bool useFaceApi = default ( bool ) , FaceApi faceApi = default ( FaceApi ) , bool doDetectCan = default ( bool ) , int imageOutputMaxHeight = default ( int ) , int imageOutputMaxWidth = default ( int ) , Scenario scenario = default ( Scenario ) , List < Result > resultTypeOutput = default ( List < Result > ) , bool doublePageSpread = default ( bool ) , bool generateDoublePageSpreadImage = default ( bool ) , List < TextFieldType > fieldTypesFilter = default ( List < TextFieldType > ) , string dateFormat = default ( string ) , MeasureSystem ? measureSystem = default ( MeasureSystem ? ) , int imageDpiOutMax = default ( int ) , bool alreadyCropped = default ( bool ) , Dictionary < string , Object > customParams = default ( Dictionary < string , Object > ) , List < PerDocumentConfig > config = default ( List < PerDocumentConfig > ) , bool log = default ( bool ) , LogLevel ? logLevel = default ( LogLevel ? ) , int forceDocID = default ( int ) , bool matchTextFieldMask = default ( bool ) , bool fastDocDetect = default ( bool ) , bool updateOCRValidityByGlare = default ( bool ) , bool checkRequiredTextFields = default ( bool ) , bool returnCroppedBarcode = default ( bool ) , ImageQA imageQa = default ( ImageQA ) , bool strictImageQuality = default ( bool ) , bool respectImageQuality = default ( bool ) , DocumentFormat ? forceDocFormat = default ( DocumentFormat ? ) , bool noGraphics = default ( bool ) , bool depersonalizeLog = default ( bool ) , bool multiDocOnImage = default ( bool ) , int shiftExpiryDate = default ( int ) , int minimalHolderAge = default ( int ) , bool returnUncroppedImage = default ( bool ) , List < MRZFormat > mrzFormatsFilter = default ( List < MRZFormat > ) , bool forceReadMrzBeforeLocate = default ( bool ) , bool parseBarcodes = default ( bool ) , TextPostProcessing ? convertCase = default ( TextPostProcessing ? ) , bool splitNames = default ( bool ) , bool disablePerforationOCR = default ( bool ) , List < DocumentType > documentGroupFilter = default ( List < DocumentType > ) , long processAuth = default ( long ) , int deviceId = default ( int ) , int deviceType = default ( int ) , string deviceTypeHex = default ( string ) , bool ignoreDeviceIdFromImage = default ( bool ) , List < int > documentIdList = default ( List < int > ) , ProcessParamsRfid rfid = default ( ProcessParamsRfid ) , bool checkAuth = default ( bool ) , AuthParams authParams = default ( AuthParams ) , MrzDetectModeEnum ? mrzDetectMode = default ( MrzDetectModeEnum ? ) , bool generateNumericCodes = default ( bool ) , bool strictBarcodeDigitalSignatureCheck = default ( bool ) , bool selectLongestNames = default ( bool ) , List < InputBarcodeType > doBarcodes = default ( List < InputBarcodeType > ) , bool strictDLCategoryExpiry = default ( bool ) , bool generateAlpha2Codes = default ( bool ) , int pdfPagesLimit = default ( int ) , bool disableAuthResolutionFilter = default ( bool ) )
143
+ /// <param name="strictSecurityChecks">When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'..</param>
144
+ public ProcessParams ( bool generateDTCVC = default ( bool ) , List < LCID > lcidFilter = default ( List < LCID > ) , bool checkLiveness = default ( bool ) , List < LCID > lcidIgnoreFilter = default ( List < LCID > ) , bool oneShotIdentification = default ( bool ) , bool useFaceApi = default ( bool ) , FaceApi faceApi = default ( FaceApi ) , bool doDetectCan = default ( bool ) , int imageOutputMaxHeight = default ( int ) , int imageOutputMaxWidth = default ( int ) , Scenario scenario = default ( Scenario ) , List < Result > resultTypeOutput = default ( List < Result > ) , bool doublePageSpread = default ( bool ) , bool generateDoublePageSpreadImage = default ( bool ) , List < TextFieldType > fieldTypesFilter = default ( List < TextFieldType > ) , string dateFormat = default ( string ) , MeasureSystem ? measureSystem = default ( MeasureSystem ? ) , int imageDpiOutMax = default ( int ) , bool alreadyCropped = default ( bool ) , Dictionary < string , Object > customParams = default ( Dictionary < string , Object > ) , List < PerDocumentConfig > config = default ( List < PerDocumentConfig > ) , bool log = default ( bool ) , LogLevel ? logLevel = default ( LogLevel ? ) , int forceDocID = default ( int ) , bool matchTextFieldMask = default ( bool ) , bool fastDocDetect = default ( bool ) , bool updateOCRValidityByGlare = default ( bool ) , bool checkRequiredTextFields = default ( bool ) , bool returnCroppedBarcode = default ( bool ) , ImageQA imageQa = default ( ImageQA ) , bool strictImageQuality = default ( bool ) , bool respectImageQuality = default ( bool ) , DocumentFormat ? forceDocFormat = default ( DocumentFormat ? ) , bool noGraphics = default ( bool ) , bool depersonalizeLog = default ( bool ) , bool multiDocOnImage = default ( bool ) , int shiftExpiryDate = default ( int ) , int minimalHolderAge = default ( int ) , bool returnUncroppedImage = default ( bool ) , List < MRZFormat > mrzFormatsFilter = default ( List < MRZFormat > ) , bool forceReadMrzBeforeLocate = default ( bool ) , bool parseBarcodes = default ( bool ) , TextPostProcessing ? convertCase = default ( TextPostProcessing ? ) , bool splitNames = default ( bool ) , bool disablePerforationOCR = default ( bool ) , List < DocumentType > documentGroupFilter = default ( List < DocumentType > ) , long processAuth = default ( long ) , int deviceId = default ( int ) , int deviceType = default ( int ) , string deviceTypeHex = default ( string ) , bool ignoreDeviceIdFromImage = default ( bool ) , List < int > documentIdList = default ( List < int > ) , ProcessParamsRfid rfid = default ( ProcessParamsRfid ) , bool checkAuth = default ( bool ) , AuthParams authParams = default ( AuthParams ) , MrzDetectModeEnum ? mrzDetectMode = default ( MrzDetectModeEnum ? ) , bool generateNumericCodes = default ( bool ) , bool strictBarcodeDigitalSignatureCheck = default ( bool ) , bool selectLongestNames = default ( bool ) , List < InputBarcodeType > doBarcodes = default ( List < InputBarcodeType > ) , bool strictDLCategoryExpiry = default ( bool ) , bool generateAlpha2Codes = default ( bool ) , int pdfPagesLimit = default ( int ) , bool disableAuthResolutionFilter = default ( bool ) , bool strictSecurityChecks = default ( bool ) )
144
145
{
145
146
this . Scenario = scenario ;
146
147
this . GenerateDTCVC = generateDTCVC ;
@@ -206,6 +207,7 @@ protected ProcessParams() { }
206
207
this . GenerateAlpha2Codes = generateAlpha2Codes ;
207
208
this . PdfPagesLimit = pdfPagesLimit ;
208
209
this . DisableAuthResolutionFilter = disableAuthResolutionFilter ;
210
+ this . StrictSecurityChecks = strictSecurityChecks ;
209
211
}
210
212
211
213
/// <summary>
@@ -616,6 +618,13 @@ protected ProcessParams() { }
616
618
[ DataMember ( Name = "disableAuthResolutionFilter" , EmitDefaultValue = false ) ]
617
619
public bool ? DisableAuthResolutionFilter { get ; set ; }
618
620
621
+ /// <summary>
622
+ /// When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'.
623
+ /// </summary>
624
+ /// <value>When enabled, this parameter marks security checks that don’t meet minimum requirements as 'Failed' (instead of 'WasNotDone'), which causes the overall security status to be 'Failed'.</value>
625
+ [ DataMember ( Name = "strictSecurityChecks" , EmitDefaultValue = false ) ]
626
+ public bool ? StrictSecurityChecks { get ; set ; }
627
+
619
628
/// <summary>
620
629
/// Returns the string presentation of the object
621
630
/// </summary>
@@ -688,6 +697,7 @@ public override string ToString()
688
697
sb . Append ( " GenerateAlpha2Codes: " ) . Append ( GenerateAlpha2Codes ) . Append ( "\n " ) ;
689
698
sb . Append ( " PdfPagesLimit: " ) . Append ( PdfPagesLimit ) . Append ( "\n " ) ;
690
699
sb . Append ( " DisableAuthResolutionFilter: " ) . Append ( DisableAuthResolutionFilter ) . Append ( "\n " ) ;
700
+ sb . Append ( " StrictSecurityChecks: " ) . Append ( StrictSecurityChecks ) . Append ( "\n " ) ;
691
701
sb . Append ( "}\n " ) ;
692
702
return sb . ToString ( ) ;
693
703
}
0 commit comments