Class ChaosKeyGeneratorImpl

  • public class ChaosKeyGeneratorImpl
    extends javax.crypto.KeyGeneratorSpi
    Thanks Christian Pontesegger for the very good example on "Writing your own JCA extensions - a full cipher" at: "" and for the very good example on "Writing your own JCA extensions - a simple digest " at: ""
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.crypto.SecretKey engineGenerateKey​()
      protected void engineInit​(int aKeySize, aSecureRandom)
      void engineInit​( aSecureRandom)
      void engineInit​( ap, sr)
      • Methods inherited from class java.lang.Object

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

      • ChaosKeyGeneratorImpl

        public ChaosKeyGeneratorImpl​()
    • Method Detail

      • engineInit

        public void engineInit​( aSecureRandom)
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
      • engineInit

        public void engineInit​( ap,
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi
      • engineGenerateKey

        public javax.crypto.SecretKey engineGenerateKey​()
        Specified by:
        engineGenerateKey in class javax.crypto.KeyGeneratorSpi
      • engineInit

        protected void engineInit​(int aKeySize,
        Specified by:
        engineInit in class javax.crypto.KeyGeneratorSpi