Class SecretWithEncapsulationImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      byte[] getEncapsulation()
      Return the data that carries the secret in its encapsulated form.
      byte[] getSecret()
      Return the secret associated with the encapsulation.
      boolean isDestroyed()  
      • Methods inherited from class java.lang.Object

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

      • SecretWithEncapsulationImpl

        public SecretWithEncapsulationImpl​(byte[] sessionKey,
                                           byte[] cipher_text)
    • Method Detail

      • destroy

        public void destroy()
                     throws javax.security.auth.DestroyFailedException
        Specified by:
        destroy in interface javax.security.auth.Destroyable
        Throws:
        javax.security.auth.DestroyFailedException
      • isDestroyed

        public boolean isDestroyed()
        Specified by:
        isDestroyed in interface javax.security.auth.Destroyable