/**
*
* Signators and Verifiactors should implement own classes for this interface * that generate the text to be signed from the underlying data. For example a * binary signature holder could generate the text to be signed by Base64 * encoding the binary data. Furthermore this allows to cache the text to be * signed. *
* * @author wprinz */ public interface SignatureHolder { // /** // * Returns the signed text (verification) or the to-be-signed signable text // * (signation). // * // *// * Note that this text must be the one that was actually signed. This text is // * directly passed to the connector for signation/verification. No // * normalization or modification will be / must be done to this text between // * reading out from the signature holder and passing the text to the // * connector. // *
// * // * @return Returns the signed text or the to-be-signed signable text. // */ // public String getSignedText(); /** * * @return Returns the SignatureObject containing the issuer, serial number, * etc. */ public SignatureObject getSignatureObject(); /** * Returns the DataSource providing the data. * @return */ public DataSource getDataSource(); }