Class PKIMessageParserFactory
- java.lang.Object
-
- org.certificateservices.messages.pkimessages.PKIMessageParserFactory
-
public class PKIMessageParserFactory extends java.lang.ObjectFactory class in charge of creating and initializing a PKI Message Parser from a given configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSETTING_PKIMESSAGEPARSER_IMPLSetting indicating which implementation of PKI Message Parser that should be used.
-
Constructor Summary
Constructors Constructor Description PKIMessageParserFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PKIMessageParsergenPKIMessageParser(MessageSecurityProvider securityProvider, java.util.Properties config)Method to generate a new PKIMessageParser from the configuration, if setting "pkimessage.parser.impl" isn't set will the default message parser be created.
-
-
-
Field Detail
-
SETTING_PKIMESSAGEPARSER_IMPL
public static final java.lang.String SETTING_PKIMESSAGEPARSER_IMPL
Setting indicating which implementation of PKI Message Parser that should be used. By default is the Default Message Parser used.- See Also:
- Constant Field Values
-
-
Method Detail
-
genPKIMessageParser
public static PKIMessageParser genPKIMessageParser(MessageSecurityProvider securityProvider, java.util.Properties config) throws MessageException
Method to generate a new PKIMessageParser from the configuration, if setting "pkimessage.parser.impl" isn't set will the default message parser be created.- Parameters:
securityProvider- the security provider used for the message parser.config- the configuration context.- Returns:
- a newly created PKI Message parser
- Throws:
MessageException- if problems occurred creating a message parser.
-
-