Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8303613

EdECPrivateKey should support Destroyable.destroy()

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      Elliptic curve private keys, e.g. implementations of EdECPrivateKey like EdDSAPrivateKeyImpl implement the Destroyable interface by deriving from PrivateKey.

      Unfortunately they provide no implementation of the destroy() method, thus reverting to the default implementation of the Destroyable interface (throwing an DestroyFailedException).

      It would be great if calling destroy() would zero the array holding the sensitive data.


            kdriver Kevin Driver
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: