Signing Manager
object SigningManager
SigningManager provides a public API to digitally sign documents with either PAdES advanced digital signatures or basic CMS signatures (see DigitalSignatureType)
Use TrustedKeyStore to add trusted certificates for signature validation.
Functions
Link copied to clipboard
fun signDocument(context: Context, signerOptions: SignerOptions, customSigning: suspend (ByteArray, String) -> ByteArray? = null, onFailure: (Throwable) -> Unit, onSuccess: () -> Unit)
fun signDocument(context: Context, signerOptions: SignerOptions, type: DigitalSignatureType = DigitalSignatureType.CADES, customSigning: suspend (ByteArray, String) -> ByteArray? = null, onFailure: (Throwable) -> Unit, onSuccess: () -> Unit)
signDocument provides functionality to insert a digital signature in a document