I'm trying to sign a signature field using the SignField method, but I'm receiving a -1 error code on return.
What does -1 mean?
I have the .p12 file inside the android device and I'm passing it's path to the second param (cert_file param). Is that wrong?
How should I pass this param to the method?
dear user, return value -1 mean one of following reasons:
1. no premium license actived.
2. document is not writable. this can be checked by Document.CanSave();
3. the native library that you are using not support signature
for arm64, library support signature has size 4.7M, and 3.7M for library without signature feature
4. password of cert file is null.
other return value will be:
-2: annotation is not sign field or field has already signed.
-3: invalid annotation data.
-4: save PDF file failed, this shall be rarely. most like memory allocate failed and other system error.
-5: cert file open failed.