Package org.bouncycastle.crypto.hpke
Class HPKEContext
java.lang.Object
org.bouncycastle.crypto.hpke.HPKEContext
- Direct Known Subclasses:
HPKEContextWithEncapsulation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AEAD
protected final byte[]
protected final org.bouncycastle.crypto.hpke.HKDF
protected final byte[]
-
Method Summary
-
Field Details
-
aead
-
hkdf
protected final org.bouncycastle.crypto.hpke.HKDF hkdf -
exporterSecret
protected final byte[] exporterSecret -
suiteId
protected final byte[] suiteId
-
-
Method Details
-
export
public byte[] export(byte[] exportContext, int L) -
seal
- Throws:
InvalidCipherTextException
-
open
- Throws:
InvalidCipherTextException
-