Class SignerInfo

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

public class SignerInfo extends Object
structure is used to store the result of the verification of a single digital signature of the number present in EF.SOD.
  • Field Details

    • dataToHash

      public String dataToHash
    • digestAlgorithm

      public String digestAlgorithm
      digital signature hash-function algorithm identifier
    • paStatus

      public long paStatus
      result of the digital signature verification (RF-ID_Error_NotPerformed, RFID_Error_NoError or RFID_Error_Failed);
    • signatureAlgorithm

      public String signatureAlgorithm
      digital signature algorithm identifier
    • version

      public int version
      version of the digital signature data structure
    • issuer

      public Authority issuer
      identifier of the necessary certificate issuer;
    • serialNumber

      public Value serialNumber
      serial number of the necessary certificate;
    • signature

      public Value signature
      binary data of the verified digital signature;
    • signedAttributes

      public List<Extension> signedAttributes
      list of the signed attributes.
    • subjectKeyIdentifier

      public Value subjectKeyIdentifier
      signature object identifier of the necessary certificate;
    • certificateChain

      public List<CertificateChain> certificateChain
      certificate chain, used for the digital signature verification.
    • 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

    • SignerInfo

      public SignerInfo()
  • Method Details

    • fromJson

      public static SignerInfo fromJson(String json)
    • fromJson

      public static SignerInfo fromJson(JSONObject object)
    • toJson

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