Modifier and Type | Method and Description |
---|---|
void |
DigitalSigner.closeSession()
Closes the session.
|
SignedDocument |
DigitalSigner.countersign(SignedDocument sigDoc,
SignerInfo signerInfoToSign,
CertificateSelector selector,
boolean cades,
TSAClient tsaClient)
Signs the specified data and add a time stamp taken from the given TSA Client
|
static SignedDocument |
SignedDocument.fromByteArray(byte[] cms)
Instanciate a SignedDocument instance Froms a PKCS#7 or CAdES byte array.
|
static SignedDocument |
SignedDocument.fromInputStream(java.io.InputStream ins)
Instanciate a SignedDocument instance Froms a PKCS#7 or CAdES byte array.
|
java.util.Vector<java.security.cert.X509Certificate> |
SignedDocument.getCertificates()
Gets the certificates in the signed document
|
static java.lang.String |
DigitalSigner.getMatchingCryptokiPath()
Searchs for a matching cryptoki based upon the ATR of the smart card and returns the cryptoki path to be used in DigitalSignature Constructor
|
SignedDocument |
PDFSignatureVerifier.getSignature(int index) |
java.security.cert.X509Certificate |
SignerInfo.getSignerCertificate() |
void |
PDFSignatureGenerator.init(int pageIndex,
float x,
float y,
float width,
float height,
java.lang.String message,
java.lang.String reason,
java.lang.String name,
java.lang.String location,
java.lang.String fieldName,
java.lang.String subFilter,
byte[] image)
Initialize a pdf signature
|
void |
DigitalSigner.login(java.lang.String pin)
Logins the with specified pin.
|
void |
DigitalSigner.logout()
Logouts this instance.
|
void |
DigitalSigner.openSession(int slotIndex)
Opens the session.
|
Certificate |
SimpleCertificateSelector.select(Session session) |
Certificate |
QualifiedCertificateSelector.select(Session session) |
Certificate |
CertificateSelector.select(Session session)
Select a certificate from the list of available ones
|
void |
PDFSignatureGenerator.setSignature(byte[] signature)
Set the signature buffer
|
SignedDocument |
DigitalSigner.sign(byte[] data,
CertificateSelector selector)
Signs the specified data and add a time stamp taken from the given TSA Client
|
SignedDocument |
DigitalSigner.sign(byte[] data,
CertificateSelector selector,
boolean cades,
boolean multisignature)
Signs the specified data and add a time stamp taken from the given TSA Client
|
SignedDocument |
DigitalSigner.sign(byte[] data,
CertificateSelector selector,
boolean cades,
boolean multisignature,
TSAClient tsaClient)
Signs the specified data and add a time stamp taken from the given TSA Client
|
byte[] |
PDFSignatureGenerator.signPDF(DigitalSigner signer,
CertificateSelector selector,
boolean pades,
boolean multisignature,
TSAClient tsaClient)
Signs the pdf
|
int |
SignedDocument.verify()
Verifies all the signatures in the document
|
int |
SignedDocument.verify(java.util.Date date)
Verifies all the signatures in the document
|
int |
SignedDocument.verify(int index,
java.util.Date date)
Verifies the signature at the given index
|