Class VDSNCData
java.lang.Object
com.regula.documentreader.api.results.VDSNCData
Visible Digital Seal for Non Constrained environments.
-
Method Summary
Modifier and TypeMethodDescriptionstatic VDSNCData
static VDSNCData
fromJson
(JSONObject object) List<CertificateChain>
JSONObject
long[]
The list of remarks occured during the scanning procedure.getType()
Visible Digital Seal use case type.int
toJson()
Method convert object to string in json format
-
Method Details
-
getType
Visible Digital Seal use case type. Type is set to `icao.test` for Proof of Testing (data defined by CAPSCA), `icao.vacc` for Proof of Vaccination (data defined by WHO). Other Types may be added in the future.- Returns:
- visible digital seal
-
getVersion
public int getVersion()- Returns:
- Visible Digital Seal use case version.
-
getIssuingCountry
- Returns:
- Three letter code identifying the issuing state or organization.
-
getMessage
public JSONObject getMessage()- Returns:
- The message field contains the actual data as a dictionary (JSON).
-
getSignatureAlg
- Returns:
- The signature algorithm used to produce the signature. ECDSA scheme.
-
getSignature
- Returns:
- The binary data of the verified digital signature.
-
getCertificate
- Returns:
- The binary data of the signer certificate.
-
getNotifications
public long[] getNotifications()The list of remarks occured during the scanning procedure.- Returns:
- Each element is a `long` that belongs to the `enum
eLDS_ParsingErrorCodes
` or the `enumeLDS_ParsingNotificationCodes
`.
-
getCertificateChain
- Returns:
- The certificate chain, used for the digital signature verification.
-
fromJson
-
fromJson
-
toJson
Method convert object to string in json format- Returns:
- string in json format
-