Class BouncyCastleFactoryCreator
java.lang.Object
com.itextpdf.bouncycastleconnector.BouncyCastleFactoryCreator
This class provides the ability to create
IBouncyCastleFactory
instance. User chooses which bouncy-castle will be created by specifying dependency. Bouncy-castle dependency must be added in order to use this class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IBouncyCastleFactory
ReturnsIBouncyCastleFactory
instance for bouncy-castle classes creation.static void
setFactory
(IBouncyCastleFactory newFactory) SetsIBouncyCastleFactory
instance, which will be used for bouncy-castle classes creation.
-
Method Details
-
setFactory
SetsIBouncyCastleFactory
instance, which will be used for bouncy-castle classes creation.- Parameters:
-
newFactory
-IBouncyCastleFactory
instance to be set.
-
getFactory
ReturnsIBouncyCastleFactory
instance for bouncy-castle classes creation.- Returns:
-
IBouncyCastleFactory
implementation.
-