Interface Factory<T>

Type Parameters:
T - the type of object created by this factory
All Known Subinterfaces:
Factory.Named<T>
All Known Implementing Classes:
AES128CBC.Factory, AES128CTR.Factory, AES192CBC.Factory, AES192CTR.Factory, AES256CBC.Factory, AES256CTR.Factory, BlockCiphers.Factory, BlowfishCBC.Factory, BouncyCastleRandom.Factory, ChachaPolyCiphers.Factory, Curve25519SHA256.Factory, Curve25519SHA256.FactoryLibSsh, DelayedZlibCompression.Factory, DHG1.Factory, DHG14.Factory, DHGexSHA1.Factory, DHGexSHA256.Factory, DHGroups.Factory, ECDHNistP.Factory256, ECDHNistP.Factory384, ECDHNistP.Factory521, ExtInfoClientFactory, GcmCiphers.Factory, HMACMD5.Factory, HMACMD596.Factory, HMACRIPEMD160.Factory, HMACSHA1.Factory, HMACSHA196.Factory, HMACSHA2256.Factory, HMACSHA2512.Factory, JCERandom.Factory, KeyAlgorithms.Factory, Macs.Factory, MD5.Factory, NoneCipher.Factory, NoneCompression.Factory, OpenSSHKeyFile.Factory, OpenSSHKeyV1KeyFile.Factory, PKCS8KeyFile.Factory, PuTTYKeyFile.Factory, SHA1.Factory, SHA256.Factory, SHA384.Factory, SHA512.Factory, SignatureDSA.Factory, SignatureECDSA.Factory256, SignatureECDSA.Factory384, SignatureECDSA.Factory521, SignatureEdDSA.Factory, SignatureRSA.FactoryCERT, SignatureRSA.FactoryRSASHA256, SignatureRSA.FactoryRSASHA512, SignatureRSA.FactorySSHRSA, SingletonRandomFactory, StreamCiphers.Factory, TripleDESCBC.Factory, ZlibCompression.Factory

public interface Factory<T>
A basic factory interface.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Interface for a named factory.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • create

      T create()
      Returns:
      a new object created using this factory.