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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the URI identifier (attribute name) of the attribute specifying the user's unique identifier value.Returns the ID of theSADRequest
message 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 aSADVersion
object.Returns the version of this claim.int
hashCode()
void
setAttributeName
(String attributeName) Assigns the URI identifier (attribute name) of the attribute specifying the user's unique identifier value.void
setInResponseTo
(String inResponseTo) Assigns the ID of theSADRequest
message that requested this SAD.void
Assigns the URI identifier of the level of assurance (LoA) used to authenticate the signer.void
setNumberOfDocuments
(Integer numberOfDocuments) Assigns the number of documents to be signed in the associated sign request.void
setRequestID
(String requestID) Assigns the ID of the Sign Request associated with this SAD.void
setVersion
(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 aSADVersion
object.- Returns:
- the version
-
setVersion
Assigns the version of this claim.- Parameters:
version
- the version
-
getInResponseTo
Returns the ID of theSADRequest
message that requested this SAD.- Returns:
- ID of corresponding
SADRequest
-
setInResponseTo
Assigns the ID of theSADRequest
message 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
-