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.See: Description
| Class | Description |
|---|---|
| AEADParameterSpec |
ParameterSpec 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.
|
| Argon2KeySpec |
Key spec for use with the Argon2 SecretKeyFactory (RFC 9106).
|
| BCChaCha20ParameterSpec |
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.
|
| CMCEParameterSpec | Deprecated
Now believed unsafe to use - will be removed in a future release.
|
| CompositeAlgorithmSpec | 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. |
| CompositeAlgorithmSpec.Builder | |
| CompositeSignatureSpec |
Parameters for the CompositeSignature algorithm.
|
| ContextParameterSpec | |
| DHDomainParameterSpec |
Extension class for DHParameterSpec that wraps a DHDomainParameters object and provides the q domain parameter.
|
| DHExtendedPrivateKeySpec |
A DHPrivateKeySpec that also carries a set of DH domain parameters.
|
| DHExtendedPublicKeySpec |
A DHPublicKeySpec that also carries a set of DH domain parameters.
|
| DHUParameterSpec |
Parameter spec to provide Diffie-Hellman Unified model keys and user keying material.
|
| DSTU4145ParameterSpec |
ParameterSpec for a DSTU4145 key.
|
| EdDSAParameterSpec |
ParameterSpec for EdDSA signature algorithms.
|
| FPEParameterSpec | |
| FrodoKEMParameterSpec |
AlgorithmSpec for the standardised FrodoKEM (ISO/IEC 18033-2).
|
| GOST28147ParameterSpec |
A parameter spec for the GOST-28147 cipher.
|
| GOST28147WrapParameterSpec |
A parameter spec for the GOST-28147 cipher.
|
| GOST3410ParameterSpec |
ParameterSpec for a GOST 3410-1994/2001/2012 algorithm parameters.
|
| HKDFParameterSpec | |
| HybridValueParameterSpec |
Parameter spec for the SP 800-56C Rev. 2 "hybrid" shared secret: the secret a
KeyAgreement derives keys from becomes Z' = Z || T, where Z is the agreement's own
shared secret and T is a secret established by some other scheme (SP 800-56C Rev. 2, Section
2). |
| IESKEMParameterSpec |
Parameter spec for an integrated encryptor KEM, as in IEEE_Std_1609_2
|
| KBKDFParameterSpec |
Derivation parameters for the NIST SP 800-108 Rev. 1 key-based key derivation functions
(
KDF.getInstance("KBKDF-COUNTER-HMACSHA256"), "KBKDF-FEEDBACK-HMACSHA256",
"KBKDF-PIPELINE-HMACSHA256", ...): the input key K_IN, the fixed input data, the output length, the
counter length and, for feedback mode, the IV. |
| KEMExtractSpec | |
| KEMExtractSpec.Builder |
Builder class for creating a KEMExtractSpec.
|
| KEMGenerateSpec | |
| KEMGenerateSpec.Builder |
Builder class for creating a KEMGenerateSpec.
|
| KEMKDFSpec | |
| KEMParameterSpec | Deprecated
use KTSParameterSpec
|
| KMACKDFParameterSpec |
Derivation 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"). |
| KMACParameterSpec |
ParameterSpec for the KMAC variants of SHAKE as used by CMS (RFC 8702 §3.4).
|
| KTSParameterSpec |
Parameter spec for doing KTS based wrapping via the Cipher API.
|
| KTSParameterSpec.Builder |
Builder class for creating a KTSParameterSpec.
|
| LMSHSSKeyGenParameterSpec |
ParameterSpec for keys using the LMS Hierarchical Signature System (HSS), as described in RFC 8554
and profiled by NIST SP 800-208.
|
| LMSKeyGenParameterSpec |
ParameterSpec for the Leighton-Micali Hash-Based Signature (LMS) scheme, as described in RFC 8554
and profiled by NIST SP 800-208.
|
| MLDSAParameterSpec |
AlgorithmSpec for ML-DSA
|
| MLDSAPrivateKeySpec |
PrivateKeySpec for ML-DSA.
|
| MLDSAPublicKeySpec |
PublicKeySpec for ML-DSA.
|
| MLKEMParameterSpec |
AlgorithmSpec for ML-KEM
|
| MLKEMPrivateKeySpec |
PrivateKeySpec for ML-DSA.
|
| MLKEMPublicKeySpec |
PublicKeySpec for ML-DSA.
|
| MQVParameterSpec |
Parameter spec to provide MQV ephemeral keys and user keying material.
|
| OneStepKDFParameterSpec |
Derivation parameters for the NIST SP 800-56C Rev. 2 Section 4.1 one-step key derivation function
(
KDF.getInstance("ONESTEP-SHA256"), "ONESTEP-HMACSHA256", "ONESTEP-KMAC128", ...): the shared
secret Z, the FixedInfo, the output length, and for the HMAC and KMAC options an optional salt. |
| OpenSSHPrivateKeySpec |
OpenSSHPrivateKeySpec holds and encoded OpenSSH private key.
|
| OpenSSHPublicKeySpec |
Holds an OpenSSH encoded public key.
|
| PBKDF2KeySpec |
Extension of PBEKeySpec which takes into account the PRF algorithm setting available in PKCS#5 PBKDF2.
|
| RawEncodedKeySpec |
An encoded key spec that just wraps the minimal data for a public/private key representation.
|
| RepeatedSecretKeySpec |
A simple object to indicate that a symmetric cipher should reuse the
last key provided.
|
| ScryptKeySpec |
Key spec for use with the scrypt SecretKeyFactory.
|
| SkeinParameterSpec |
Parameters for the Skein hash function - a series of byte[] strings identified by integer tags.
|
| SkeinParameterSpec.Builder |
A builder for
SkeinParameterSpec. |
| SLHDSAParameterSpec |
AlgorithmSpec for SLH-DSA
|
| SM2KeyExchangeSpec | |
| SM2ParameterSpec |
Parameter spec for SM2 ID parameter
|
| SM9EncUserPrivateKeySpec |
Key spec for rebuilding a user's SM9 encryption (KEM / decryption) private key
(de, GM/T 0044.4) from its PKCS#8 encoding through
KeyFactory.SM9. |
| SM9KeyExchangeSpec |
Parameter spec for the SM9 key exchange protocol (GM/T 0044.3-2016) through
KeyAgreement.SM9: the two things the protocol needs that the
KeyAgreement API 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. |
| SM9SigUserPrivateKeySpec |
Key spec for rebuilding a user's SM9 signature private key (ds_A, GM/T 0044.2)
from its PKCS#8 encoding through
KeyFactory.SM9. |
| TLSKeyMaterialSpec |
Key Spec class for generating TLS key/iv material.
|
| TLSRSAPremasterSecretParameterSpec | |
| UserKeyingMaterialSpec | |
| XDHParameterSpec |
ParameterSpec for XDH key agreement algorithms.
|
| XMSSMTParameterSpec | |
| XMSSParameterSpec |
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.