Package com.pspdfkit.signatures
Class SignerOptions
-
- All Implemented Interfaces:
public final class SignerOptions
Contains all the data needed to perform a signing operation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
SignerOptions.Builder
A helper class used for building the SignerOptions.
-
Field Summary
Fields Modifier and Type Field Description private final SignatureFormField
signatureFormField
private final Uri
outputFile
private final DigitalSignatureMetadata
metadata
private final KeyStore.PrivateKeyEntry
privateKeyEntry
private final PrivateKey
privateKey
private final List<X509Certificate>
certificates
private final Boolean
enableLtv
-
Method Summary
Modifier and Type Method Description final SignatureFormField
getSignatureFormField()
Signature form field to be signed. final Uri
getOutputFile()
Destination where the signed document will be written. final DigitalSignatureMetadata
getMetadata()
DigitalSignatureMetadata that contains additional metadata to add to the signature. final KeyStore.PrivateKeyEntry
getPrivateKeyEntry()
Private key entry containing certificates (usually created by p12 file) used by java.security.Signature to sign documents final PrivateKey
getPrivateKey()
Alternatively a private key used by java.security.Signature to sign documents final List<X509Certificate>
getCertificates()
A chain of certificates from the signer certificate to the trusted root. final Boolean
getEnableLtv()
Whether or not to enable PAdES-B-LT which includes Long Term Validation information in the signature. -
-
Method Detail
-
getSignatureFormField
final SignatureFormField getSignatureFormField()
Signature form field to be signed.
-
getOutputFile
final Uri getOutputFile()
Destination where the signed document will be written.
-
getMetadata
final DigitalSignatureMetadata getMetadata()
DigitalSignatureMetadata that contains additional metadata to add to the signature.
-
getPrivateKeyEntry
final KeyStore.PrivateKeyEntry getPrivateKeyEntry()
Private key entry containing certificates (usually created by p12 file) used by java.security.Signature to sign documents
-
getPrivateKey
final PrivateKey getPrivateKey()
Alternatively a private key used by java.security.Signature to sign documents
-
getCertificates
final List<X509Certificate> getCertificates()
A chain of certificates from the signer certificate to the trusted root. Can just contain one if the certificate is self-signed
-
getEnableLtv
final Boolean getEnableLtv()
Whether or not to enable PAdES-B-LT which includes Long Term Validation information in the signature. Enabled by default.
-
-
-
-