Bouncy Castle Cryptography Library 1.64

Deprecated API

Deprecated Classes
org.bouncycastle.crypto.tls.AbstractTlsAgreementCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsCipherFactory
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsClient
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsEncryptionCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsPeer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsServer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsSigner
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AbstractTlsSignerCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.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.tls.AlertDescription
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.AlertLevel
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.x509.AttributeCertificateHolder
          use org.bouncycastle.cert.AttributeCertificateHolder 
org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure
          use JcaX509ExtensionUtils and AuthorityKeyIdentifier.getInstance() 
org.bouncycastle.crypto.tls.BasicTlsPSKIdentity
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.asn1.BERConstructedOctetString
          use BEROctetString 
org.bouncycastle.asn1.BEROutputStream
          Will be removed from public API. 
org.bouncycastle.crypto.tls.BulkCipherAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ByteQueue
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ByteQueueInputStream
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ByteQueueOutputStream
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.params.CCMParameters
          use AEADParameters 
org.bouncycastle.crypto.tls.Certificate
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CertificateRequest
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CertificateStatus
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CertificateStatusRequest
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CertificateStatusType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CertificateType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.Chacha20Poly1305
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ChangeCipherSpec
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CipherSuite
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CipherType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ClientAuthenticationType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ClientCertificateType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.CompressionMethod
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ConnectionEnd
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ContentType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsAgreementCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsCipherFactory
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsClient
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsDHVerifier
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsEncryptionCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsServer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsSignerCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DefaultTlsSRPGroupVerifier
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.asn1.util.DERDump
          use ASN1Dump. 
org.bouncycastle.asn1.DEREnumerated
          Use ASN1Enumerated instead of this. 
org.bouncycastle.asn1.DERInteger
          Use ASN1Integer instead of this, 
org.bouncycastle.asn1.DERObjectIdentifier
          Use ASN1ObjectIdentifier instead of this, 
org.bouncycastle.asn1.DEROutputStream
          Will be removed from public API. 
org.bouncycastle.asn1.DERSequenceParser
          Use DLSequenceParser instead 
org.bouncycastle.asn1.DERSetParser
          Use DLSetParser instead 
org.bouncycastle.asn1.DERT61UTF8String
          don't use this class, introduced in error, it will be removed. 
org.bouncycastle.asn1.x9.DHDomainParameters
          use DomainParameters 
org.bouncycastle.asn1.x9.DHValidationParms
          use ValidationParams 
org.bouncycastle.crypto.tls.DigitallySigned
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.asn1.DLOutputStream
          Will be removed from public API. 
org.bouncycastle.crypto.tls.DTLSClientProtocol
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DTLSProtocol
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DTLSServerProtocol
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.DTLSTransport
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ECBasisType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ECCurveType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ECPointFormat
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.asn1.sec.ECPrivateKeyStructure
          use ECPrivateKey 
org.bouncycastle.crypto.tls.EncryptionAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ExporterLabel
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ExtensionType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.jce.spec.GOST28147ParameterSpec
          use org.bouncycastle.jcajce.spec.GOST28147ParameterSpec 
org.bouncycastle.crypto.tls.HandshakeType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.HashAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.HeartbeatExtension
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.HeartbeatMessage
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.KeyExchangeAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.MACAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.MaxFragmentLength
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.jce.spec.MQVPrivateKeySpec
          use MQVParameterSpec 
org.bouncycastle.jce.spec.MQVPublicKeySpec
          use MQVParameterSpec 
org.bouncycastle.crypto.tls.NamedCurve
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.NameType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.NewSessionTicket
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.OCSPStatusRequest
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.jce.spec.OpenSSHPrivateKeySpec
          use org.bouncycastle.jcajce.spec.OpenSSHPrivateKeySpec 
org.bouncycastle.jce.spec.OpenSSHPublicKeySpec
          use org.bouncycastle.jcajce.spec.OpenSSHPublicKeySpec 
org.bouncycastle.crypto.util.Pack
          use org.bouncycastle.util.pack 
org.bouncycastle.crypto.modes.PaddedBlockCipher
          use org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher instead. 
