Specifications
Returns true if this certificate is valid, false otherwise.
A certificate in any session other than the active
isValid( ) : Boolean
session is valid if and only if all of the following
conditions apply:
• The certificate resides in a Certified PDF file with a
valid signature.
• The certificate’s state is not “Unknown”.
• The certificate is not dirty, that is, its editing zones
do not overlap with any of the editing zones
touched in a later session (excluding the
certificate’s own session).
A certificate in the active session is valid if and only
if its state is not “Unknown”. This is because it is
assumed that the certificate will be saved in a file
with a valid signature and because the editing zones
in the active session never make the certificate dirty.
Setters [W]
These functions may be invoked only on certificates residing in the active session. Invoking them
on any other certificate is a programming error and has unpredictable results.
Sets the version string for the data type of this certificate’s class
properties (CP2:class_version). The scripting API does not support
access to class properties.
setClassVersion( value : String
)
Sets the unique identifier for the type of this certificate
(CP2:type_id). This identifier indirectly specifies the data type
setTypeID( value : String )
of the certificate’s private properties, and is used by a
conforming application to select a certificate handler
implementation that can interpret the contents of these
properties.
Sets the version string for the type of this certificate
(CP2:type_version). This version string indirectly specifies the
setTypeVersion( value : String
)
version of the certificate’s private properties, and can be used
by a certificate handler implementation while interpreting these
private properties.
Sets the human-readable description of this certificate’s type
and version (CP2:type_desc). This function sets the English
setTypeDescription( value :
String )
language alternate and erases all other alternates. To set other
language alternates, use appropriate setters on an AltText object
obtained with getTypeDescriptionLocalized().
Sets the unique identifier for the certificate handler
implementation that created this certificate (CP2:impl_id).
setImplementationID( value :
String )
Sets the version string for the certificate handler implementation
that created this certificate (CP2:impl_version).
setImplementationVersion(
value : String )
Sets the human-readable description of the certificate handler
implementation that created this certificate (CP2:impl_desc).
setImplementationDescription(
value : String )
This function sets the English language alternate and erases all
other alternates. To set other language alternates, use
507
Enfocus Switch 10