pub struct PdfSignature<'a> { /* private fields */ }
Expand description

A single digital signature in a PdfDocument.

Implementations§

Returns the PdfiumLibraryBindings used by this PdfSignature.

Returns the raw byte data for this PdfSignature.

For public key signatures, the byte data is either a DER-encoded PKCS#1 binary or a DER-encoded PKCS#7 binary.

Returns the reason for the signing, if any, as a plain text description provided by the creator of this PdfSignature.

Returns the date, if any, in plain text format as specified by the creator of this PdfSignature. The format of the returned value is expected to be D:YYYYMMDDHHMMSS+XX’YY’, with precision to the second and including timezone information.

This value should only be used if the date of signing is not encoded into the digital signature itself.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.