org.bouncycastle.jce.PKCS10CertificationRequest
          use classes in org.bouncycastle.pkcs. 
org.bouncycastle.crypto.tls.PRFAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ProtocolVersion
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.PSKTlsClient
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.PSKTlsServer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.jce.spec.RepeatedSecretKeySpec
          use super class org.bouncycastle.jcajce.spec.RepeatedSecretKeySpec 
org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure
          use RSAPrivateKey 
org.bouncycastle.asn1.x509.RSAPublicKeyStructure
          use org.bouncycastle.asn1.pkcs.RSAPublicKey 
org.bouncycastle.crypto.tls.SecurityParameters
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ServerName
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ServerNameList
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ServerOnlyTlsAuthentication
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.ServerSRPParams
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SessionParameters
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SignatureAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SignatureAndHashAlgorithm
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SimulatedTlsSRPIdentityManager
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SRPTlsClient
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SRPTlsServer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SRTPProtectionProfile
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SSL3Mac
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SupplementalDataEntry
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.SupplementalDataType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.asn1.x509.TBSCertificateStructure
          use TBSCertificate 
org.bouncycastle.crypto.tls.TlsAEADCipher
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsBlockCipher
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsClientProtocol
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsDHEKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsDHKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsDHUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsDSASigner
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsDSSSigner
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsECCUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsECDHEKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsECDHKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsECDSASigner
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsExtensionsUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsMac
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsNullCipher
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsNullCompression
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsProtocol
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsPSKKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsRSAKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsRSASigner
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsRSAUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsServerProtocol
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSRPKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSRPLoginParameters
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSRPUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSRTPUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsStreamCipher
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsUtils
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.URLAndHash
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.UserMappingType
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.UseSRTPData
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.x509.X509Attribute
          see X509CertificateHolder class in the PKIX package. 
org.bouncycastle.asn1.x509.X509CertificateStructure
          use org.bouncycastle.asn1.x509.Certificate 
org.bouncycastle.jce.provider.X509CertParser
          use CertificateFactory or the PEMParser in the openssl package (pkix jar). 
org.bouncycastle.asn1.x509.X509Extension
          use Extension 
org.bouncycastle.asn1.x509.X509Extensions
          use Extensions 
org.bouncycastle.asn1.x509.X509ExtensionsGenerator
          use org.bouncycastle.asn1.x509.ExtensionsGenerator 
org.bouncycastle.x509.extension.X509ExtensionUtil
          use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils 
org.bouncycastle.asn1.x509.X509Name
          use org.bouncycastle.asn1.x500.X500Name. 
org.bouncycastle.asn1.x509.X509NameTokenizer
          use X500NameTokenizer 
org.bouncycastle.jce.X509Principal
          use the X500Name class. 
org.bouncycastle.x509.X509Store
          use CollectionStore - this class will be removed. 
org.bouncycastle.x509.X509V1CertificateGenerator
          use org.bouncycastle.cert.X509v1CertificateBuilder. 
org.bouncycastle.x509.X509V2AttributeCertificate
          use org.bouncycastle.cert.X509AttributeCertificateHolder 
org.bouncycastle.x509.X509V2CRLGenerator
          use org.bouncycastle.cert.X509v2CRLBuilder. 
org.bouncycastle.x509.X509V3CertificateGenerator
          use org.bouncycastle.cert.X509v3CertificateBuilder. 
 

Deprecated Interfaces
org.bouncycastle.crypto.tls.DatagramTransport
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.asn1.DERTags
          use BERTags 
org.bouncycastle.jcajce.provider.asymmetric.util.DSAEncoder
          No longer used 
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.crypto.tls.TlsAgreementCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsAuthentication
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsCipher
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsCipherFactory
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsClient
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsClientContext
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsCloseable
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsCompression
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsContext
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsDHVerifier
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsEncryptionCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsHandshakeHash
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsKeyExchange
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsPeer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsPSKIdentity
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsPSKIdentityManager
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsServer
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsServerContext
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSession
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSigner
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSignerCredentials
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSRPGroupVerifier
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsSRPIdentityManager
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.x509.X509AttributeCertificate
          use X509CertificateHolder class in the PKIX package. 
 

