Package | Description |
---|---|
org.faceless.pdf2 |
Contains the classes used to create a PDF document
|
org.faceless.pdf2.viewer2 |
The "viewer" package contains the classes required to create a Swing application to
display PDFs.
|
org.faceless.pdf2.viewer2.feature |
Contains a list of all the features that are available to the PDFViewer.
|
Modifier and Type | Method and Description |
---|---|
FormSignature |
SignatureHandler.getFormSignature()
Get the
FormSignature this handler is attaached to |
Modifier and Type | Method and Description |
---|---|
FormSignature |
SignatureProvider.SignatureState.getSignature()
Return the signature itself
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
SignatureProvider.canSign(FormSignature field)
Return true if this SignatureProvider can sign the specified field
|
abstract boolean |
SignatureProvider.canVerify(FormSignature field)
Return true if this SignatureProvider can verify the specified field
|
static ImageIcon |
SignatureProvider.getIcon(DocumentPanel docpanel,
FormSignature field)
Get an Icon that can be used to describe the specified signature.
|
static SignatureProvider.SignatureState |
SignatureProvider.getSignatureState(DocumentPanel docpanel,
FormSignature field)
Get a previously determined
SignatureProvider.SignatureState for the specified signature field, as set by
setSignatureState() . |
static void |
SignatureProvider.selectSignProvider(DocumentPanel docpanel,
FormSignature field,
JComponent comp,
Point point,
ActionListener listener)
Select a SignatureProvider that can be used to sign the specified signature field.
|
static void |
SignatureProvider.selectVerifyProvider(DocumentPanel docpanel,
FormSignature field,
JComponent comp,
Point point,
ActionListener listener)
Select a SignatureProvider that can be used to verify the specified signature field.
|
void |
DocumentPanel.setSignaturePermissionRestrictions(FormSignature sig)
Limit the permissions that can be
set on this PDF
to ensure they don't conflict with the certification
of this signature. |
static void |
SignatureProvider.setSignatureState(DocumentPanel docpanel,
FormSignature field,
SignatureProvider.SignatureState state)
Set the
SignatureProvider.SignatureState of this field - should be called by the showVerifyDialog()
method after the field has been verified, to save the details of the verification. |
abstract void |
SignatureProvider.showSignDialog(JComponent root,
FormSignature field)
Display the signing dialog for the specified field, and assuming all goes well
sign the field at the end.
|
abstract void |
SignatureProvider.showVerifyDialog(JComponent root,
FormSignature field)
Show a dialog displaying information about the specified (signed) digital signature field.
|
SignatureProvider.SignatureState |
SignatureProvider.verify(JComponent root,
FormSignature field)
Verify the field.
|
Constructor and Description |
---|
SignatureState(FormSignature sig,
Boolean validity,
String reason,
boolean alteredsince,
Exception exception)
Create a new SignatureState
|
Modifier and Type | Method and Description |
---|---|
boolean |
KeyStoreSignatureProvider.canSign(FormSignature field) |
boolean |
RemoteSignatureProvider.canSign(FormSignature field)
Return true if a
RemoteSignatureHandlerFactory has been specified for signing. |
boolean |
KeyStoreSignatureProvider.canVerify(FormSignature field) |
boolean |
RemoteSignatureProvider.canVerify(FormSignature field)
Signatures do not need to be verified remotely, so this method always returns false.
|
void |
KeyStoreSignatureProvider.showSignDialog(JComponent root,
FormSignature field) |
void |
RemoteSignatureProvider.showSignDialog(JComponent root,
FormSignature field) |
void |
KeyStoreSignatureProvider.showVerifyDialog(JComponent jroot,
FormSignature field) |
void |
RemoteSignatureProvider.showVerifyDialog(JComponent root,
FormSignature field)
As the
canVerify() method always returns false, this method
does nothing. |
void |
FormBlankSignatureWidgetFactory.sign(FormSignature field,
DocumentPanel docpanel,
SignatureProvider provider)
Sign the field, by calling the
showSignDialog()
method on the specified SignatureServiceProvider. |
void |
InvisiblySignDocument.sign(FormSignature field,
DocumentPanel docpanel,
SignatureProvider provider)
Sign the Signature field.
|
void |
FormSignedSignatureWidgetFactory.verify(FormSignature field,
DocumentPanel docpanel,
SignatureProvider provider)
Verify the signature field, by calling the
showVerifyDialog() method on the
specified SignatureProvider |
SignatureProvider.SignatureState |
KeyStoreSignatureProvider.verify(JComponent root,
FormSignature field) |
Constructor and Description |
---|
X509SignatureState(FormSignature sig,
Boolean validity,
String reason,
boolean alteredsince,
Exception exception,
X509Certificate cert)
Create a new X509SignatureState
|
Copyright © 2001-2017 Big Faceless Organization