| com.pspdfkit.signatures.provider.SignatureProvider |
Known Indirect Subclasses
|
Interface for classes able to sign data of a PDF.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract EncryptionAlgorithm |
getEncryptionAlgorithm()
Returns the encryption algorithm used by this signature provider.
| ||||||||||
| abstract byte[] |
signData(byte[] data, HashAlgorithm hashAlgorithm)
Returns a hash from signing the given data.
| ||||||||||
Returns the encryption algorithm used by this signature provider.
EncryptionAlgorithm that this provider will use to sign the hashed data.
Returns a hash from signing the given data.
| data | Data that should be hashed and signed. |
|---|---|
| hashAlgorithm | Hash algorithm that should be applied to data before signing it. |