sign With Basic Signature
This function is used to provide a complete PKCS#7 signature in the document with com.pspdfkit.signatures.DigitalSignatureType.BASIC digital signature type. Results can be extracted by com.pspdfkit.utils.Response.onSuccess or com.pspdfkit.utils.Response.onError
Return
com.pspdfkit.utils.Response with ByteArray as a result.
Parameters
Context of the application
SigningConfiguration contains essential configurations needed for the signing.
HashAlgorithm used for the signature
Deprecated
Use signWithBasicSignature with SigningConfiguration instead
Replace with
signWithBasicSignature(context, signingConfiguration, unsignedData, hashAlgorithm)This function is used to provide a complete PKCS#7 signature in the document with com.pspdfkit.signatures.DigitalSignatureType.BASIC digital signature type. Results can be extracted by com.pspdfkit.utils.Response.onSuccess or com.pspdfkit.utils.Response.onError
Return
com.pspdfkit.utils.Response with ByteArray as a result.
Parameters
Context of the application
SignerOptions contains various configurations needed for the signing.
HashAlgorithm used for the signature