Package-level declarations

Digital signatures.

Types

Link copied to clipboard
Biometric data of a Signature.
Link copied to clipboard
A digital signature stored inside a PDF document.
Link copied to clipboard
data class DigitalSignatureMetadata(val signatureAppearance: SignatureAppearance? = null, val estimatedSize: Int? = null, val hashAlgorithm: HashAlgorithm? = null, val reason: String? = null, val location: String? = null, val timestampData: TimestampData? = null, val biometricData: BiometricSignatureData? = null) : Parcelable

DigitalSignatureMetadata contains all metadata like appearance config, algorithm and other configuration needed for signing data

Link copied to clipboard

Enum defining the type of digital signatures.

Link copied to clipboard
Detailed status about validity of a DigitalSignatureInfo.
Link copied to clipboard

Validates digital signatures. Use .validateSignature passing it a signature info.

Link copied to clipboard
Contains information about signatures of a document.
Link copied to clipboard
Hash algorithm for digesting PDF data as part of a digital signing process.
Link copied to clipboard
class PublicKey(val publicKeyScheme: String, val keyLength: Int)

Holds info regarding Public Key

Link copied to clipboard
abstract class Signature : Parcelable
Represents a single signature (or signature item).
Link copied to clipboard
Configures the appearance of digital signatures that are added to the document.
Link copied to clipboard

In memory signature bitmap storage that fetches all the available signature bitmaps from the DatabaseSignatureStorage and loads them into signatureBitmapHashMap.

Link copied to clipboard

Contains all the data needed to perform a signing operation.

Link copied to clipboard

SigningManager provides a public API to digitally sign documents with either PAdES advanced digital signatures or basic CMS signatures (see DigitalSignatureType)

Link copied to clipboard

Singleton object that holds the list of trusted certificates used for digital signature validation and signing. By default we load the trusted certificates from the OS as well as Adobe CA certificates from the assets. Add additional root/trusted certificates to this object if you want to use them for signing or validation.

Link copied to clipboard
Represents overall validation status.
Link copied to clipboard
class X509CertificateData(val publicKey: PublicKey?, val issuerCn: String?, val issuerDn: String?, val subjectCn: String?, val subjectDn: String?, val serialNumber: String?, val isSelfSigned: Boolean? = false, val isCaCertificate: Boolean? = false, val validFrom: Date?, val validUntil: Date?)

Provides metadata of signing certificate

Functions

Link copied to clipboard
fun getPrivateKeyEntryFromP12Stream(inputStream: InputStream, password: String? = null, alias: String? = null, keyPassword: String? = null): KeyStore.PrivateKeyEntry

Convenience method to load a certificate/private key pair from a PKCS#12 file (usually with .p12 extension).

Link copied to clipboard

Takes an input stream containing a PEM encoded private key and returns a PrivateKey instance.

Link copied to clipboard

getX509Certificates fetches the certificateChain and if its null it fetches certificate from the KeyStore.PrivateKeyEntry checks if they are X509Certificate and returns all in a list

Link copied to clipboard

Convenience method to load a X.509 certificate from a File.

Link copied to clipboard

Convenience method to load a X.509 certificate from an InputStream.