Class RfidScenario
java.lang.Object
com.regula.documentreader.api.params.RfidScenario
Class contains rfid scenario configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList of Data Groups to be read for DTC ApplicationList of Data Groups to be read for eDL ApplicationList of Data Groups to be read for eID ApplicationList of Data Groups to be read for ePassport ApplicationvoidfromJson(JSONObject object) intintintgetMrz()MRZ value as a security key for opening RFID security messaging session with a chip used whengetPacePasswordType()is seteRFID_Password_Type.PPT_MRZMRZHash value as a security key for opening RFID security messaging session with a chip used whengetPacePasswordType()is seteRFID_Password_Type.PPT_MRZ_HASHintintvalue as a security key for opening RFID security messaging session with a chipgetPkdPA()booleanintintintintbooleanbooleanright to use CAN passwordbooleanbooleanright to generate a pair of cryptographic keys for eSign applicationbooleanright to use PIN password management instructionsbooleanright to use privileged CA keysbooleanLogical sign of restricted identification procedure performancebooleanbooleanbooleanrights to perform Age verificationbooleanrights to perform Community ID verificationbooleanrights to write (update) the data of eID application informational group DG17booleanrights to write (update) the data of eID application informational group DG18booleanrights to write (update) the data of eID application informational group DG19booleanrights to write (update) the data of eID application informational group DG20booleanrights to write (update) the data of eID application informational group DG21booleanbooleanlogical sign of the need to verify Community IDbooleanlogical sign of the need to verify the age of the document holderGetting if Certificate Revoke List(s) (CRL) will be loaded from remote and verifiedbooleanPerform check MRZ according to standard described in BSI TR - 03105: ePassport Conformity Testing(v 1.0 04.04.2008)booleanbooleanbooleanlogical sign of passive authentication performancebooleanbooleanlimitation of the use of CSCA-certificates submitted by individual data files onlybooleanbooleanIf set, eDL Application reading attempt will be performedbooleanIf set, eID Application reading attempt will be performedbooleanIf set, ePassport Application reading attempt will be performedbooleanbooleanisSkipAA()logical sign of the cancellation of active authentication procedure after the successful performance of chip authentication (CA) procedurebooleanbooleanacquisition of the sign of maximum trust level activity to CSCA-certificates from PKDbooleanlogical sign of the use of the universal access rights to the capabilities of electronic document ("all inclusive" mode).booleanisUseSFI()booleanvoidsetApplyAmendments(boolean value) voidsetAuthorizedCANAllowed(boolean authorizedCANAllowed) voidsetAuthorizedInstallCert(boolean authorizedInstallCert) voidsetAuthorizedInstallQCert(boolean authorizedInstallQCert) voidsetAuthorizedPINManagment(boolean authorizedPINManagment) voidsetAuthorizedPrivilegedTerminal(boolean authorizedPrivilegedTerminal) voidsetAuthorizedRestrictedIdentification(boolean authorizedRestrictedIdentification) voidsetAuthorizedSTQSignature(boolean authorizedSTQSignature) voidsetAuthorizedSTSignature(boolean authorizedSTSignature) voidsetAuthorizedVerifyAge(boolean authorizedVerifyAge) voidsetAuthorizedVerifyCommunityID(boolean authorizedVerifyCommunityID) voidsetAuthorizedWriteDG17(boolean authorizedWriteDG17) voidsetAuthorizedWriteDG18(boolean authorizedWriteDG18) voidsetAuthorizedWriteDG19(boolean authorizedWriteDG19) voidsetAuthorizedWriteDG20(boolean authorizedWriteDG20) voidsetAuthorizedWriteDG21(boolean authorizedWriteDG21) voidsetAuthProcType(int authProcType) define the type of performed procedure of document authentication within the context of the communication session with electronic documentvoidsetAutoSettings(boolean autoSettings) SeeisAutoSettings()voidsetAuxVerificationCommunityID(boolean auxVerificationCommunityID) voidsetAuxVerificationDateOfBirth(boolean auxVerificationDateOfBirth) voidsetBaseSMProcedure(int baseSMProcedure) define the type of authentication or secure data access procedurevoidsetCardAccess(String cardAccess) SeegetCardAccess()voidsetDateOfBirth(String dateOfBirth) SeegetDateOfBirth()voidsetDateOfExpiry(String dateOfExpiry) voidsetDefaultReadingBufferSize(int defaultReadingBufferSize) voidsetDocumentNumber(String documentNumber) voidseteSignPINDefault(String eSignPINDefault) voidseteSignPINNewValue(String eSignPINNewValue) voidsetIndependentSODStatus(Boolean independentSODStatus) voidsetLoadCRLFromRemote(Boolean loadCRLFromRemote) If enabled, Certificate Revoke List(s) (CRL) will be loaded from remote and verifiedvoidSeegetMrz()voidsetMrzHash(String mrzHash) SeegetMrzHash()()}voidsetMrzStrictCheck(boolean mrzStrictCheck) voidsetOnlineTA(boolean onlineTA) SeeisOnlineTA()voidsetOnlineTAToSignDataType(int onlineTAToSignDataType) voidsetPacePasswordType(int pacePasswordType) define the type of key to access the protected datavoidsetPaceStaticBinding(boolean paceStaticBinding) voidsetPassiveAuth(boolean passiveAuth) SeeisPassiveAuth()voidsetPassword(String password) SeegetPassword()voidsetPkdDSCertPriority(boolean pkdDSCertPriority) voidSeegetPkdEAC()voidSeegetPkdPA()voidsetPkdUseExternalCSCA(boolean pkdUseExternalCSCA) voidsetProceedReadingAlways(boolean proceedReadingAlways) If set to true, continue RFID chip processing, despite ICAO critical errorsvoidsetProfilerType(int profilerType) LDS data profiler typevoidsetReadDTC(boolean readDTC) SeeisReadDTC())}voidsetReadEDL(boolean readEDL) SeeisReadEDL()voidsetReadEID(boolean readEID) SeeisReadEID()voidsetReadEPassport(boolean readEPassport) voidsetReadingBuffer(int readingBuffer) voidsetReadSAM(boolean readSAM) SeeisReadSAM()voidsetSignManagementAction(int signManagementAction) voidsetSkipAA(boolean skipAA) SeeisSkipAA()voidsetStrictProcessing(boolean strictProcessing) voidsetTerminalType(int terminalType) define the type of terminal within the context of the communication session with electronic documentvoidsetTrustedPKD(boolean trustedPKD) SeeisTrustedPKD()voidsetUniversalAccessRights(boolean universalAccessRights) voidsetUseSFI(boolean useSFI) SeeisUseSFI()voidsetWriteEid(boolean writeEid) SeeisWriteEid()JSONObjecttoCoreJSONObject(DocumentReaderResults results) internal method for convert rfid options to CoretoJson()Converts RfidScenario object to JSON stringJSONObjectConverts RfidScenario object to JSON object
-
Constructor Details
-
RfidScenario
public RfidScenario()
-
-
Method Details
-
toCoreJSONObject
internal method for convert rfid options to Core- Parameters:
results- latest document reader results- Returns:
- json string
-
toJson
Converts RfidScenario object to JSON string -
toJsonObject
public JSONObject toJsonObject()Converts RfidScenario object to JSON object -
fromJson
public void fromJson(JSONObject object) -
getSignManagementAction
public int getSignManagementAction()- Returns:
- one of
eSignManagementActionvalues
-
setSignManagementAction
public void setSignManagementAction(int signManagementAction) - Parameters:
signManagementAction- one ofeSignManagementActionvalues
-
getReadingBuffer
public int getReadingBuffer() -
setReadingBuffer
public void setReadingBuffer(int readingBuffer) -
getOnlineTAToSignDataType
public int getOnlineTAToSignDataType() -
setOnlineTAToSignDataType
public void setOnlineTAToSignDataType(int onlineTAToSignDataType) -
isOnlineTA
public boolean isOnlineTA() -
setOnlineTA
public void setOnlineTA(boolean onlineTA) SeeisOnlineTA() -
isWriteEid
public boolean isWriteEid() -
setWriteEid
public void setWriteEid(boolean writeEid) SeeisWriteEid() -
getProfilerType
public int getProfilerType()- Returns:
- current data profiler type, one of
eRFID_SDK_ProfilerTypevalues
-
setProfilerType
public void setProfilerType(int profilerType) LDS data profiler type- Parameters:
profilerType- one ofeRFID_SDK_ProfilerTypevalues
-
getAuthProcType
public int getAuthProcType()- Returns:
- the type of performed procedure of document authentication within the context of the communication session with electronic document
one of
eRFID_AuthenticationProcedureTypevalues
-
setAuthProcType
public void setAuthProcType(int authProcType) define the type of performed procedure of document authentication within the context of the communication session with electronic document- Parameters:
authProcType- one ofeRFID_AuthenticationProcedureTypevalues
-
getBaseSMProcedure
public int getBaseSMProcedure()- Returns:
- current type of authentication or secure data access procedure
one of
eRFID_AccessControl_ProcedureTypevalues
-
setBaseSMProcedure
public void setBaseSMProcedure(int baseSMProcedure) define the type of authentication or secure data access procedure- Parameters:
baseSMProcedure- one ofeRFID_AccessControl_ProcedureTypevalues
-
getPacePasswordType
public int getPacePasswordType()- Returns:
- the type of key to access the protected data
one of
eRFID_Password_Type
-
setPacePasswordType
public void setPacePasswordType(int pacePasswordType) define the type of key to access the protected data- Parameters:
pacePasswordType- one ofeRFID_Password_Type
-
getTerminalType
public int getTerminalType()- Returns:
- current type of terminal within the context of the communication session with electronic document
one of
eRFID_TerminalType
-
setTerminalType
public void setTerminalType(int terminalType) define the type of terminal within the context of the communication session with electronic document- Parameters:
terminalType- one ofeRFID_TerminalType
-
isUniversalAccessRights
public boolean isUniversalAccessRights()logical sign of the use of the universal access rights to the capabilities of electronic document ("all inclusive" mode). If false, set of access rights will be composed on the basis of the following options: -rights for reading data groups (ePassport, eID applications) formed on the basis of actually requested in the current reading session -rights to use the functionality of the electronic document for AT terminal – based on the following parameters (all values of true/false) -
setUniversalAccessRights
public void setUniversalAccessRights(boolean universalAccessRights) -
isAuthorizedRestrictedIdentification
public boolean isAuthorizedRestrictedIdentification()Logical sign of restricted identification procedure performance -
setAuthorizedRestrictedIdentification
public void setAuthorizedRestrictedIdentification(boolean authorizedRestrictedIdentification) -
isAuxVerificationCommunityID
public boolean isAuxVerificationCommunityID()logical sign of the need to verify Community ID -
setAuxVerificationCommunityID
public void setAuxVerificationCommunityID(boolean auxVerificationCommunityID) -
isAuxVerificationDateOfBirth
public boolean isAuxVerificationDateOfBirth()logical sign of the need to verify the age of the document holder -
setAuxVerificationDateOfBirth
public void setAuxVerificationDateOfBirth(boolean auxVerificationDateOfBirth) -
isSkipAA
public boolean isSkipAA()logical sign of the cancellation of active authentication procedure after the successful performance of chip authentication (CA) procedure -
setSkipAA
public void setSkipAA(boolean skipAA) SeeisSkipAA() -
isStrictProcessing
public boolean isStrictProcessing()- Returns:
-
setStrictProcessing
public void setStrictProcessing(boolean strictProcessing) -
isPkdDSCertPriority
public boolean isPkdDSCertPriority()- Returns:
-
setPkdDSCertPriority
public void setPkdDSCertPriority(boolean pkdDSCertPriority) -
isPkdUseExternalCSCA
public boolean isPkdUseExternalCSCA()limitation of the use of CSCA-certificates submitted by individual data files only -
setPkdUseExternalCSCA
public void setPkdUseExternalCSCA(boolean pkdUseExternalCSCA) -
isTrustedPKD
public boolean isTrustedPKD()acquisition of the sign of maximum trust level activity to CSCA-certificates from PKD -
setTrustedPKD
public void setTrustedPKD(boolean trustedPKD) SeeisTrustedPKD() -
isPassiveAuth
public boolean isPassiveAuth()logical sign of passive authentication performance -
setPassiveAuth
public void setPassiveAuth(boolean passiveAuth) SeeisPassiveAuth() -
isPaceStaticBinding
public boolean isPaceStaticBinding()- Returns:
-
setPaceStaticBinding
public void setPaceStaticBinding(boolean paceStaticBinding) -
getPassword
value as a security key for opening RFID security messaging session with a chip -
setPassword
SeegetPassword() -
isUseSFI
public boolean isUseSFI() -
setUseSFI
public void setUseSFI(boolean useSFI) SeeisUseSFI() -
getPkdPA
-
setPkdPA
SeegetPkdPA() -
getPkdEAC
-
setPkdEAC
SeegetPkdEAC() -
isReadEPassport
public boolean isReadEPassport()If set, ePassport Application reading attempt will be performed -
setReadEPassport
public void setReadEPassport(boolean readEPassport) -
isReadEID
public boolean isReadEID()If set, eID Application reading attempt will be performed -
setReadEID
public void setReadEID(boolean readEID) SeeisReadEID() -
isReadEDL
public boolean isReadEDL()If set, eDL Application reading attempt will be performed -
setReadEDL
public void setReadEDL(boolean readEDL) SeeisReadEDL() -
getMrz
MRZ value as a security key for opening RFID security messaging session with a chip used whengetPacePasswordType()is seteRFID_Password_Type.PPT_MRZ -
setMrz
SeegetMrz() -
getCardAccess
-
getDocumentNumber
-
getDateOfBirth
-
getDateOfExpiry
-
setCardAccess
SeegetCardAccess() -
setDocumentNumber
-
setDateOfBirth
SeegetDateOfBirth() -
setDateOfExpiry
-
geteSignPINDefault
-
seteSignPINDefault
-
geteSignPINNewValue
-
seteSignPINNewValue
-
getMrzHash
MRZHash value as a security key for opening RFID security messaging session with a chip used whengetPacePasswordType()is seteRFID_Password_Type.PPT_MRZ_HASH -
setMrzHash
SeegetMrzHash()()} -
isAuthorizedSTSignature
public boolean isAuthorizedSTSignature() -
setAuthorizedSTSignature
public void setAuthorizedSTSignature(boolean authorizedSTSignature) -
isAuthorizedSTQSignature
public boolean isAuthorizedSTQSignature() -
setAuthorizedSTQSignature
public void setAuthorizedSTQSignature(boolean authorizedSTQSignature) -
isAuthorizedWriteDG17
public boolean isAuthorizedWriteDG17()rights to write (update) the data of eID application informational group DG17 -
setAuthorizedWriteDG17
public void setAuthorizedWriteDG17(boolean authorizedWriteDG17) -
isAuthorizedWriteDG18
public boolean isAuthorizedWriteDG18()rights to write (update) the data of eID application informational group DG18 -
setAuthorizedWriteDG18
public void setAuthorizedWriteDG18(boolean authorizedWriteDG18) -
isAuthorizedWriteDG19
public boolean isAuthorizedWriteDG19()rights to write (update) the data of eID application informational group DG19 -
setAuthorizedWriteDG19
public void setAuthorizedWriteDG19(boolean authorizedWriteDG19) -
isAuthorizedWriteDG20
public boolean isAuthorizedWriteDG20()rights to write (update) the data of eID application informational group DG20 -
setAuthorizedWriteDG20
public void setAuthorizedWriteDG20(boolean authorizedWriteDG20) -
isAuthorizedWriteDG21
public boolean isAuthorizedWriteDG21()rights to write (update) the data of eID application informational group DG21 -
setAuthorizedWriteDG21
public void setAuthorizedWriteDG21(boolean authorizedWriteDG21) -
isAuthorizedVerifyAge
public boolean isAuthorizedVerifyAge()rights to perform Age verification -
setAuthorizedVerifyAge
public void setAuthorizedVerifyAge(boolean authorizedVerifyAge) -
isAuthorizedVerifyCommunityID
public boolean isAuthorizedVerifyCommunityID()rights to perform Community ID verification -
setAuthorizedVerifyCommunityID
public void setAuthorizedVerifyCommunityID(boolean authorizedVerifyCommunityID) -
isAuthorizedPrivilegedTerminal
public boolean isAuthorizedPrivilegedTerminal()right to use privileged CA keys -
setAuthorizedPrivilegedTerminal
public void setAuthorizedPrivilegedTerminal(boolean authorizedPrivilegedTerminal) -
isAuthorizedCANAllowed
public boolean isAuthorizedCANAllowed()right to use CAN password -
setAuthorizedCANAllowed
public void setAuthorizedCANAllowed(boolean authorizedCANAllowed) -
isAuthorizedPINManagment
public boolean isAuthorizedPINManagment()right to use PIN password management instructions -
setAuthorizedPINManagment
public void setAuthorizedPINManagment(boolean authorizedPINManagment) -
isAuthorizedInstallCert
public boolean isAuthorizedInstallCert()- Returns:
-
setAuthorizedInstallCert
public void setAuthorizedInstallCert(boolean authorizedInstallCert) -
isAuthorizedInstallQCert
public boolean isAuthorizedInstallQCert()right to generate a pair of cryptographic keys for eSign application -
setAuthorizedInstallQCert
public void setAuthorizedInstallQCert(boolean authorizedInstallQCert) -
ePassportDataGroups
List of Data Groups to be read for ePassport Application -
eIDDataGroups
List of Data Groups to be read for eID Application -
eDLDataGroups
List of Data Groups to be read for eDL Application -
DTCDataGroup
List of Data Groups to be read for DTC Application -
setAutoSettings
public void setAutoSettings(boolean autoSettings) SeeisAutoSettings() -
isAutoSettings
public boolean isAutoSettings()- Returns:
-
setApplyAmendments
public void setApplyAmendments(boolean value) -
isApplyAmendments
public boolean isApplyAmendments()- Returns:
-
setReadSAM
public void setReadSAM(boolean readSAM) SeeisReadSAM() -
isReadSAM
public boolean isReadSAM()- Returns:
-
setReadDTC
public void setReadDTC(boolean readDTC) SeeisReadDTC())} -
isReadDTC
public boolean isReadDTC()- Returns:
-
setMrzStrictCheck
public void setMrzStrictCheck(boolean mrzStrictCheck) -
isMrzStrictCheck
public boolean isMrzStrictCheck()Perform check MRZ according to standard described in BSI TR - 03105: ePassport Conformity Testing(v 1.0 04.04.2008) -
getDefaultReadingBufferSize
public int getDefaultReadingBufferSize()- Returns:
-
setDefaultReadingBufferSize
public void setDefaultReadingBufferSize(int defaultReadingBufferSize) -
getProceedReadingAlways
public boolean getProceedReadingAlways()- Returns:
-
setProceedReadingAlways
public void setProceedReadingAlways(boolean proceedReadingAlways) If set to true, continue RFID chip processing, despite ICAO critical errors -
isLoadCRLFromRemote
Getting if Certificate Revoke List(s) (CRL) will be loaded from remote and verified- Returns:
- true if Certificate Revoke List(s) (CRL) will be loaded from remote and verified
-
setLoadCRLFromRemote
If enabled, Certificate Revoke List(s) (CRL) will be loaded from remote and verified- Parameters:
loadCRLFromRemote- parameter to enable
-
isIndependentSODStatus
-
setIndependentSODStatus
-