public interface SADRequest extends SAMLObject
The SAD Request is provided in a <sap:SADRequest>
element. The element has the following elements and
attributes:
RequesterID
[Required]<saml2:Issuer>
element of the <saml2p:AuthnRequest>
that encapsulates the <sap:SADRequest>
extension.SignRequestID
[Required]DocCount
[Required]RequestedVersion
[Optional Default="1.0"]RequestParams
[Optional]ID
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>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ELEMENT_LOCAL_NAME
Name of the element.
|
static QName |
DEFAULT_ELEMENT_NAME
Default element name.
|
static String |
DOC_COUNT_LOCAL_NAME
Name of the DocCount element.
|
static String |
ID_ATTRIB_NAME
ID attribute name.
|
static String |
REQUESTED_VERSION_LOCAL_NAME
Name of the RequestedVersion element.
|
static String |
REQUESTER_ID_LOCAL_NAME
Name of the RequesterID element.
|
static String |
SIGN_REQUEST_ID_LOCAL_NAME
Name of the SignRequestID element.
|
static String |
TYPE_LOCAL_NAME
Local name of the type
|
static QName |
TYPE_NAME
QName of the XSI type.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDocCount()
Returns the number of requested signatures in the associated sign request.
|
String |
getID()
Returns the ID attribute of this
SADRequest . |
SADVersion |
getRequestedVersion()
Returns the requested version of the SAD.
|
String |
getRequesterID()
Returns the requester ID (entityID of the SP requesting the SAD).
|
RequestParams |
getRequestParams()
Returns the
RequestParams element. |
String |
getSignRequestID()
Returns the value of the
RequestID attribute of the associated SignRequest . |
void |
setDocCount(Integer docCount)
Assigns the number of requested signatures in the associated sign request.
|
void |
setID(String id)
Assigns the ID of this
SADRequest . |
void |
setRequestedVersion(SADVersion sadVersion)
Assigns the requested version of the SAD.
|
void |
setRequesterID(String requesterID)
Assigns the requester ID (entityID of the SP requesting the SAD).
|
void |
setRequestParams(RequestParams requestParams)
Assigns the
RequestParams element. |
void |
setSignRequestID(String signRequestID)
Assigns the value of the
RequestID attribute of the associated SignRequest . |
detach, 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
static final String DEFAULT_ELEMENT_LOCAL_NAME
static final QName DEFAULT_ELEMENT_NAME
static final String TYPE_LOCAL_NAME
static final QName TYPE_NAME
static final String REQUESTER_ID_LOCAL_NAME
static final String SIGN_REQUEST_ID_LOCAL_NAME
static final String DOC_COUNT_LOCAL_NAME
static final String REQUESTED_VERSION_LOCAL_NAME
static final String ID_ATTRIB_NAME
String getID()
SADRequest
.void setID(String id)
SADRequest
.id
- the ID of this SAD requestString getRequesterID()
void setRequesterID(String requesterID)
requesterID
- the entityID of the requesterString getSignRequestID()
RequestID
attribute of the associated SignRequest
.void setSignRequestID(String signRequestID)
RequestID
attribute of the associated SignRequest
.signRequestID
- the signature request IDInteger getDocCount()
void setDocCount(Integer docCount)
docCount
- the document countSADVersion getRequestedVersion()
void setRequestedVersion(SADVersion sadVersion)
sadVersion
- the SAD versionRequestParams getRequestParams()
RequestParams
element.RequestParams
, or null
void setRequestParams(RequestParams requestParams)
RequestParams
element.requestParams
- the RequestParams
Copyright © 2018 Litsec AB. All rights reserved.