Deprecated Exceptions
org.bouncycastle.crypto.tls.TlsException
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsFatalAlert
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsFatalAlertReceived
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
org.bouncycastle.crypto.tls.TlsNoCloseNotifyException
          Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar). 
 

Deprecated Fields
org.bouncycastle.asn1.x509.CRLReason.AA_COMPROMISE
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.AA_COMPROMISE
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.ADD_INFO_NOT_AVAILABLE
          use lower case version 
org.bouncycastle.asn1.x509.CRLReason.AFFILIATION_CHANGED
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.AFFILIATION_CHANGED
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.AuditIdentity
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.AuthorityInfoAccess
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.AuthorityKeyIdentifier
          use X509Extension value. 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_ALG
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_CERT_ID
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_DATA_FORMAT
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_MESSAGE_CHECK
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_POP
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_REQUEST
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.BAD_TIME
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.BasicConstraints
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.BiometricInfo
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Name.C
          use a X500NameStyle 
org.bouncycastle.asn1.x509.CRLReason.CA_COMPROMISE
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.CA_COMPROMISE
          use lower case version 
org.bouncycastle.asn1.x509.CRLReason.CERTIFICATE_HOLD
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.CERTIFICATE_HOLD
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.CertificateIssuer
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.CertificatePolicies
          use X509Extension value. 
org.bouncycastle.asn1.x509.CRLReason.CESSATION_OF_OPERATION
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.CESSATION_OF_OPERATION
          use lower case version 
org.bouncycastle.asn1.x509.X509Name.CN
          use a X500NameStyle 
org.bouncycastle.asn1.x509.X509Extensions.CRLDistributionPoints
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.CRLNumber
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.DeltaCRLIndicator
          use X509Extension value. 
org.bouncycastle.crypto.tls.ExtensionType.elliptic_curves
          Use ExtensionType.supported_groups instead 
org.bouncycastle.asn1.x509.X509Name.EmailAddress
          use a X500NameStyle 
org.bouncycastle.asn1.x509.X509Extensions.ExtendedKeyUsage
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.FreshestCRL
          use X509Extension value. 
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_aa_commitmentType
          use id_aa_ets_commitmentType instead 
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_aa_otherSigCert
          use id_aa_ets_otherSigCert instead 
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_aa_signerLocation
          use id_aa_ets_signerLocation instead 
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_aa_sigPolicyId
          use id_aa_ets_sigPolicyId instead 
org.bouncycastle.asn1.cmp.PKIFailureInfo.INCORRECT_DATA
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.InhibitAnyPolicy
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.InstructionCode
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.InvalidityDate
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.IssuerAlternativeName
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.IssuingDistributionPoint
          use X509Extension value. 
org.bouncycastle.asn1.x509.CRLReason.KEY_COMPROMISE
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.KEY_COMPROMISE
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.KeyUsage
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.LogoType
          use X509Extension value. 
org.bouncycastle.asn1.cmp.PKIFailureInfo.MISSING_TIME_STAMP
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.NameConstraints
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.NoRevAvail
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Name.O
          use a X500NameStyle 
org.bouncycastle.asn1.x509.X509Name.OIDLookUp
          use DefaultSymbols 
org.bouncycastle.asn1.x509.X509Name.OU
          use a X500NameStyle 
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.pbewithSHAAnd40BitRC2_CBC
          use pbeWithSHAAnd40BitRC2_CBC 
org.bouncycastle.asn1.x509.X509Extensions.PolicyConstraints
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.PolicyMappings
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.PrivateKeyUsagePeriod
          use X509Extension value. 
org.bouncycastle.asn1.x509.CRLReason.PRIVILEGE_WITHDRAWN
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.PRIVILEGE_WITHDRAWN
          use lower case version 
org.bouncycastle.asn1.x509.X509Extensions.QCStatements
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.ReasonCode
          use X509Extension value. 
org.bouncycastle.asn1.x509.CRLReason.REMOVE_FROM_CRL
          use lower case version 
org.bouncycastle.crypto.agreement.DHStandardGroups.rfc5114_1024_160
          Existence of a "hidden SNFS" backdoor cannot be ruled out. see https://eprint.iacr.org/2016/961.pdf 
