# sign
Brief description
Create a cryptographic signature of the given document.
# Parameters
Name | Summary |
---|---|
message | the hash of the given document. |
pinProvider | a callback called from the SDK, when the signing identity PIN is required. |
resultHandler | a callback to handle the result of the signing.
|
signingUser | an already registered signing identity. |
timestamp | when the document is signed. |
Content
fun sign(message: ByteArray, timestamp: Date, signingUser: SigningUser, pinProvider: PinProvider, resultHandler: ResultHandler<Signature, Error>)