Uses of Class
zeroecho.sdk.builders.alg.KemDataContentBuilder
Packages that use KemDataContentBuilder
Package
Description
Streaming cryptographic builders for symmetric encryption, signatures, MACs,
digests, and KEM envelopes.
-
Uses of KemDataContentBuilder in zeroecho.sdk.builders.alg
Methods in zeroecho.sdk.builders.alg that return KemDataContentBuilderModifier and TypeMethodDescriptionstatic KemDataContentBuilderKemDataContentBuilder.builder(ZeroEchoSession session) Returns a newKemDataContentBuilder.KemDataContentBuilder.derivedKeyBytes(int bytes) Sets the number of derived key bytes to feed into the selected symmetric builder.KemDataContentBuilder.directSecret()Disables HKDF and uses the shared secret directly (or truncated) for the symmetric key.KemDataContentBuilder.hkdfSha256(byte[] info) Configures HKDF-SHA256 as the key derivation function using the providedinfocontext string.Sets the canonical KEM algorithm identifier to use (e.g., "ML-KEM").KemDataContentBuilder.maxKemCiphertextLen(int maxBytes) Sets a safety limit for the KEM ciphertext length accepted in decryption.KemDataContentBuilder.recipientPrivate(PrivateKey k) Sets the recipient private key for decapsulation (decryption path).KemDataContentBuilder.recipientPublic(PublicKey k) Sets the recipient public key for encapsulation (encryption path).KemDataContentBuilder.withAes(AesDataContentBuilder b) Selects AES as the payload cipher and supplies a configuredAesDataContentBuilderthat will receive the derived key.KemDataContentBuilder.withChaCha(ChaChaDataContentBuilder b) Selects ChaCha20/ChaCha20-Poly1305 as the payload cipher and supplies a configuredChaChaDataContentBuilderthat will receive the derived key.