org.bouncycastle.crypto.agreement.DHStandardGroups.rfc5114_2048_224
          Existence of a "hidden SNFS" backdoor cannot be ruled out. see https://eprint.iacr.org/2016/961.pdf 
org.bouncycastle.crypto.agreement.DHStandardGroups.rfc5114_2048_256
          Existence of a "hidden SNFS" backdoor cannot be ruled out. see https://eprint.iacr.org/2016/961.pdf 
org.bouncycastle.asn1.x509.X509AttributeIdentifiers.RoleSyntax
          use id_at_role 
org.bouncycastle.crypto.engines.Salsa20Engine.sigma
            
org.bouncycastle.asn1.x500.style.BCStyle.SN
          use SERIALNUMBER or SURNAME 
org.bouncycastle.crypto.encodings.PKCS1Encoding.STRICT_LENGTH_ENABLED_PROPERTY
          use NOT_STRICT_LENGTH_ENABLED_PROPERTY 
org.bouncycastle.asn1.x509.X509Extensions.SubjectAlternativeName
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.SubjectDirectoryAttributes
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.SubjectInfoAccess
          use X509Extension value. 
org.bouncycastle.asn1.x509.X509Extensions.SubjectKeyIdentifier
          use X509Extension value. 
org.bouncycastle.asn1.x509.CRLReason.SUPERSEDED
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.SUPERSEDED
          use lower case version 
org.bouncycastle.asn1.x509.X509Name.SymbolLookUp
          use DefaultLookUp 
org.bouncycastle.asn1.cmp.PKIFailureInfo.SYSTEM_FAILURE
          use lower case version 
org.bouncycastle.asn1.x509.X509Name.T
          use a X500NameStyle 
org.bouncycastle.asn1.x509.X509Extensions.TargetInformation
          use X509Extension value. 
org.bouncycastle.crypto.engines.Salsa20Engine.tau
            
org.bouncycastle.asn1.cmp.PKIFailureInfo.TIME_NOT_AVAILABLE
          use lower case version 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_IMPLICIT
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_IMPLICIT
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_IMPLICIT
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_RIPEMD128
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_RIPEMD128
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_RIPEMD128
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_RIPEMD160
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_RIPEMD160
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_RIPEMD160
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_SHA1
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_SHA1
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_SHA1
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_SHA224
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_SHA256
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_SHA256
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_SHA256
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_SHA384
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_SHA384
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_SHA384
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_SHA512
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_SHA512
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_SHA512
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2PSSSigner.TRAILER_WHIRLPOOL
          use ISOTrailers 
org.bouncycastle.crypto.signers.ISO9796d2Signer.TRAILER_WHIRLPOOL
          use ISOTrailers 
org.bouncycastle.crypto.signers.X931Signer.TRAILER_WHIRLPOOL
          use ISOTrailers 
org.bouncycastle.asn1.cmp.PKIFailureInfo.UNACCEPTED_EXTENSION
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.UNACCEPTED_POLICY
          use lower case version 
org.bouncycastle.asn1.x509.CRLReason.UNSPECIFIED
          use lower case version 
org.bouncycastle.asn1.x509.ReasonFlags.UNUSED
          use lower case version 
org.bouncycastle.asn1.cmp.PKIFailureInfo.WRONG_AUTHORITY
          use lower case version 
org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.x509certType
          use x509Certificate instead 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_mt_with_SHA256
          use xmss_mt_SHA256ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_mt_with_SHA512
          use xmss_mt_SHA512ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_mt_with_SHAKE128
          use xmss_mt_SHAKE128ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_mt_with_SHAKE256
          use xmss_mt_SHAKE256ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_with_SHA256
          use xmss_SHA256ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_with_SHA512
          use xmss_SHA512ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_with_SHAKE128
          use xmss_SHAKE128ph 
org.bouncycastle.asn1.bc.BCObjectIdentifiers.xmss_with_SHAKE256
          use xmss_SHAKE256ph 
 

Deprecated Methods
org.bouncycastle.util.Fingerprint.calculateFingerprintSHA512_160(byte[])
          use the SHAKE based version. 
