sign
Creates a cryptographic signature of the given document.
Return
a MIRACLResult representing the result of the signing operation:
If successful, returns MIRACLSuccess with the SigningResult.
If an error occurs, returns MIRACLError with a SigningException describing issues with the operation.
Parameters
the hash of the given document.
a user to sign with.
a callback called from the SDK when the signing identity PIN is required.
Create a cryptographic signature of the given document.
Parameters
the hash of the given document.
a user to sign with.
a callback called from the SDK, when the signing identity PIN is required.
a callback to handle the result of the signing.
If successful, the result is MIRACLSuccess.
If an error occurs, the result is MIRACLError with exception describing issues with the operation.