|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PdfAsInternal
The methods of this interface are used by the pdf-as-web project and are not for external use.
Using this API is inadvisable as its functionality might change without notice from release to release.
| Method Summary | |
|---|---|
AnalyzeResult |
analyzeFromRawText(String rawText,
Map sigValues)
Create an AnalyzeResult from raw text, instead of a PDF. |
SignResult |
finishLocalSign(PdfAs pdfAs,
SignParameters signParameters,
SignatureDetailInformation sdi,
LocalBKUParams bkuParams,
boolean multipart,
String xmlResponse)
Finish the sign process. |
VerifyResult |
finishLocalVerify(SignatureInformation sigInfo,
String connector,
String profile,
String loc_ref_url,
String xmlResponse)
Parse the given xml_response - must be a VerifyXMLSignatureResponse - from the BKU or Mocca and generates a VerifyResult from it. |
Map |
getConnectorsAvailableForWeb()
Get a map of all connectors available for web. |
String |
getLocalServiceAddress(String profile,
String device)
Get the security layer address for the given connector. |
SignatureEntry |
getSignatureEntryFromSignatureInformation(String key,
SignatureInformation sigInfo)
Get the SignatureEntry corresponding to a given SignatureInformation |
String |
getSignedText(SignatureInformation sigInfo)
Get the signed text for a given sigInfo. |
String |
prepareLocalSignRequest(SignParameters signParameters,
boolean multipart,
String loc_ref_url,
SignatureDetailInformation sdi)
Get the CreateXMLSignatureRequest for the given parameters. |
String |
prepareLocalVerifyRequest(SignatureInformation sigInfo,
String connector,
String profile,
String loc_ref_url)
Create the SecurityLayer VerifyXMLSignatureRequest for the given parameters. |
void |
verifyBKUSupport(LocalBKUParams bkuParams)
Check if a BKU with the given parameters is supported. |
| Method Detail |
|---|
void verifyBKUSupport(LocalBKUParams bkuParams)
throws ConnectorException,
SettingsException
bkuParams -
ConnectorException - if the BKU is not supported
SettingsException - if the BKU is not supported
SignResult finishLocalSign(PdfAs pdfAs,
SignParameters signParameters,
SignatureDetailInformation sdi,
LocalBKUParams bkuParams,
boolean multipart,
String xmlResponse)
throws PdfAsException
pdfAs - signParameters - sdi - This info will most likely come from a PdfAs.prepareSign(SignParameters) callbkuParams - xmlResponse - the SecurityLayer response from the BKU
PdfAsException
String getLocalServiceAddress(String profile,
String device)
throws SettingsException
profile - device -
SettingsException
String prepareLocalSignRequest(SignParameters signParameters,
boolean multipart,
String loc_ref_url,
SignatureDetailInformation sdi)
throws ConnectorException
signParameters - the sign parameters. SignParameters.getSignatureDevice() determines the connector to use.multipart - true to select a LocalConnector that uses multipart requestsloc_ref_url - the URL where to retrieve the PDF to signsdi - SignatureDetailInformation.getSignatureData() provides the data to be signed.
ConnectorException
AnalyzeResult analyzeFromRawText(String rawText,
Map sigValues)
throws SignatureException,
SettingsException,
SignatureTypesException,
NormalizeException
rawText - sigValues - the signature values
SignatureException
SettingsException
SignatureTypesException
NormalizeException
String prepareLocalVerifyRequest(SignatureInformation sigInfo,
String connector,
String profile,
String loc_ref_url)
throws SignatureException,
ConnectorException
sigInfo - connector - profile - loc_ref_url -
SignatureException
ConnectorException
VerifyResult finishLocalVerify(SignatureInformation sigInfo,
String connector,
String profile,
String loc_ref_url,
String xmlResponse)
throws SignatureException,
ConnectorException
sigInfo - connector - profile - loc_ref_url - xmlResponse -
SignatureException
ConnectorException
SignatureEntry getSignatureEntryFromSignatureInformation(String key,
SignatureInformation sigInfo)
SignatureEntry corresponding to a given SignatureInformation
key - sigInfo -
String getSignedText(SignatureInformation sigInfo)
sigInfo -
Map getConnectorsAvailableForWeb()
throws ConnectorFactoryException
ConnectorFactoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||