Class QESEvidence

  • All Implemented Interfaces:
    net.minidev.json.JSONAware

    @Immutable
    public final class QESEvidence
    extends IdentityEvidence
    implements net.minidev.json.JSONAware
    Qualified electronic signature (QES) used as identity evidence.

    Related specifications:

    • OpenID Connect for Identity Assurance 1.0, section 4.1.1.
    • Constructor Detail

      • QESEvidence

        public QESEvidence​(Issuer issuer,
                           String serialNumber,
                           DateWithTimeZoneOffset createdAt)
        Creates a new QES used as identity evidence.
        Parameters:
        issuer - The QES issuer, null if not specified.
        serialNumber - The QES serial number, null if not specified.
        createdAt - The QES creation time, null if not specified.
    • Method Detail

      • getQESIssuer

        public Issuer getQESIssuer()
        Returns the QES issuer.
        Returns:
        The QES issuer, null if not specified.
      • getQESSerialNumberString

        public String getQESSerialNumberString()
        Returns the QES serial number.
        Returns:
        The QES serial number string, null if not specified.
      • parse

        public static QESEvidence parse​(net.minidev.json.JSONObject jsonObject)
                                 throws ParseException
        Parses a new QES evidence from the specified JSON object.
        Parameters:
        jsonObject - The JSON object. Must not be null.
        Returns:
        The QES evidence.
        Throws:
        ParseException - If parsing failed.