Class ChachaPolyCiphers.Factory

    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(int authSize, int keySize, java.lang.String name, java.lang.String cipher)  
    • Method Summary

      Modifier and Type Method Description
      Cipher create()  
      java.lang.String getName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Factory

        public Factory​(int authSize,
                       int keySize,
                       java.lang.String name,
                       java.lang.String cipher)
    • Method Detail

      • create

        public Cipher create()
        Specified by:
        create in interface Factory<Cipher>
        Returns:
        a new object created using this factory.
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Factory.Named<Cipher>
        Returns:
        the name of this factory.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object