@regulaforensics/document-reader
Version:
This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.
25 lines (20 loc) • 624 B
JavaScript
/** TCC service related parameters for RFID session configuration. */
export class TccParams {
serviceUrlTA
serviceUrlPA
pfxCertUrl
pfxPassPhrase
pfxCert
constructor() {
}
static fromJson(jsonObject) {
if (jsonObject == null) return null
const result = new TccParams()
result.serviceUrlTA = jsonObject["serviceUrlTA"]
result.serviceUrlPA = jsonObject["serviceUrlPA"]
result.pfxCertUrl = jsonObject["pfxCertUrl"]
result.pfxPassPhrase = jsonObject["pfxPassPhrase"]
result.pfxCert = jsonObject["pfxCert"]
return result
}
}