Uses of Class
zeroecho.sdk.builders.alg.HmacDataContentBuilder
Packages that use HmacDataContentBuilder
Package
Description
Streaming cryptographic builders for symmetric encryption, signatures, MACs,
digests, and KEM envelopes.
Derived-key utilities for integrating hybrid KEX output with streaming
builders.
-
Uses of HmacDataContentBuilder in zeroecho.sdk.builders.alg
Methods in zeroecho.sdk.builders.alg that return HmacDataContentBuilderModifier and TypeMethodDescriptionstatic HmacDataContentBuilderHmacDataContentBuilder.builder(ZeroEchoSession session) Creates a new builder for constructing HMAC computing or verifying pipelines.HmacDataContentBuilder.emitBase64Tag()Configures the pipeline to emit the finalized HMAC tag as Base64 text.HmacDataContentBuilder.emitHexTag()Configures the pipeline to emit the finalized HMAC tag as lowercase hexadecimal text.HmacDataContentBuilder.emitRawTag()Configures the pipeline to emit the finalized HMAC tag as raw bytes.HmacDataContentBuilder.emitVerificationBoolean()Configures the pipeline to verify and emit a textual boolean result.HmacDataContentBuilder.expectedTag(byte[] raw) Supplies the expected HMAC tag as raw bytes for verification.HmacDataContentBuilder.expectedTagBase64(String b64) Supplies the expected HMAC tag as a Base64 string for verification.HmacDataContentBuilder.expectedTagHex(String hex) Supplies the expected HMAC tag as a hexadecimal string for verification.HmacDataContentBuilder.generateKey(int bits) Requests generation of a new secret key sized for the configured MAC.HmacDataContentBuilder.importKeyBase64(String b64) Imports a secret key from a Base64 string.HmacDataContentBuilder.importKeyHex(String hex) Imports a secret key from a hexadecimal string.HmacDataContentBuilder.importKeyRaw(byte[] raw) Imports a secret key from raw bytes.HmacDataContentBuilder.mac()Switches the builder to MAC mode.HmacDataContentBuilder.passThrough()Configures the pipeline to pass the input body through unchanged and strip the engine's trailer.HmacDataContentBuilder.sha256()Selects HmacSHA256.HmacDataContentBuilder.sha384()Selects HmacSHA384.HmacDataContentBuilder.sha512()Selects HmacSHA512.Sets the HMAC specification to use for this pipeline.HmacDataContentBuilder.verify()Switches the builder to VERIFY mode.Supplies an explicit secret key for the HMAC operation. -
Uses of HmacDataContentBuilder in zeroecho.sdk.hybrid.derived
Methods in zeroecho.sdk.hybrid.derived that return HmacDataContentBuilderModifier and TypeMethodDescriptionHybridDerived.applyToHmac(HmacDataContentBuilder hmac) Derives a MAC key using the builder's recommended size and applies it to the provided HMAC builder.HybridDerived.applyToHmac(HmacDataContentBuilder hmac, int keyBits) Derives a MAC key of an explicit size (override) and applies it to the provided HMAC builder.Methods in zeroecho.sdk.hybrid.derived with parameters of type HmacDataContentBuilderModifier and TypeMethodDescriptionHybridDerived.applyToHmac(HmacDataContentBuilder hmac) Derives a MAC key using the builder's recommended size and applies it to the provided HMAC builder.HybridDerived.applyToHmac(HmacDataContentBuilder hmac, int keyBits) Derives a MAC key of an explicit size (override) and applies it to the provided HMAC builder.