/**
*
* May be {@link Constants#SIGNATURE_TYPE_BINARY} or * {@link Constants#SIGNATURE_TYPE_TEXTUAL}. *
* * @return Returns the type of this signature (binary/textual). */ public String getSignatureType(); /** * Returns the DataSource providing the data that was signed. * ** Note that this is the signed data as sent to the verification device by * PDF-AS. The verification device (e.g. MOA) may perform several other * transformations on the data before feeding it to the signature hash * function. To get the actual hashed data use the ReturnHashInputData mechanism (which is very slow). *
* * @return Returns the DataSource providing the data that was signed. * * @see at.gv.egiz.pdfas.api.verify.VerifyParameters#setReturnHashInputData(boolean) * @see at.gv.egiz.pdfas.api.verify.VerifyResult#getHashInputData() * */ public DataSource getSignedData(); /** * Returns the certificate of the signer. * ** Information like subject name, issuer name or serial number can be * retrieved form this certificate. *
* * @return Returns the certificate of the signer. */ public X509Certificate getSignerCertificate(); /** * Returns the signing time, which is the time when the signature was created. * * @return Returns the signing time, which is the time when the signature was * created. */ public Date getSigningTime(); /** * Returns additional, internal information about the found signature. * ** Note that this provides a way for developers to gather core information * about the signature. What information is returned strongly depends on the * core implementation. *
* * @return Returns additional, internal information about the signature. Null * means that no additional information is available. */ public Object getInternalSignatureInformation(); }