java.lang.Object
com.liferay.portal.security.key.secret.Secret
All Implemented Interfaces:
AutoCloseable, Destroyable

public final class Secret extends Object implements AutoCloseable, Destroyable
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • destroy

      public void destroy()
      Specified by:
      destroy in interface Destroyable
    • getBytes

      public byte[] getBytes()
    • getChars

      public char[] getChars()
    • getKeyReference

      public KeyReference getKeyReference()
    • isDestroyed

      public boolean isDestroyed()
      Specified by:
      isDestroyed in interface Destroyable