Class SecurityProvider


  • public class SecurityProvider
    extends Object
    Singleton which provides a security provider.
    • Method Detail

      • getProvider

        public static Provider getProvider()
                                    throws IOException
        Returns the provider to be used for advanced encrypting/decrypting. Default is the BouncyCastleProvider.
        Returns:
        the security provider
        Throws:
        IOException - if the default provider can't be instantiated
      • setProvider

        public static void setProvider​(Provider provider)
        Set the provider to be used for advanced encrypting/decrypting.
        Parameters:
        provider - the security provider