Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.fedict.eid.applet.service.spi
Interface SignatureServiceEx

All Superinterfaces:
  SignatureService

    public interface SignatureServiceEx

extends SignatureService

Interface for extended signature service component.

Author:
  Frank Cornelis

Method Summary
`DigestInfo` | `preSign(List<DigestInfo> digestInfos, List<X509Certificate> signingCertificateChain, IdentityDTO identity, AddressDTO address, byte[] photo)` Pre-sign callback method.

Methods inherited from interface be.fedict.eid.applet.service.spi.SignatureService
`getFilesDigestAlgorithm, postSign, preSign`

Method Detail

### preSign

    DigestInfo preSign(List<DigestInfo> digestInfos,
                       List<X509Certificate> signingCertificateChain,
                       IdentityDTO identity,
                       AddressDTO address,
                       byte[] photo)
                       throws NoSuchAlgorithmException

  Pre-sign callback method. Depending on the configuration some parameters are passed. The returned value will be signed by the eID Applet.

  TODO: service must be able to throw some exception on failure.

  Parameters:
    `digestInfos` - the optional list of digest infos.
    `signingCertificateChain` - the optional list of certificates.
    `identity` - the optional identity.
    `address` - the optional identity address.
    `photo` - the optional identity photo.
  Returns:
    the digest to be signed.
  Throws:
    `NoSuchAlgorithmException`

Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 FedICT. All Rights Reserved.