Class HPKEContext

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected AEAD aead  
      protected byte[] exporterSecret  
      protected org.bouncycastle.crypto.hpke.HKDF hkdf  
      protected byte[] suiteId  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] expand​(byte[] prk, byte[] info, int L)  
      byte[] export​(byte[] exportContext, int L)  
      byte[] extract​(byte[] salt, byte[] ikm)  
      byte[] open​(byte[] aad, byte[] ct)  
      byte[] open​(byte[] aad, byte[] ct, int ctOffset, int ctLength)  
      byte[] seal​(byte[] aad, byte[] message)  
      byte[] seal​(byte[] aad, byte[] pt, int ptOffset, int ptLength)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait