Uses of Class
zeroecho.sdk.builders.alg.RsaSigDataContentBuilder
Packages that use RsaSigDataContentBuilder
Package
Description
Streaming cryptographic builders for symmetric encryption, signatures, MACs,
digests, and KEM envelopes.
-
Uses of RsaSigDataContentBuilder in zeroecho.sdk.builders.alg
Methods in zeroecho.sdk.builders.alg that return RsaSigDataContentBuilderModifier and TypeMethodDescriptionstatic RsaSigDataContentBuilderRsaSigDataContentBuilder.builder(ZeroEchoSession session) Creates a new builder for constructing RSA signing or verification pipelines.RsaSigDataContentBuilder.emitBase64Signature()Configures sign mode to emit the finalized signature as Base64 text.RsaSigDataContentBuilder.emitHexSignature()Configures sign mode to emit the finalized signature as lowercase hexadecimal text.RsaSigDataContentBuilder.emitRawSignature()Configures sign mode to emit the finalized signature as raw bytes.RsaSigDataContentBuilder.emitVerificationBoolean()Configures verify mode to emit a textual boolean result.RsaSigDataContentBuilder.expectedSignature(byte[] raw) Supplies the expected signature as raw bytes for verification.RsaSigDataContentBuilder.expectedSignatureBase64(String b64) Supplies the expected signature as a Base64 string for verification.RsaSigDataContentBuilder.expectedSignatureHex(String hex) Supplies the expected signature as a hexadecimal string for verification.RsaSigDataContentBuilder.generateKeyPair(RsaKeyGenSpec spec) Requests generation of a fresh RSA key pair with the provided key generation specification.RsaSigDataContentBuilder.importPrivatePkcs8(byte[] pkcs8) Imports a private key from PKCS#8-encoded bytes.RsaSigDataContentBuilder.importPublicX509(byte[] x509) Imports a public key from X.509 SubjectPublicKeyInfo bytes.RsaSigDataContentBuilder.onSignature(Consumer<byte[]> cb) Registers a callback that receives a defensive copy of the finalized signature bytes in sign mode.RsaSigDataContentBuilder.onVerified(Consumer<Boolean> cb) Registers a callback that receives the verification result in verify mode.RsaSigDataContentBuilder.passThrough()Configures the pipeline to pass the input body through unchanged while appending or checking a trailer.RsaSigDataContentBuilder.pkcs1v15(RsaSigSpec.Hash h) Selects the PKCS#1 v1.5 signature scheme with the given hash function.RsaSigDataContentBuilder.pss(RsaSigSpec.Hash h, int saltLen) Selects the RSASSA-PSS signature scheme with the given hash function and salt length.RsaSigDataContentBuilder.sign()Switches the builder to sign mode.RsaSigDataContentBuilder.spec(RsaSigSpec s) Sets the RSA signature specification, including padding mode and hash options.RsaSigDataContentBuilder.verify()Switches the builder to verify mode.RsaSigDataContentBuilder.withPrivateKey(PrivateKey k) Supplies the private key to use for signing.RsaSigDataContentBuilder.withPublicKey(PublicKey k) Supplies the public key to use for verification.