Deprecated Methods |
org.bouncycastle.math.raw.Mod.add(int[], int[], int[], int[])
Will be removed. |
org.bouncycastle.util.Fingerprint.calculateFingerprintSHA512_160(byte[])
use the SHAKE based version. |
org.bouncycastle.util.Arrays.fill(byte[], int, byte)
Use Arrays.fill(byte[], int, int, byte) instead. |
org.bouncycastle.util.Arrays.fill(int[], int, int)
Use Arrays.fill(int[], int, int, int) instead. |
org.bouncycastle.util.Arrays.fill(long[], int, long)
Use Arrays.fill(long[], int, int, long) instead. |
org.bouncycastle.util.Arrays.fill(short[], int, short)
Use Arrays.fill(short[], int, int, short) instead. |
org.bouncycastle.pqc.crypto.ExchangePairGenerator.GenerateExchange(AsymmetricKeyParameter)
use generateExchange |
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithmId()
use getAlgorithm() |
org.bouncycastle.crypto.signers.RSADigestSigner.getAlgorithmName()
|
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getBits()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves.getByName(String)
Use ECGOST3410NamedCurves.getByNameX9(String) instead. |
org.bouncycastle.asn1.cryptopro.ECGOST3410NamedCurves.getByOID(ASN1ObjectIdentifier)
Use ECGOST3410NamedCurves.getByOIDX9(ASN1ObjectIdentifier) instead. |
org.bouncycastle.asn1.cms.TimeStampAndCRL.getCertificateList()
use getCRL() |
org.bouncycastle.asn1.esf.SignerLocation.getCountryName()
use getCountry() |
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getG1()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getG2()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.asn1.cryptopro.GOST3410ParamSetParameters.getLKeySize()
use getKeySize |
org.bouncycastle.asn1.esf.SignerLocation.getLocalityName()
use getLocality() |
org.bouncycastle.asn1.crmf.CertReqMsg.getPop()
use getPopo |
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKey()
use parsePublicKey |
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getV1A()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getV1B()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getV2A()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.math.ec.endo.GLVTypeBParameters.getV2B()
Access via GLVTypeBParameters.getSplitParams() instead. |
org.bouncycastle.asn1.cmp.CMPCertificate.getX509v2AttrCert()
use getOtherCert and getOtherTag to make sure message is really what it should be. |
org.bouncycastle.math.raw.Mod.invert(int[], int[], int[])
Use Mod.checkedModOddInverseVar(int[], int[], int[]) instead. |
org.bouncycastle.pqc.math.linearalgebra.IntegerFunctions.log(double)
use MathFunctions.log(double) instead |
org.bouncycastle.pqc.math.linearalgebra.IntegerFunctions.log(long)
use MathFunctions.log(long) instead |
org.bouncycastle.util.Pack.longToBigEndian(long, byte[], int, int)
Will be removed |
org.bouncycastle.asn1.crmf.CertTemplateBuilder.setExtensions(X509Extensions)
use method taking Extensions |
org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setExtensions(X509Extensions)
use method taking Extensions |
org.bouncycastle.asn1.x509.V2AttributeCertificateInfoGenerator.setExtensions(X509Extensions)
use method taking Extensions |
org.bouncycastle.asn1.x509.V2TBSCertListGenerator.setIssuer(X509Name)
use X500Name method |
org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setIssuer(X509Name)
use X500Name method |
org.bouncycastle.asn1.x509.V1TBSCertificateGenerator.setIssuer(X509Name)
use X500Name method |
org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setSubject(X509Name)
use X500Name method |
org.bouncycastle.asn1.x509.V1TBSCertificateGenerator.setSubject(X509Name)
use X500Name method |
org.bouncycastle.crypto.params.Ed25519PrivateKeyParameters.sign(int, Ed25519PublicKeyParameters, byte[], byte[], int, int, byte[], int)
use overload that doesn't take a public key |
org.bouncycastle.crypto.params.Ed448PrivateKeyParameters.sign(int, Ed448PublicKeyParameters, byte[], byte[], int, int, byte[], int)
use overload that doesn't take a public key |
org.bouncycastle.math.raw.Nat.squareWordAdd(int[], int, int[])
Use Nat.squareWordAddTo(int[], int, int[]) instead. |
org.bouncycastle.math.raw.Nat.squareWordAdd(int[], int, int, int[], int)
Use Nat.squareWordAddTo(int[], int, int, int[], int) instead. |
org.bouncycastle.math.raw.Mod.subtract(int[], int[], int[], int[])
Will be removed. |
Deprecated Constructors |
org.bouncycastle.asn1.ASN1OutputStream(OutputStream)
Use ASN1OutputStream.create(OutputStream) instead. |
org.bouncycastle.crypto.AsymmetricCipherKeyPair(CipherParameters, CipherParameters)
use AsymmetricKeyParameter |
org.bouncycastle.asn1.x509.AttributeCertificate(ASN1Sequence)
use getInstance() method. |
org.bouncycastle.asn1.x509.AuthorityKeyIdentifier(SubjectPublicKeyInfo)
create the extension using org.bouncycastle.cert.X509ExtensionUtils |
org.bouncycastle.asn1.x509.AuthorityKeyIdentifier(SubjectPublicKeyInfo, GeneralNames, BigInteger)
create the extension using org.bouncycastle.cert.X509ExtensionUtils |
org.bouncycastle.crypto.macs.BlockCipherMac(BlockCipher)
use CBCBlockCipherMac |
org.bouncycastle.crypto.macs.BlockCipherMac(BlockCipher, int)
use CBCBlockCipherMac |
org.bouncycastle.asn1.x509.CertificateList(ASN1Sequence)
use getInstance() method. |
org.bouncycastle.asn1.pkcs.CertificationRequest(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.pkcs.CertificationRequestInfo(ASN1Sequence)
use getInstance(). |
org.bouncycastle.asn1.pkcs.CertificationRequestInfo(X509Name, SubjectPublicKeyInfo, ASN1Set)
use X500Name method. |
org.bouncycastle.asn1.cmp.CMPCertificate(AttributeCertificate)
use (type. otherCert) constructor |
org.bouncycastle.asn1.cms.ContentInfo(ASN1Sequence)
use getInstance() |
org.bouncycastle.math.ec.ECCurve.F2m(int, int, BigInteger, BigInteger)
use constructor taking order/cofactor |
org.bouncycastle.math.ec.ECCurve.F2m(int, int, int, int, BigInteger, BigInteger)
use constructor taking order/cofactor |
org.bouncycastle.math.ec.ECCurve.Fp(BigInteger, BigInteger, BigInteger)
use constructor taking order/cofactor |
org.bouncycastle.math.ec.ECFieldElement.F2m(int, int, int, int, BigInteger)
Use ECCurve.fromBigInteger to construct field elements |
org.bouncycastle.math.ec.ECFieldElement.Fp(BigInteger, BigInteger)
Use ECCurve.fromBigInteger to construct field elements |
org.bouncycastle.asn1.sec.ECPrivateKey(BigInteger)
use constructor which takes orderBitLength to guarantee correct encoding. |
org.bouncycastle.asn1.sec.ECPrivateKey(BigInteger, ASN1Encodable)
use constructor which takes orderBitLength to guarantee correct encoding. |
org.bouncycastle.asn1.sec.ECPrivateKey(BigInteger, DERBitString, ASN1Encodable)
use constructor which takes orderBitLength to guarantee correct encoding. |
org.bouncycastle.asn1.cms.EnvelopedData(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.x509.ExtendedKeyUsage(Vector)
use KeyPurposeId[] constructor. |
org.bouncycastle.util.Fingerprint(byte[], boolean)
use the SHAKE only version. |
org.bouncycastle.asn1.x509.GeneralName(X509Name)
use X500Name constructor. |
org.bouncycastle.math.ec.endo.GLVTypeBParameters(BigInteger, BigInteger, BigInteger[], BigInteger[], BigInteger, BigInteger, int)
Use constructor taking a ScalarSplitParameters instead. |
org.bouncycastle.asn1.cms.IssuerAndSerialNumber(ASN1Sequence)
use getInstance() method. |
org.bouncycastle.asn1.cms.IssuerAndSerialNumber(X509CertificateStructure)
use constructor taking Certificate |
org.bouncycastle.asn1.cms.IssuerAndSerialNumber(X509Name, ASN1Integer)
use X500Name constructor |
org.bouncycastle.asn1.cms.IssuerAndSerialNumber(X509Name, BigInteger)
use X500Name constructor |
org.bouncycastle.asn1.cms.KeyAgreeRecipientInfo(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.x509.KeyPurposeId(String)
use getInstance and an OID or one of the constants above. |
org.bouncycastle.asn1.cms.KeyTransRecipientInfo(ASN1Sequence)
use getInstance() |
org.bouncycastle.crypto.macs.OldHMac(Digest)
uses incorrect pad for SHA-512 and SHA-384 use HMac. |
org.bouncycastle.asn1.cms.OriginatorIdentifierOrKey(ASN1OctetString)
use version taking a SubjectKeyIdentifier |
org.bouncycastle.asn1.cms.OriginatorIdentifierOrKey(ASN1Primitive)
use more specific version |
org.bouncycastle.asn1.cms.OriginatorPublicKey(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.cms.PasswordRecipientInfo(ASN1Sequence)
use getInstance() method. |
org.bouncycastle.asn1.x509.PolicyMappings(Hashtable)
use CertPolicyId constructors. |
org.bouncycastle.asn1.x509.PolicyQualifierInfo(ASN1Sequence)
use PolicyQualifierInfo.getInstance() |
org.bouncycastle.asn1.cms.RecipientKeyIdentifier(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.ocsp.ResponseBytes(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.ocsp.ResponseData(ResponderID, ASN1GeneralizedTime, ASN1Sequence, X509Extensions)
use method taking Extensions |
org.bouncycastle.asn1.cmp.RevDetails(CertTemplate, X509Extensions)
use method taking Extensions |
org.bouncycastle.asn1.pkcs.RSAESOAEPparams(ASN1Sequence)
use getInstance() |
org.bouncycastle.asn1.cms.SignerInfo(ASN1Sequence)
use getInstance() method. |
org.bouncycastle.asn1.ocsp.SingleResponse(CertID, CertStatus, ASN1GeneralizedTime, ASN1GeneralizedTime, X509Extensions)
use method taking ASN1GeneralizedTime and Extensions |
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo(ASN1Sequence)
use SubjectPublicKeyInfo.getInstance() |
org.bouncycastle.asn1.ocsp.TBSRequest(GeneralName, ASN1Sequence, X509Extensions)
use method taking Extensions |
org.bouncycastle.asn1.cms.Time(ASN1Primitive)
use getInstance() |
org.bouncycastle.asn1.x509.V2Form(ASN1Sequence)
use getInstance(). |
org.bouncycastle.asn1.x500.X500Name(X500NameStyle, X500Name)
use the getInstance() method that takes a style. |
org.bouncycastle.asn1.x509.X509Extensions(Vector, Hashtable)
use Extensions |
org.bouncycastle.asn1.x509.X509Extensions(Vector, Vector)
use Extensions |
org.bouncycastle.asn1.x509.X509Name(ASN1Sequence)
use X500Name.getInstance() |
org.bouncycastle.asn1.x509.X509Name(boolean, Hashtable, String)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(boolean, String)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(boolean, String, X509NameEntryConverter)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(Hashtable)
use an ordered constructor! The hashtable ordering is rarely correct |
org.bouncycastle.asn1.x509.X509Name(String)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(String, X509NameEntryConverter)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(Vector, Hashtable, X509NameEntryConverter)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(Vector, Vector)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x509.X509Name(Vector, Vector, X509NameEntryConverter)
use X500Name, X500NameBuilder |
org.bouncycastle.asn1.x9.X9FieldElement(BigInteger, ASN1OctetString)
Will be removed |
org.bouncycastle.asn1.x9.X9FieldElement(int, int, int, int, ASN1OctetString)
Will be removed |