Class DigitalSignatureInfo.BuildData
-
- All Implemented Interfaces:
public class DigitalSignatureInfo.BuildData
Build data dictionary of a software that created the digital signature.
-
-
Field Summary
Fields Modifier and Type Field Description public final String
name
public final String
date
public final Integer
revision
public final String
revisionText
public final String
operatingSystem
public final Integer
minimumVersion
-
Method Summary
Modifier and Type Method Description String
getName()
Name of the software module that was used to create the digital signature. String
getDate()
Build date of the software that was used to create the digital signature. Integer
getRevision()
The software module revision number. String
getRevisionText()
String representation of the software module revision number. String
getOperatingSystem()
Operation system that was used while generating the digital signature. Integer
getMinimumVersion()
Minimum version of the software that is required to process the signature. boolean
isPreRelease()
Flag indicating that the signature was created with unreleased software. boolean
isNonEmbeddedFontNoWarn()
Flag if no warning should be displayed about not embedded fonts. boolean
isTrustedMode()
Flag that indicates that the software used for creating the digital signature was running in trusted mode (usually false
).String
toString()
-
-
Method Detail
-
getName
@Nullable() String getName()
Name of the software module that was used to create the digital signature.
- Returns:
Name of the software or
null
.
-
getDate
@Nullable() String getDate()
Build date of the software that was used to create the digital signature. The date is usually produced by the compiler of the software and does not follow any specific format.
- Returns:
Build date of the software or
null
.
-
getRevision
@Nullable() Integer getRevision()
The software module revision number. This should be a unique number for every revision of the signature software, which can be used to track and differentiate different software versions.
- Returns:
Revision number of the signature software or
null
.
-
getRevisionText
@Nullable() String getRevisionText()
String representation of the software module revision number.
- Returns:
Revision number of the signature software or
null
.
-
getOperatingSystem
@Nullable() String getOperatingSystem()
Operation system that was used while generating the digital signature. This does not follow any specific format.
- Returns:
Operating system used while generating the signature or
null
.
-
getMinimumVersion
@Nullable() Integer getMinimumVersion()
Minimum version of the software that is required to process the signature. According to the PDF specification, this property is deprecated and should no longer be used.
- Returns:
Minimum version of the software required to process the signature.
-
isPreRelease
boolean isPreRelease()
Flag indicating that the signature was created with unreleased software. This is usually
false
, but might be true if the digital signature was created with a software that was not yet released.- Returns:
true
if the signature was created with an unreleased software, otherwisefalse
(common case).
-
isNonEmbeddedFontNoWarn
boolean isNonEmbeddedFontNoWarn()
Flag if no warning should be displayed about not embedded fonts. This is set to
true
if there is aLegal
dictionary in the catalog of the PDF file, and theNonEmbeddedFonts
attribute in that dictionary has a non-zero value.- Returns:
true
ifNonEmbeddedFonts
in the PDF file is non-zero, otherwisefalse
.
-
isTrustedMode
boolean isTrustedMode()
Flag that indicates that the software used for creating the digital signature was running in trusted mode (usually
false
). Trusted mode means that the code that was used while signing was not affecting the rendering of the PDF file in a way that is not covered by the PDF specification.- Returns:
true
if the software was running in trusted mode, otherwisefalse
(common case).
-
-
-
-