public class DigitalSignature extends InterfaceBWebsideController
_ibCache, _interfaceBClient, _logger, _report, engineLogonName, engineLogonPassword, XSD_ANYURI_TYPE, XSD_NAMESPACE, XSD_NCNAME_TYPE, XSD_STRINGTYPE
Constructor and Description |
---|
DigitalSignature() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkSignature(byte[] Document) |
static org.w3c.dom.Document |
ConvertStringToDocument(java.lang.String Doc) |
YParameter[] |
describeRequiredParams()
Override this method if you wish to allow other tools to find out what
input parameters are required for your custom YAWL service to work.
|
java.security.cert.X509Certificate |
getCertificate() |
void |
handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
Receives notification from the engine that an active workitem has been
cancelled.
|
void |
handleEnabledWorkItemEvent(WorkItemRecord enabledWorkItem)
Receives notification from the engine of an enabled workitem.
|
java.lang.String |
PrepareDocumentToBeSign(Element element) |
java.lang.String |
ProgMain(Element Document) |
void |
setP12AndPassword(java.lang.String P12,
java.lang.String password,
java.lang.String Certificate) |
org.bouncycastle.cms.CMSSignedData |
SignedData(Element InputDocument) |
checkConnection, checkInWorkItem, checkInWorkItem, checkInWorkItem, checkOut, checkOutAllInstancesOfThisTask, connect, destroy, doGet, getAuthenticationConfig, getCachedWorkItem, getChildren, getEngineStoredWorkItem, getIBCache, getModel, getResourcingSpecs, getSpecificationData, getSpecificationData, getSpecificationPrototypesList, getTaskInformation, getTaskInformation, handleCancelledCaseEvent, handleCaseResumedEvent, handleCaseSuspendedEvent, handleCaseSuspendingEvent, handleCompleteCaseEvent, handleDeadlockedCaseEvent, handleEngineInitialisationCompletedEvent, handleStartCaseEvent, handleTimerExpiryEvent, handleWorkItemStatusChangeEvent, logContactError, prepareReplyRootElement, setEngineLogonName, setEngineLogonPassword, setRemoteAuthenticationDetails, setUpInterfaceBClient, successful
public void handleEnabledWorkItemEvent(WorkItemRecord enabledWorkItem)
InterfaceBWebsideController
handleEnabledWorkItemEvent
in class InterfaceBWebsideController
enabledWorkItem
- the enabled work itempublic YParameter[] describeRequiredParams()
InterfaceBWebsideController
describeRequiredParams
in class InterfaceBWebsideController
public void handleCancelledWorkItemEvent(WorkItemRecord workItemRecord)
InterfaceBWebsideController
handleCancelledWorkItemEvent
in class InterfaceBWebsideController
workItemRecord
- the cancelled work itempublic boolean checkSignature(byte[] Document)
public static org.w3c.dom.Document ConvertStringToDocument(java.lang.String Doc)
public java.security.cert.X509Certificate getCertificate()
public java.lang.String PrepareDocumentToBeSign(Element element)
public org.bouncycastle.cms.CMSSignedData SignedData(Element InputDocument)
public void setP12AndPassword(java.lang.String P12, java.lang.String password, java.lang.String Certificate)
public java.lang.String ProgMain(Element Document)
Copyright © 2004-2014 The YAWL Foundation.