java.lang.Object
se.swedenconnect.opensaml.sweid.saml2.signservice.sap.SAD.Extension
Enclosing class:
SAD

public static class SAD.Extension extends Object
Represents the SAD Extension claim as described in section 3.2.1.2 of the "Signature Activation Protocol for Federated Signing" specification.
Author:
Martin Lindström (martin@idsec.se)
  • Constructor Details

    • Extension

      public Extension()
  • Method Details

    • getVersion

      public String getVersion()
      Returns the version of this claim.
      Returns:
      the version
    • getSADVersion

      public SADVersion getSADVersion()
      Returns the version of this claim represented as a SADVersion object.
      Returns:
      the version
    • setVersion

      public void setVersion(String version)
      Assigns the version of this claim.
      Parameters:
      version - the version
    • getInResponseTo

      public String getInResponseTo()
      Returns the ID of the SADRequest message that requested this SAD.
      Returns:
      ID of corresponding SADRequest
    • setInResponseTo

      public void setInResponseTo(String inResponseTo)
      Assigns the ID of the SADRequest message that requested this SAD.
      Parameters:
      inResponseTo - ID of corresponding SADRequest
    • getAttributeName

      public String getAttributeName()
      Returns the URI identifier (attribute name) of the attribute specifying the user's unique identifier value.
      Returns:
      attribute name for the user ID attribute value
    • setAttributeName

      public void setAttributeName(String attributeName)
      Assigns the URI identifier (attribute name) of the attribute specifying the user's unique identifier value.
      Parameters:
      attributeName - attribute name for the user ID attribute value
    • getLoa

      public String getLoa()
      Returns the URI identifier of the level of assurance (LoA) used to authenticate the signer.
      Returns:
      LoA URI
    • setLoa

      public void setLoa(String loa)
      Assigns the URI identifier of the level of assurance (LoA) used to authenticate the signer.
      Parameters:
      loa - LoA URI
    • getRequestID

      public String getRequestID()
      Returns the ID of the Sign Request associated with this SAD.
      Returns:
      SignRequest ID
    • setRequestID

      public void setRequestID(String requestID)
      Assigns the ID of the Sign Request associated with this SAD.
      Parameters:
      requestID - SignRequest ID
    • getNumberOfDocuments

      public Integer getNumberOfDocuments()
      Returns the number of documents to be signed in the associated sign request.
      Returns:
      the number of documents to be signed
    • setNumberOfDocuments

      public void setNumberOfDocuments(Integer numberOfDocuments)
      Assigns the number of documents to be signed in the associated sign request.
      Parameters:
      numberOfDocuments - the number of documents to be signed
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object