Deprecated API
Contents
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionWill be removedclass appears to be no longer in use, maybe getting imported by others though.Do not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.Do not use this class directly - either use org.bouncycastle.cert (bcpkix) or CertificateFactory.use org.bouncycastle.crypto.signers.HashMLDSASigneruse org.bouncycastle.crypto.params.MLDSAKeyGenerationParametersuse org.bouncycastle.crypto.generators.MLDSAKeyPairGeneratoruse org.bouncycastle.crypto.params.MLDSAKeyParametersuse org.bouncycastle.crypto.params.MLDSAParametersuse org.bouncycastle.crypto.params.MLDSAPrivateKeyParametersuse org.bouncycastle.crypto.params.MLDSAPublicKeyParametersuse org.bouncycastle.crypto.signers.MLDSASigneruse org.bouncycastle.crypto.kems.MLKEMExtractoruse org.bouncycastle.crypto.kems.MLKEMGeneratoruse org.bouncycastle.crypto.params.MLKEMKeyGenerationParametersuse org.bouncycastle.crypto.generators.MLKEMKeyPairGeneratoruse org.bouncycastle.crypto.params.MLKEMKeyParametersuse org.bouncycastle.crypto.params.MLKEMParametersuse org.bouncycastle.crypto.params.MLKEMKeyPrivateKeyParametersuse org.bouncycastle.crypto.params.MLKEMKeyPublicKeyParametersuse org.bouncycastle.crypto.signers.HashSLHDSASigneruse org.bouncycastle.crypto.signers.slhdsa.SLHDSASigneruse org.bouncycastle.crypto.params.SLHDSAKeyGenerationParametersuse org.bouncycastle.crypto.generators.SLHDSAKeyPairGeneratoruse org.bouncycastle.crypto.params.SLHDSAKeyParametersuse org.bouncycastle.crypto.params.SLHDSAPrivateKeyParametersuse org.bouncycastle.crypto.params.SLHDSAPublicKeyParametersuse org.bouncycastle.crypto.signers.SLHDSASigner
-
Deprecated FieldsFieldDescriptionuse id_aa_ets_commitmentType insteaduse id_aa_ets_otherSigCert insteaduse id_aa_ets_signerLocation insteaduse id_aa_ets_sigPolicyId insteaduse smime_alg insteaduse id_spq_oid insteaduse pbeWithSHAAnd40BitRC2_CBCuse x509Certificate insteaduse SERIALNUMBER or SURNAMEuse statementOfPossessionuse id_at_roleUse CRMFObjectIdentifiers.passwordBasedMac insteaduse NOT_STRICT_LENGTH_ENABLED_PROPERTYuse kem_P384_SHA384use ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailersuse ISOTrailers
-
Deprecated MethodsMethodDescriptionWill be removedWill be removedNo longer used; will be removedNo longer used; will be removeduse getHash(), the internal encoding is now an OCTET STRINGUse
AuthorityKeyIdentifier.getKeyIdentifierOctets()instead.Use getValidityObject instead.Use DeltaCertificateTool#trimDeltaCertificateDescriptor instead.Use addExtensions instead.Will be removedUseMLDSAPrivateKeyParameters.getEncoded()instead.UseMLKEMPrivateKeyParameters.withPreferredFormat(int)instead.replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with "#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)replaced with engineGetParameters()replaced with "#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"use getSBox()use AlgorithmParametersUtils.extractParameters(AlgorithmParameters params)use MessageDigestUtils,getDigestName()use AlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams)Use createMessageDigest insteadUse createMessageDigest insteadUseX25519Field.decode255(byte[], int[])instead.UseX25519Field.decode255(byte[], int, int[], int)instead.UseX25519Field.decode255(byte[], int, int[], int)instead.UseX25519Field.decode255(int[], int, int[], int)instead.UseX448Field.decode448(byte[], int[])instead.UseX448Field.decode448(byte[], int, int[], int)instead.UseX448Field.decode448(byte[], int, int[], int)instead.UseX448Field.decode448(int[], int, int[], int)instead.UseMLDSAPrivateKeyParameters.getEncoded()instead.will be removed.UseMLKEMPrivateKeyParameters.withPreferredFormat(int)instead.replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)UseNat.xorTo64(int, long[], int, long[], int)instead.
-
Deprecated ConstructorsConstructorDescriptionUse
DLExternal.fromVector(ASN1EncodableVector)instead.UseDLExternal.fromSequence(ASN1Sequence)instead.use the getInstance() method that takes a style.create the extension using org.bouncycastle.cert.X509ExtensionUtilscreate the extension using org.bouncycastle.cert.X509ExtensionUtilsuse KeyPurposeId[] constructor.use PolicyQualifierInfo.getInstance()use getInstance() will be removed.use AsymmetricKeyParameteruse AESEngine.newInstance()use the CBCBlockCipher.newInstance() static method.use the CCMBlockCipher.newInstance() static method.use the GCMBlockCipher.newInstance() static method.use the CBCBlockCipher.newInstance() static method.use newInstance() method.use constructor taking order/cofactoruse constructor taking order/cofactoruse constructor taking order/cofactor