be.fedict.eid.applet.service.spi
Interface AuthenticationSignatureService


public interface AuthenticationSignatureService

Authentication Signature Service SPI. Via this interface you can create for example WS-Security signatures via the eID Applet.

Author:
Frank Cornelis

Method Summary
 void postSign(byte[] signatureValue, List<X509Certificate> authnCertificateChain, AuthenticationSignatureContext authenticationSignatureContext)
          Via this method your receive the signature as created via the eID Applet over the corresponding digest value from the DigestInfo structure from #preSign(List).
 PreSignResult preSign(List<X509Certificate> authnCertificateChain, AuthenticationSignatureContext authenticationSignatureContext)
          Gives back the digest value and digest algo to be used by the eID Applet for the creation of an authentication signature.
 

Method Detail

preSign

PreSignResult preSign(List<X509Certificate> authnCertificateChain,
                      AuthenticationSignatureContext authenticationSignatureContext)
Gives back the digest value and digest algo to be used by the eID Applet for the creation of an authentication signature.

Parameters:
authnCertificateChain - the authentication certificate chain.
authenticationSignatureContext - the context
Returns:
the digest info structure.

postSign

void postSign(byte[] signatureValue,
              List<X509Certificate> authnCertificateChain,
              AuthenticationSignatureContext authenticationSignatureContext)
Via this method your receive the signature as created via the eID Applet over the corresponding digest value from the DigestInfo structure from #preSign(List).

Parameters:
signatureValue - the signature value.
authnCertificateChain - the authentication certificate chain.
authenticationSignatureContext - the context.


Copyright © 2008-2012 FedICT. All Rights Reserved.