-
Interfaces Interface Description org.bouncycastle.crypto.KeyEncapsulation org.bouncycastle.jcajce.provider.asymmetric.util.DSAEncoder No longer usedorg.bouncycastle.jce.interfaces.ElGamalPublicKey just use DHPublicKey.org.bouncycastle.jce.interfaces.MQVPrivateKey use MQVParameterSpec for passing the ephemeral key.org.bouncycastle.jce.interfaces.MQVPublicKey use MQVParameterSpec for passing the ephemeral key.org.bouncycastle.pqc.crypto.xmss.XMSSStoreableObjectInterface use Encodableorg.bouncycastle.pqc.jcajce.interfaces.CMCEKey the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.interfaces.DilithiumKey to be deleted - use ML-DSA instead.org.bouncycastle.pqc.jcajce.interfaces.DilithiumPrivateKey to be deleted - use ML-DSA instead.org.bouncycastle.pqc.jcajce.interfaces.DilithiumPublicKey to be deleted - use ML-DSA instead.org.bouncycastle.pqc.jcajce.interfaces.FrodoKey the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.interfaces.SPHINCSPlusKey to be deleted - use SLH-DSA instead.org.bouncycastle.pqc.jcajce.interfaces.SPHINCSPlusPrivateKey to be deleted - use SLH-DSA instead.org.bouncycastle.pqc.jcajce.interfaces.SPHINCSPlusPublicKey to be deleted - use SLH-DSA instead.org.bouncycastle.pqc.jcajce.interfaces.StateAwareSignature it's better to avoid this and use extractKeyShard methods where possible.
-
Classes Class Description org.bouncycastle.asn1.OIDTokenizer Will be removedorg.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure use RSAPrivateKeyorg.bouncycastle.asn1.sec.ECPrivateKeyStructure use ECPrivateKeyorg.bouncycastle.asn1.util.DERDump use ASN1Dump.org.bouncycastle.asn1.x509.PrivateKeyStatement use PrivateKeyPossessionStatementorg.bouncycastle.asn1.x509.RSAPublicKeyStructure use org.bouncycastle.asn1.pkcs.RSAPublicKeyorg.bouncycastle.asn1.x509.TBSCertificateStructure use TBSCertificateorg.bouncycastle.asn1.x509.X509CertificateStructure use org.bouncycastle.asn1.x509.Certificateorg.bouncycastle.asn1.x509.X509Extension use Extensionorg.bouncycastle.asn1.x509.X509Extensions useExtensionandExtensionsorg.bouncycastle.asn1.x509.X509ExtensionsGenerator use org.bouncycastle.asn1.x509.ExtensionsGeneratororg.bouncycastle.asn1.x509.X509Name use org.bouncycastle.asn1.x500.X500Name.org.bouncycastle.asn1.x509.X509NameTokenizer use X500NameTokenizerorg.bouncycastle.asn1.x9.DHDomainParameters use DomainParametersorg.bouncycastle.asn1.x9.DHValidationParms use ValidationParamsorg.bouncycastle.crypto.digests.AsconDigest use Ascon Hash 256 Digestorg.bouncycastle.crypto.digests.AsconXof Now superseded - please use AsconXof128org.bouncycastle.crypto.engines.AESFastEngine unfortunately this class is has a few side channel issues. In an environment where encryption/decryption may be closely observed it should not be used.org.bouncycastle.crypto.engines.AsconEngine Now superseded. Please refer toAsconAEAD128Enginefor future implementations.org.bouncycastle.crypto.kems.ECIESKeyEncapsulation use ECIESKEMGenerator, ECIESKEMExtractororg.bouncycastle.crypto.kems.RSAKeyEncapsulation use RSAKEMGenerator, RSAKEMExtractororg.bouncycastle.crypto.modes.PaddedBlockCipher use org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher instead.org.bouncycastle.crypto.params.CCMParameters use AEADParametersorg.bouncycastle.crypto.signers.ECGOST3410_2012Signer UseECGOST3410Signerinstead.org.bouncycastle.crypto.util.Pack use org.bouncycastle.util.packorg.bouncycastle.jcajce.BCFKSStoreParameter This class does not support configuration on creation, use BCFKSLoadStoreParameter for best results.org.bouncycastle.jcajce.provider.config.PKCS12StoreParameter use org.bouncycastle.jcajce.PKCS12StoreParameterorg.bouncycastle.jcajce.provider.util.SecretKeyUtil class appears to be no longer in use, maybe getting imported by others though.org.bouncycastle.jcajce.spec.KEMParameterSpec use KTSParameterSpecorg.bouncycastle.jce.PKCS10CertificationRequest use classes in org.bouncycastle.pkcs.org.bouncycastle.jce.PKCS12Util Replaced byorg.bouncycastle.pkcs.util.PKCS12Util; this class does not understand RFC 9579 PBMAC1-protected PKCS#12 files (it throws UnsupportedOperationException for them) and will be removed in a future release.org.bouncycastle.jce.provider.JDKPKCS12StoreParameter use org.bouncycastle.jcajce.config.PKCS12StoreParameterorg.bouncycastle.jce.provider.X509CertificateObject Do not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.org.bouncycastle.jce.provider.X509CertParser use CertificateFactory or the PEMParser in the openssl package (pkix jar).org.bouncycastle.jce.provider.X509CRLObject Do not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.org.bouncycastle.jce.spec.GOST28147ParameterSpec use org.bouncycastle.jcajce.spec.GOST28147ParameterSpecorg.bouncycastle.jce.spec.RepeatedSecretKeySpec use super class org.bouncycastle.jcajce.spec.RepeatedSecretKeySpecorg.bouncycastle.jce.X509Principal use the X500Name class.org.bouncycastle.pqc.crypto.cmce.CMCEKEMExtractor the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEKEMGenerator the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEKeyGenerationParameters the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEKeyPairGenerator the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEKeyParameters the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEParameters the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEPrivateKeyParameters the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.cmce.CMCEPublicKeyParameters the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoKEMExtractor the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoKEMGenerator the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoKeyGenerationParameters the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoKeyPairGenerator the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoKeyParameters the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoParameters the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoPrivateKeyParameters the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.frodo.FrodoPublicKeyParameters the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.crypto.mldsa.HashMLDSASigner use org.bouncycastle.crypto.signers.HashMLDSASignerorg.bouncycastle.pqc.crypto.mldsa.MLDSAKeyGenerationParameters use org.bouncycastle.crypto.params.MLDSAKeyGenerationParametersorg.bouncycastle.pqc.crypto.mldsa.MLDSAKeyPairGenerator use org.bouncycastle.crypto.generators.MLDSAKeyPairGeneratororg.bouncycastle.pqc.crypto.mldsa.MLDSAKeyParameters use org.bouncycastle.crypto.params.MLDSAKeyParametersorg.bouncycastle.pqc.crypto.mldsa.MLDSAParameters use org.bouncycastle.crypto.params.MLDSAParametersorg.bouncycastle.pqc.crypto.mldsa.MLDSAPrivateKeyParameters use org.bouncycastle.crypto.params.MLDSAPrivateKeyParametersorg.bouncycastle.pqc.crypto.mldsa.MLDSAPublicKeyParameters use org.bouncycastle.crypto.params.MLDSAPublicKeyParametersorg.bouncycastle.pqc.crypto.mldsa.MLDSASigner use org.bouncycastle.crypto.signers.MLDSASignerorg.bouncycastle.pqc.crypto.mlkem.MLKEMExtractor use org.bouncycastle.crypto.kems.MLKEMExtractororg.bouncycastle.pqc.crypto.mlkem.MLKEMGenerator use org.bouncycastle.crypto.kems.MLKEMGeneratororg.bouncycastle.pqc.crypto.mlkem.MLKEMKeyGenerationParameters use org.bouncycastle.crypto.params.MLKEMKeyGenerationParametersorg.bouncycastle.pqc.crypto.mlkem.MLKEMKeyPairGenerator use org.bouncycastle.crypto.generators.MLKEMKeyPairGeneratororg.bouncycastle.pqc.crypto.mlkem.MLKEMKeyParameters use org.bouncycastle.crypto.params.MLKEMKeyParametersorg.bouncycastle.pqc.crypto.mlkem.MLKEMParameters use org.bouncycastle.crypto.params.MLKEMParametersorg.bouncycastle.pqc.crypto.mlkem.MLKEMPrivateKeyParameters use org.bouncycastle.crypto.params.MLKEMKeyPrivateKeyParametersorg.bouncycastle.pqc.crypto.mlkem.MLKEMPublicKeyParameters use org.bouncycastle.crypto.params.MLKEMKeyPublicKeyParametersorg.bouncycastle.pqc.crypto.slhdsa.HashSLHDSASigner use org.bouncycastle.crypto.signers.HashSLHDSASignerorg.bouncycastle.pqc.crypto.slhdsa.SLHDSAEngine use org.bouncycastle.crypto.signers.slhdsa.SLHDSASignerorg.bouncycastle.pqc.crypto.slhdsa.SLHDSAKeyGenerationParameters use org.bouncycastle.crypto.params.SLHDSAKeyGenerationParametersorg.bouncycastle.pqc.crypto.slhdsa.SLHDSAKeyPairGenerator use org.bouncycastle.crypto.generators.SLHDSAKeyPairGeneratororg.bouncycastle.pqc.crypto.slhdsa.SLHDSAKeyParameters use org.bouncycastle.crypto.params.SLHDSAKeyParametersorg.bouncycastle.pqc.crypto.slhdsa.SLHDSAParameters use org.bouncycastle.crypto.params.SLHDSAParametersorg.bouncycastle.pqc.crypto.slhdsa.SLHDSAPrivateKeyParameters use org.bouncycastle.crypto.params.SLHDSAPrivateKeyParametersorg.bouncycastle.pqc.crypto.slhdsa.SLHDSAPublicKeyParameters use org.bouncycastle.crypto.params.SLHDSAPublicKeyParametersorg.bouncycastle.pqc.crypto.slhdsa.SLHDSASigner use org.bouncycastle.crypto.signers.SLHDSASignerorg.bouncycastle.pqc.jcajce.provider.CMCE the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.cmce.BCCMCEPrivateKey the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.cmce.BCCMCEPublicKey the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.cmce.CMCEKeyFactorySpi the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.cmce.CMCEKeyGeneratorSpi the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.cmce.CMCEKeyPairGeneratorSpi the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.Frodo the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.frodo.BCFrodoPrivateKey the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.frodo.BCFrodoPublicKey the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.frodo.FrodoKeyFactorySpi the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.frodo.FrodoKeyGeneratorSpi the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.frodo.FrodoKeyPairGeneratorSpi the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.provider.util.SpecUtil use org.bouncycastle.jcajce.util.SpecUtilorg.bouncycastle.pqc.jcajce.spec.CMCEParameterSpec the standardised Classic McEliece KEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see org.bouncycastle.crypto.params.CMCEParameters and org.bouncycastle.jcajce.spec.CMCEParameterSpec). This is the legacy NIST round 3 (non-pc, incl. mceliece348864) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.spec.FrodoParameterSpec the standardised FrodoKEM (ISO/IEC 18033-2:2006/Amd 2:2026) is now provided under org.bouncycastle.crypto and org.bouncycastle.jcajce (see FrodoKEMParameters / FrodoKEMParameterSpec). This is the legacy NIST round 3 (unsalted, eFrodoKEM) implementation, retained for backwards compatibility.org.bouncycastle.pqc.jcajce.spec.LMSHSSParameterSpec use LMSKeyGenParameterSpecorg.bouncycastle.pqc.jcajce.spec.LMSParameterSpec use LMSKeyGenParameterSpecorg.bouncycastle.util.GF16 moved toGF16; this type now delegates there and will be removed in a future release.