Class CryptoSuite.Factory

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static CryptoSuite getCryptoSuite​()
      Get a crypto suite with the default factory with default settings.
      static CryptoSuite getCryptoSuite​(java.util.Properties properties)
      Get a crypto suite with the default factory with settings defined by properties Properties are uniquely defined by the specific crypto factory.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCryptoSuite

        public static CryptoSuite getCryptoSuite​()
                                          throws java.lang.IllegalAccessException,
                                                 java.lang.InstantiationException,
                                                 java.lang.ClassNotFoundException,
                                                 CryptoException,
                                                 InvalidArgumentException,
                                                 java.lang.NoSuchMethodException,
                                                 java.lang.reflect.InvocationTargetException
        Get a crypto suite with the default factory with default settings. Settings which can define such parameters such as curve strength, are specific to the crypto factory.
        Returns:
        Default crypto suite.
        Throws:
        java.lang.IllegalAccessException
        java.lang.InstantiationException
        java.lang.ClassNotFoundException
        CryptoException
        InvalidArgumentException
        java.lang.NoSuchMethodException
        java.lang.reflect.InvocationTargetException
      • getCryptoSuite

        public static CryptoSuite getCryptoSuite​(java.util.Properties properties)
                                          throws java.lang.IllegalAccessException,
                                                 java.lang.InstantiationException,
                                                 java.lang.ClassNotFoundException,
                                                 CryptoException,
                                                 InvalidArgumentException,
                                                 java.lang.NoSuchMethodException,
                                                 java.lang.reflect.InvocationTargetException
        Get a crypto suite with the default factory with settings defined by properties Properties are uniquely defined by the specific crypto factory.
        Parameters:
        properties - properties that define suite characteristics such as strength, curve, hashing .
        Returns:
        Throws:
        java.lang.IllegalAccessException
        java.lang.InstantiationException
        java.lang.ClassNotFoundException
        CryptoException
        InvalidArgumentException
        java.lang.NoSuchMethodException
        java.lang.reflect.InvocationTargetException