System.Security.Cryptography.HpkeRecipient
Represents an HPKE recipient context for decrypting multiple messages and exporting secrets.
Gets the cipher suite associated with this recipient.
Initializes a new instance of the HpkeRecipient class with the specified cipher suite.
Releases all resources used by the HpkeRecipient class.
Releases the unmanaged resources used by this recipient and optionally releases its managed resources.
Derives an exported secret from this recipient context.
Derives an exported secret from this recipient context.
Derives an exported secret from this recipient context into the provided buffer.
When overridden in a derived class, derives an exported secret from this recipient context.
Decrypts and authenticates a message using this recipient context.
Decrypts and authenticates a message using this recipient context.
public void Open(ReadOnlySpan<byte> ciphertext, Span<byte> plaintext, ReadOnlySpan<byte> associatedData = default)
Decrypts and authenticates a message into the provided buffer using this recipient context.
protected abstract void OpenCore(ReadOnlySpan<byte> ciphertext, Span<byte> plaintext, ReadOnlySpan<byte> associatedData)
When overridden in a derived class, decrypts and authenticates a message using this recipient context.