Interface SADRequest
- All Superinterfaces:
 SAMLObject,XMLObject
- All Known Implementing Classes:
 SADRequestImpl
Definitions of the SADRequest type:
 
 The SAD Request is provided in a <sap:SADRequest> element. The element has the following elements and
 attributes:
 
RequesterID[Required]- Specifies the SAML entityID of the requesting entity. The value for this element should be the same identifier as
 given in the 
<saml2:Issuer>element of the<saml2p:AuthnRequest>that encapsulates the<sap:SADRequest>extension. SignRequestID[Required]- Specifies the value of the RequestID attribute of the associated SignRequest.
 DocCount[Required]- The number of requested signatures in the associated sign request.
 RequestedVersion[Optional Default="1.0"]- The requested version of the SAD.
 RequestParams[Optional]- Optional parameters provided as name-value pairs. This specification does not define any parameters. The use of parameters may be defined in profiles of this specification or may be negotiated by other means between a remote signing service and an Identity Provider.
 ID- Attribute holding an unique identifier for the 
SADRequest. 
<sap:SADRequest> element:
 
 
 <xs:element name="SADRequest" type="sap:SADRequestType" />
 <xs:complexType name="SADRequestType">
   <xs:sequence>
     <xs:element name="RequesterID" type="xs:string" />
     <xs:element name="SignRequestID" type="xs:string" />
     <xs:element name="DocCount" type="xs:int" />
     <xs:element name="RequestedVersion" type="xs:string" default="1.0" />
     <xs:element minOccurs="0" name="RequestParams">
       <xs:complexType>
         <xs:sequence>
           <xs:element maxOccurs="unbounded" minOccurs="0" name="Parameter" type="sap:ParamType" />
         </xs:sequence>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attribute name="ID" type="xs:ID" use="required" />
 </xs:complexType>
 - Author:
 - Martin Lindström (martin@idsec.se)
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the element.static final QNameDefault element name.static final StringName of the DocCount element.static final StringID attribute name.static final StringName of the RequestedVersion element.static final StringName of the RequesterID element.static final StringName of the SignRequestID element.static final StringLocal name of the typestatic final QNameQName of the XSI type. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the number of requested signatures in the associated sign request.getID()Returns the ID attribute of thisSADRequest.Returns the requested version of the SAD.Returns the requester ID (entityID of the SP requesting the SAD).Returns theRequestParamselement.Returns the value of theRequestIDattribute of the associatedSignRequest.voidsetDocCount(Integer docCount) Assigns the number of requested signatures in the associated sign request.voidAssigns the ID of thisSADRequest.voidsetRequestedVersion(SADVersion sadVersion) Assigns the requested version of the SAD.voidsetRequesterID(String requesterID) Assigns the requester ID (entityID of the SP requesting the SAD).voidsetRequestParams(RequestParams requestParams) Assigns theRequestParamselement.voidsetSignRequestID(String signRequestID) Assigns the value of theRequestIDattribute of the associatedSignRequest.Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation 
- 
Field Details
- 
DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.- See Also:
 
 - 
DEFAULT_ELEMENT_NAME
Default element name. - 
TYPE_LOCAL_NAME
Local name of the type- See Also:
 
 - 
TYPE_NAME
QName of the XSI type. - 
REQUESTER_ID_LOCAL_NAME
Name of the RequesterID element.- See Also:
 
 - 
SIGN_REQUEST_ID_LOCAL_NAME
Name of the SignRequestID element.- See Also:
 
 - 
DOC_COUNT_LOCAL_NAME
Name of the DocCount element.- See Also:
 
 - 
REQUESTED_VERSION_LOCAL_NAME
Name of the RequestedVersion element.- See Also:
 
 - 
ID_ATTRIB_NAME
ID attribute name.- See Also:
 
 
 - 
 - 
Method Details
- 
getID
String getID()Returns the ID attribute of thisSADRequest.- Returns:
 - the ID of this SAD request
 
 - 
setID
Assigns the ID of thisSADRequest.- Parameters:
 id- the ID of this SAD request
 - 
getRequesterID
String getRequesterID()Returns the requester ID (entityID of the SP requesting the SAD).- Returns:
 - the entityID of the requester
 
 - 
setRequesterID
Assigns the requester ID (entityID of the SP requesting the SAD).- Parameters:
 requesterID- the entityID of the requester
 - 
getSignRequestID
String getSignRequestID()Returns the value of theRequestIDattribute of the associatedSignRequest.- Returns:
 - the signature request ID
 
 - 
setSignRequestID
Assigns the value of theRequestIDattribute of the associatedSignRequest.- Parameters:
 signRequestID- the signature request ID
 - 
getDocCount
Integer getDocCount()Returns the number of requested signatures in the associated sign request.- Returns:
 - the document count
 
 - 
setDocCount
Assigns the number of requested signatures in the associated sign request.- Parameters:
 docCount- the document count
 - 
getRequestedVersion
SADVersion getRequestedVersion()Returns the requested version of the SAD.- Returns:
 - the SAD version
 
 - 
setRequestedVersion
Assigns the requested version of the SAD.- Parameters:
 sadVersion- the SAD version
 - 
getRequestParams
RequestParams getRequestParams()Returns theRequestParamselement.- Returns:
 - the RequestParams, or null
 
 - 
setRequestParams
Assigns theRequestParamselement.- Parameters:
 requestParams- the RequestParams
 
 -