Class SAD.Extension
java.lang.Object
se.swedenconnect.opensaml.sweid.saml2.signservice.sap.SAD.Extension
- Enclosing class:
SAD
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the URI identifier (attribute name) of the attribute specifying the user's unique identifier value.Returns the ID of theSADRequestmessage that requested this SAD.getLoa()Returns the URI identifier of the level of assurance (LoA) used to authenticate the signer.Returns the number of documents to be signed in the associated sign request.Returns the ID of the Sign Request associated with this SAD.Returns the version of this claim represented as aSADVersionobject.Returns the version of this claim.inthashCode()voidsetAttributeName(String attributeName) Assigns the URI identifier (attribute name) of the attribute specifying the user's unique identifier value.voidsetInResponseTo(String inResponseTo) Assigns the ID of theSADRequestmessage that requested this SAD.voidAssigns the URI identifier of the level of assurance (LoA) used to authenticate the signer.voidsetNumberOfDocuments(Integer numberOfDocuments) Assigns the number of documents to be signed in the associated sign request.voidsetRequestID(String requestID) Assigns the ID of the Sign Request associated with this SAD.voidsetVersion(String version) Assigns the version of this claim.toString()
-
Constructor Details
-
Extension
public Extension()
-
-
Method Details
-
getVersion
Returns the version of this claim.- Returns:
- the version
-
getSADVersion
Returns the version of this claim represented as aSADVersionobject.- Returns:
- the version
-
setVersion
Assigns the version of this claim.- Parameters:
version- the version
-
getInResponseTo
Returns the ID of theSADRequestmessage that requested this SAD.- Returns:
- ID of corresponding
SADRequest
-
setInResponseTo
Assigns the ID of theSADRequestmessage that requested this SAD.- Parameters:
inResponseTo- ID of correspondingSADRequest
-
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
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
Returns the URI identifier of the level of assurance (LoA) used to authenticate the signer.- Returns:
- LoA URI
-
setLoa
Assigns the URI identifier of the level of assurance (LoA) used to authenticate the signer.- Parameters:
loa- LoA URI
-
getRequestID
Returns the ID of the Sign Request associated with this SAD.- Returns:
- SignRequest ID
-
setRequestID
Assigns the ID of the Sign Request associated with this SAD.- Parameters:
requestID- SignRequest ID
-
getNumberOfDocuments
Returns the number of documents to be signed in the associated sign request.- Returns:
- the number of documents to be signed
-
setNumberOfDocuments
Assigns the number of documents to be signed in the associated sign request.- Parameters:
numberOfDocuments- the number of documents to be signed
-
toString
-
hashCode
public int hashCode() -
equals
-