org.bouncycastle.jcajce.util.JcaJceHelper.createDigest(String)
          Use createMessageDigest instead 
org.bouncycastle.jcajce.util.ProviderJcaJceHelper.createDigest(String)
          Use createMessageDigest instead 
org.bouncycastle.jcajce.util.DefaultJcaJceHelper.createDigest(String)
          Use createMessageDigest instead 
org.bouncycastle.jcajce.util.NamedJcaJceHelper.createDigest(String)
          Use createMessageDigest instead 
org.bouncycastle.asn1.ASN1BitString.derForm(byte[], int)
          Will be hidden/removed. 
org.bouncycastle.asn1.BEROctetString.encode(ASN1OutputStream)
            
org.bouncycastle.jcajce.provider.asymmetric.dsa.DSASigner.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.ecgost.SignatureSpi.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.gost.SignatureSpi.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.rsa.ISOSignatureSpi.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.rsa.DigestSignatureSpi.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.rsa.X931SignatureSpi.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.util.DSABase.engineGetParameter(String)
            
org.bouncycastle.jcajce.provider.asymmetric.dsa.DSASigner.engineSetParameter(String, Object)
          replaced with  
org.bouncycastle.jcajce.provider.asymmetric.ecgost.SignatureSpi.engineSetParameter(String, Object)
          replaced with  
org.bouncycastle.jcajce.provider.asymmetric.gost.SignatureSpi.engineSetParameter(String, Object)
          replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec) 
org.bouncycastle.jcajce.provider.asymmetric.rsa.PSSSignatureSpi.engineSetParameter(String, Object)
          replaced with  
org.bouncycastle.jcajce.provider.asymmetric.rsa.ISOSignatureSpi.engineSetParameter(String, Object)
          replaced with engineSetParameter(java.security.spec.AlgorithmParameterSpec) 
org.bouncycastle.jcajce.provider.asymmetric.rsa.DigestSignatureSpi.engineSetParameter(String, Object)
          replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec) 
org.bouncycastle.jcajce.provider.asymmetric.rsa.X931SignatureSpi.engineSetParameter(String, Object)
          replaced with engineSetParameter(java.security.spec.AlgorithmParameterSpec) 
org.bouncycastle.jcajce.provider.asymmetric.util.DSABase.engineSetParameter(String, Object)
          replaced with  
org.bouncycastle.jcajce.util.JcaJceUtils.extractParameters(AlgorithmParameters)
          use AlgorithmParametersUtils.extractParameters(AlgorithmParameters params) 
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.x509.extension.X509ExtensionUtil.fromExtensionValue(byte[])
          use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.parseExtensionValue() 
org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey)
          use generate(key, "BC") 
org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey)
          use generate(key, "BC") 
org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey, SecureRandom)
          use generate(key, random, "BC") 
org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey, SecureRandom)
          use generate(key, random, "BC") 
org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey, String)
          use generate() 
org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey, String)
          use generate() 
org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey, String, SecureRandom)
          use generate() 
org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey, String, SecureRandom)
          use generate() 
org.bouncycastle.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey)
          use generate(key, "BC") 
org.bouncycastle.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey, SecureRandom)
          use generate(key, random, "BC") 
org.bouncycastle.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey, String)
          use generate() 
org.bouncycastle.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey, String, SecureRandom)
          use generate() 
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithmId()
          use getAlgorithm() 
org.bouncycastle.crypto.signers.RSADigestSigner.getAlgorithmName()
            
org.bouncycastle.asn1.cms.TimeStampAndCRL.getCertificateList()
          use getCRL() 
org.bouncycastle.asn1.esf.SignerLocation.getCountryName()
          use getCountry() 
org.bouncycastle.jcajce.util.JcaJceUtils.getDigestAlgName(ASN1ObjectIdentifier)
          use MessageDigestUtils,getDigestName() 
org.bouncycastle.x509.extension.X509ExtensionUtil.getIssuerAlternativeNames(X509Certificate)
          use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.getIssuerAlternativeNames() 
org.bouncycastle.asn1.cryptopro.GOST3410ParamSetParameters.getLKeySize()
          use getKeySize 
