Uses of Class
zeroecho.sdk.builders.alg.RsaEncDataContentBuilder
Packages that use RsaEncDataContentBuilder
Package
Description
Streaming cryptographic builders for symmetric encryption, signatures, MACs,
digests, and KEM envelopes.
-
Uses of RsaEncDataContentBuilder in zeroecho.sdk.builders.alg
Methods in zeroecho.sdk.builders.alg that return RsaEncDataContentBuilderModifier and TypeMethodDescriptionstatic RsaEncDataContentBuilderRsaEncDataContentBuilder.builder(ZeroEchoSession session) Creates a new builder for constructing RSA encryption or decryption pipelines.RsaEncDataContentBuilder.generateKeyPair(int bits, int publicExponent) Requests generation of a fresh RSA key pair using the given modulus size and public exponent.RsaEncDataContentBuilder.generateKeyPair(RsaKeyGenSpec spec) Requests generation of a fresh RSA key pair with the provided key generation specification.RsaEncDataContentBuilder.importPrivatePkcs8(byte[] pkcs8) Imports a private key from PKCS#8-encoded bytes.RsaEncDataContentBuilder.importPublicX509(byte[] x509) Imports a public key from X.509 SubjectPublicKeyInfo bytes.RsaEncDataContentBuilder.oaep(RsaEncSpec.Hash h) Selects RSA-OAEP with the given hash algorithm for MGF1 and hash.RsaEncDataContentBuilder.oaepLabel(byte[] label) Sets the OAEP label as arbitrary bytes.RsaEncDataContentBuilder.oaepLabelUtf8(String s) Sets the OAEP label from a UTF-8 string.RsaEncDataContentBuilder.oaepSha256()Selects RSA-OAEP with SHA-256 for MGF1 and hash.RsaEncDataContentBuilder.pkcs1v15()Selects PKCS#1 v1.5 padding for RSA.RsaEncDataContentBuilder.spec(RsaEncSpec s) Sets the RSA encryption specification, including padding and OAEP parameters.RsaEncDataContentBuilder.withPrivateKey(PrivateKey k) Supplies the private key to use for decryption.RsaEncDataContentBuilder.withPublicKey(PublicKey k) Supplies the public key to use for encryption.