Class SecurityObject

java.lang.Object
com.regula.documentreader.api.results.rfid.SecurityObject

public class SecurityObject extends Object
structure is used to describe the contents of a single document security object (SO) and the results of its check within the context of the communication session with electronic document
  • Field Details

    • fileReference

      public int fileReference
      reference to the source file of the security object data
    • objectType

      public String objectType
      security object identifier
    • version

      public int version
      security object version
    • signerInfos

      public List<SignerInfo> signerInfos
      list of containers to store information about digital signature objects contained in the SO
    • notifications

      public List<Long> notifications
      The list of remarks occured during the scanning procedure. Each element is a `Long` that belongs to the `enum eLDS_ParsingErrorCodes`
  • Constructor Details

    • SecurityObject

      public SecurityObject()
  • Method Details

    • fromJson

      public static SecurityObject fromJson(String json)
    • fromJson

      public static SecurityObject fromJson(JSONObject object)
    • toJson

      public String toJson()
      Method convert object to string in json format
      Returns:
      string in json format