Package org.bouncycastle.jcajce.spec
package org.bouncycastle.jcajce.spec
AlgorithmParameterSpec / KeySpec
implementations specific to BC's provider — covering PBKDF2 with extended digests,
HKDF, ML-KEM / ML-DSA / SLH-DSA parameter sets, GOST key agreement, ZUC, SM2, EC
implicit-CA, and other JDK-not-shipped algorithms.-
ClassesClassDescriptionParameterSpec for AEAD modes which allows associated data to be added via an algorithm parameter spec.In normal circumstances you would only want to use this if you had to work with the pre-JDK1.7 Cipher class as associated data is ignored for the purposes of returning a Cipher's parameters.Key spec for use with the Argon2 SecretKeyFactory (RFC 9106).Parameters for the RFC 8439 (formerly RFC 7539) form of the ChaCha20 stream cipher - "ChaCha7539", also registered as "ChaCha20", in the BC provider: a 12 byte nonce and the initial value of the 32 bit block counter.Deprecated.Now believed unsafe to use - will be removed in a future release.Deprecated.creation of new legacy generic composite (id_alg_composite) signatures is no longer supported by
org.bouncycastle.operator.jcajce.JcaContentSignerBuilder- use a modern fixed-algorithm Composite ML-DSA key/signature algorithm instead.Parameters for the CompositeSignature algorithm.Extension class for DHParameterSpec that wraps a DHDomainParameters object and provides the q domain parameter.A DHPrivateKeySpec that also carries a set of DH domain parameters.A DHPublicKeySpec that also carries a set of DH domain parameters.Parameter spec to provide Diffie-Hellman Unified model keys and user keying material.ParameterSpec for a DSTU4145 key.ParameterSpec for EdDSA signature algorithms.AlgorithmSpec for the standardised FrodoKEM (ISO/IEC 18033-2).A parameter spec for the GOST-28147 cipher.A parameter spec for the GOST-28147 cipher.ParameterSpec for a GOST 3410-1994/2001/2012 algorithm parameters.Parameter spec for the SP 800-56C Rev.Parameter spec for an integrated encryptor KEM, as in IEEE_Std_1609_2Derivation parameters for the NIST SP 800-108 Rev.Builder class for creating a KEMExtractSpec.Builder class for creating a KEMGenerateSpec.Deprecated.use KTSParameterSpecDerivation parameters for the KMAC-based KDF of the CMS KEMRecipientInfo profiles (RFC 9629 with id-Kmac128 / id-Kmac256, as used by RFC 9935 for ML-KEM): the derived key is KMAC(secret, context, L, customization) with L the output length (KDF.getInstance("KMAC128-KDF")or "KMAC256-KDF").ParameterSpec for the KMAC variants of SHAKE as used by CMS (RFC 8702 §3.4).Parameter spec for doing KTS based wrapping via the Cipher API.Builder class for creating a KTSParameterSpec.ParameterSpec for keys using the LMS Hierarchical Signature System (HSS), as described in RFC 8554 and profiled by NIST SP 800-208.ParameterSpec for the Leighton-Micali Hash-Based Signature (LMS) scheme, as described in RFC 8554 and profiled by NIST SP 800-208.AlgorithmSpec for ML-DSAPrivateKeySpec for ML-DSA.PublicKeySpec for ML-DSA.AlgorithmSpec for ML-KEMPrivateKeySpec for ML-DSA.PublicKeySpec for ML-DSA.Parameter spec to provide MQV ephemeral keys and user keying material.Derivation parameters for the NIST SP 800-56C Rev.OpenSSHPrivateKeySpec holds and encoded OpenSSH private key.Holds an OpenSSH encoded public key.Extension of PBEKeySpec which takes into account the PRF algorithm setting available in PKCS#5 PBKDF2.An encoded key spec that just wraps the minimal data for a public/private key representation.A simple object to indicate that a symmetric cipher should reuse the last key provided.Key spec for use with the scrypt SecretKeyFactory.Parameters for the Skein hash function - a series of byte[] strings identified by integer tags.A builder forSkeinParameterSpec.AlgorithmSpec for SLH-DSAParameter spec for SM2 ID parameterKey spec for rebuilding a user's SM9 encryption (KEM / decryption) private key (de, GM/T 0044.4) from its PKCS#8 encoding throughKeyFactory.SM9.Parameter spec for the SM9 key exchange protocol (GM/T 0044.3-2016) throughKeyAgreement.SM9: the two things the protocol needs that theKeyAgreementAPI has no slot for - which role this party plays, and the length of the agreed key, which is an input to the GM/T 0044.3 key derivation rather than a truncation of its output.Key spec for rebuilding a user's SM9 signature private key (ds_A, GM/T 0044.2) from its PKCS#8 encoding throughKeyFactory.SM9.Key Spec class for generating TLS key/iv material.ParameterSpec for XDH key agreement algorithms.