Class DefaultLetterManager
java.lang.Object
org.kopi.ebics.letter.DefaultLetterManager
- All Implemented Interfaces:
LetterManager
The
DefaultLetterManager is a simple way
to manage initialization letters.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateA005Letter(EbicsUser user) Creates the initialization letter for the INI request.createE002Letter(EbicsUser user) Creates the initialization letter for the HIA request.createX002Letter(EbicsUser user) Creates the initialization letter for the HIA request.
-
Constructor Details
-
DefaultLetterManager
Constructs a newLetterManager- Parameters:
locale- the application locale.
-
-
Method Details
-
createA005Letter
public InitLetter createA005Letter(EbicsUser user) throws GeneralSecurityException, IOException, EbicsException Description copied from interface:LetterManagerCreates the initialization letter for the INI request. This letter contains information about the signature certificate of the given user.- Specified by:
createA005Letterin interfaceLetterManager- Parameters:
user- the ebics user.- Returns:
- the INI letter.
- Throws:
GeneralSecurityExceptionIOExceptionEbicsException
-
createE002Letter
public InitLetter createE002Letter(EbicsUser user) throws GeneralSecurityException, IOException, EbicsException Description copied from interface:LetterManagerCreates the initialization letter for the HIA request. This letter contains information about the encryption certificates of the given user.- Specified by:
createE002Letterin interfaceLetterManager- Parameters:
user- the ebics user- Returns:
- the HIA letter
- Throws:
GeneralSecurityExceptionIOExceptionEbicsException
-
createX002Letter
public InitLetter createX002Letter(EbicsUser user) throws GeneralSecurityException, IOException, EbicsException Description copied from interface:LetterManagerCreates the initialization letter for the HIA request. This letter contains information about the authentication certificates of the given user.- Specified by:
createX002Letterin interfaceLetterManager- Parameters:
user- the ebics user- Returns:
- the HIA letter
- Throws:
GeneralSecurityExceptionIOExceptionEbicsException
-