org.bouncycastle.asn1.esf.SignerLocation.getLocalityName()
          use getLocality() 
org.bouncycastle.jce.interfaces.ECKey.getParams()
          this method vanises in JDK 1.5. Use getParameters(). 
org.bouncycastle.asn1.crmf.CertReqMsg.getPop()
          use getPopo 
org.bouncycastle.crypto.tls.SessionParameters.getPskIdentity()
          Use SessionParameters.getPSKIdentity() 
org.bouncycastle.crypto.tls.SecurityParameters.getPskIdentity()
          Use SecurityParameters.getPSKIdentity() 
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKey()
          use parsePublicKey 
org.bouncycastle.jcajce.spec.GOST28147ParameterSpec.getSbox()
          use getSBox() 
org.bouncycastle.x509.extension.X509ExtensionUtil.getSubjectAlternativeNames(X509Certificate)
          use org.bouncycastle.cert.jcajce.JcaX509ExtensionUtils.getSubjectAlternativeNames() 
org.bouncycastle.asn1.cmp.CMPCertificate.getX509v2AttrCert()
          use getOtherCert and getOtherTag to make sure message is really what it should be. 
org.bouncycastle.asn1.ASN1TaggedObject.isEmpty()
          Will be removed (always returns false). 
org.bouncycastle.jcajce.util.JcaJceUtils.loadParameters(AlgorithmParameters, ASN1Encodable)
          use AlgorithmParametersUtils.loadParameters(AlgorithmParameters params, ASN1Encodable sParams) 
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.crypto.tls.SessionParameters.Builder.setPskIdentity(byte[])
          Use SessionParameters.Builder.setPSKIdentity(byte[]) 
org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setSubject(X509Name)
          use X500Name method 
org.bouncycastle.asn1.x509.V1TBSCertificateGenerator.setSubject(X509Name)
          use X500Name method 
org.bouncycastle.asn1.ASN1Object.toASN1Object()
          use toASN1Primitive() 
org.bouncycastle.asn1.ASN1OutputStream.writeNull()
          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.x509.extension.AuthorityKeyIdentifierStructure(X509Extension)
          use constructor that takes Extension 
org.bouncycastle.asn1.BEROutputStream(OutputStream)
          Use ASN1OutputStream.create(OutputStream, String) with ASN1Encoding.BER instead. 
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.asn1.DEREncodableVector()
          use ASN1EncodableVector instead. 
org.bouncycastle.asn1.DEREnumerated(BigInteger)
          use ASN1Enumerated 
org.bouncycastle.asn1.DEREnumerated(int)
          use ASN1Enumerated 
org.bouncycastle.asn1.DERNull()
          use DERNull.INSTANCE 
org.bouncycastle.asn1.DEROutputStream(OutputStream)
          Use ASN1OutputStream.create(OutputStream, String) with ASN1Encoding.DER instead. 
org.bouncycastle.asn1.DLOutputStream(OutputStream)
          Use ASN1OutputStream.create(OutputStream, String) with ASN1Encoding.DL instead. 
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.jce.spec.GOST28147ParameterSpec(byte[])
            
org.bouncycastle.jce.spec.GOST28147ParameterSpec(byte[], byte[])
            
org.bouncycastle.jce.spec.GOST28147ParameterSpec(String)
            
org.bouncycastle.jce.spec.GOST28147ParameterSpec(String, byte[])
            
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.crypto.tls.TlsDHEKeyExchange(int, Vector, DHParameters)
          Use constructor that takes a TlsDHVerifier 
org.bouncycastle.crypto.tls.TlsDHKeyExchange(int, Vector, DHParameters)
          Use constructor that takes a TlsDHVerifier 
org.bouncycastle.crypto.tls.TlsPSKKeyExchange(int, Vector, TlsPSKIdentity, TlsPSKIdentityManager, DHParameters, int[], short[], short[])
          Use constructor that takes a TlsDHVerifier 
org.bouncycastle.crypto.tls.TlsSRPKeyExchange(int, Vector, byte[], byte[])
          Use constructor taking an explicit 'groupVerifier' argument 
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 
 


Bouncy Castle Cryptography Library 1.64