public class CreateXMLSignatureResponseParser extends Object
<InfoboxReadResponse> returned from
the security layer| Constructor and Description |
|---|
CreateXMLSignatureResponseParser(Element xmlResponse)
Constructor for CreateXMLSignatureResponseParser.
|
CreateXMLSignatureResponseParser(InputStream is)
Parses and validates the document given as stream and extracts the
root element.
|
CreateXMLSignatureResponseParser(String xmlResponse)
Parses and validates the document given as string and extracts the
root element.
|
| Modifier and Type | Method and Description |
|---|---|
CreateXMLSignatureResponse |
parseResponse()
Unmarshalls the <@link sigResponse> to an
<CreateXMLSignatureResponse> object. |
CreateXMLSignatureResponse |
parseResponseDsig()
Unmarshalls the <@link sigResponse> to an
<CreateXMLSignatureResponse> object. |
public CreateXMLSignatureResponseParser(String xmlResponse) throws AuthenticationException, ParseException
xmlResponse - <CreateXMLSignatureResponse> as StringAuthenticationException - if any authentication error occursParseException - if an element cannot be parsedpublic CreateXMLSignatureResponseParser(InputStream is) throws AuthenticationException, ParseException
is - <InfoboxReadResponse> as InputStreamAuthenticationException - If any authentication error occursParseException - If an element cannot be parsedpublic CreateXMLSignatureResponseParser(Element xmlResponse)
xmlResponse - <InfoboxReadResponse> as InputStreampublic CreateXMLSignatureResponse parseResponseDsig() throws ParseException
<CreateXMLSignatureResponse> object.<CreateXMLSignatureResponse> objectParseExceptionpublic CreateXMLSignatureResponse parseResponse() throws ParseException
<CreateXMLSignatureResponse> object.<CreateXMLSignatureResponse> objectParseExceptionCopyright © 2016. All Rights Reserved.