Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Annotation Types
  • Fields
  • Methods
  • Constructors
  • Interfaces
    Interface Description
    java.security.Certificate
    Use Certificate instead.
    org.apache.xml.utils.DOMOrder
    Since the introduction of the DTM, this class will be removed. Nodes that implement this index can return a document order index. Eventually, this will be replaced by DOM 3 methods. (compareDocumentOrder and/or compareTreePosition.)
    org.bouncycastle.asn1.DERTags
    use BERTags
    org.xml.sax.AttributeList
    This interface has been replaced by the SAX2 Attributes interface, which includes Namespace support.
    org.xml.sax.DocumentHandler
    This interface has been replaced by the SAX2 ContentHandler interface, which includes Namespace support.
    org.xml.sax.Parser
    This interface has been replaced by the SAX2 XMLReader interface, which includes Namespace support.
  • Classes
    Class Description
    java.io.LineNumberInputStream
    Use LineNumberReader instead.
    java.io.StringBufferInputStream
    Use StringReader instead.
    java.security.Identity
    Use Principal, KeyStore and the java.security.cert package instead.
    java.security.IdentityScope
    Use Principal, KeyStore and the java.security.cert package instead.
    java.security.Signer
    Use the java.security.cert package and Principal instead.
    org.apache.commons.logging.LogSource
    Use LogFactory instead - The default factory implementation performs exactly the same algorithm as this class did
    org.apache.xml.serializer.ToTextSAXHandler
    As of Xalan 2.7.1, replaced by the use of ToXMLSAXHandler.
    org.apache.xml.utils.DOM2Helper
    Since the introduction of the DTM, this class will be removed. This class provides a DOM level 2 "helper", which provides services currently not provided be the DOM standard.
    org.apache.xml.utils.DOMHelper
    Since the introduction of the DTM, this class will be removed. This class provides a front-end to DOM implementations, providing a number of utility functions that either aren't yet standardized by the DOM spec or that are defined in optional DOM modules and hence may not be present in all DOMs.
    org.apache.xpath.operations.Quo  
    org.bouncycastle.asn1.BERConstructedOctetString
    use BEROctetString
    org.bouncycastle.asn1.pkcs.PBES2Algorithms
    - use AlgorithmIdentifier and PBES2Parameters
    org.bouncycastle.asn1.pkcs.RSAPrivateKeyStructure
    use RSAPrivateKey
    org.bouncycastle.asn1.sec.ECPrivateKeyStructure
    use ECPrivateKey
    org.bouncycastle.asn1.x509.RSAPublicKeyStructure
    use org.bouncycastle.asn1.pkcs.RSAPublicKey
    org.bouncycastle.asn1.x509.X509CertificateStructure
    use org.bouncycastle.asn1.x509.Certificate
    org.bouncycastle.asn1.x509.X509Extensions
    use Extensions
    org.bouncycastle.asn1.x509.X509ExtensionsGenerator
    use org.bouncycastle.asn1.x509.ExtensionsGenerator
    org.bouncycastle.asn1.x509.X509Name
    use org.bouncycastle.asn1.x500.X500Name.
    org.bouncycastle.asn1.x509.X509NameTokenizer
    use X500NameTokenizer
    org.bouncycastle.jce.PKCS10CertificationRequest
    use classes in org.bouncycastle.pkcs.
    org.bouncycastle.jce.provider.JDKPKCS12StoreParameter
    use org.bouncycastle.jcajce.config.PKCS12StoreParameter
    org.bouncycastle.x509.AttributeCertificateHolder
    use org.bouncycastle.cert.AttributeCertificateHolder
    org.bouncycastle.x509.AttributeCertificateIssuer
    use org.bouncycastle.cert.AttributeCertificateIssuer
    org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure
    use JcaX509ExtensionUtils and AuthorityKeyIdentifier.getInstance()
    org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure
    use JcaX509ExtensionUtils andSubjectKeyIdentifier.getInstance()
    org.bouncycastle.x509.X509V1CertificateGenerator
    use org.bouncycastle.cert.X509v1CertificateBuilder.
    org.bouncycastle.x509.X509V2AttributeCertificate
    use org.bouncycastle.cert.X509AttributeCertificateHolder
    org.bouncycastle.x509.X509V3CertificateGenerator
    use org.bouncycastle.cert.X509v3CertificateBuilder.
    org.xml.sax.HandlerBase
    This class works with the deprecated DocumentHandler interface. It has been replaced by the SAX2 DefaultHandler class.
    org.xml.sax.helpers.AttributeListImpl
    This class implements a deprecated interface, AttributeList; that interface has been replaced by Attributes, which is implemented in the AttributesImpl helper class.
    org.xml.sax.helpers.ParserFactory
    This class works with the deprecated Parser interface.
  • Annotation Types
    Annotation Type Description
    dalvik.annotation.TestTarget
    Obsolete.
    dalvik.annotation.TestTargetClass
    Obsolete.
  • Fields
    Field Description
    java.lang.Character.UnicodeBlock.SURROGATES_AREA
    As of Java 5, this block has been replaced by Character.UnicodeBlock.HIGH_SURROGATES, Character.UnicodeBlock.HIGH_PRIVATE_USE_SURROGATES and Character.UnicodeBlock.LOW_SURROGATES.
    java.lang.SecurityManager.inCheck
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.net.HttpURLConnection.HTTP_SERVER_ERROR
    Use HttpURLConnection.HTTP_INTERNAL_ERROR instead.
    java.util.logging.Logger.global
    This is deadlock-prone. Use Logger.getLogger(Logger.GLOBAL_LOGGER_NAME) as a direct replacement, but read the discussion of how to use Logger in the class documentation.
    org.apache.xalan.res.XSLTErrorResources.QUERY_HEADER  
    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.pkcs.PKCSObjectIdentifiers.pbewithSHAAnd40BitRC2_CBC
    use pbeWithSHAAnd40BitRC2_CBC
    org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.x509certType
    use x509Certificate instead
    org.bouncycastle.asn1.x509.CRLReason.AA_COMPROMISE
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.AFFILIATION_CHANGED
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.CA_COMPROMISE
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.CERTIFICATE_HOLD
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.CESSATION_OF_OPERATION
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.KEY_COMPROMISE
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.PRIVILEGE_WITHDRAWN
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.REMOVE_FROM_CRL
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.SUPERSEDED
    use lower case version
    org.bouncycastle.asn1.x509.CRLReason.UNSPECIFIED
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.AA_COMPROMISE
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.AFFILIATION_CHANGED
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.CA_COMPROMISE
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.CERTIFICATE_HOLD
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.CESSATION_OF_OPERATION
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.KEY_COMPROMISE
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.PRIVILEGE_WITHDRAWN
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.SUPERSEDED
    use lower case version
    org.bouncycastle.asn1.x509.ReasonFlags.UNUSED
    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.x509.X509Extensions.BasicConstraints
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.BiometricInfo
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.CertificateIssuer
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.CertificatePolicies
    use X509Extension value.
    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.asn1.x509.X509Extensions.ExtendedKeyUsage
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.FreshestCRL
    use X509Extension value.
    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.X509Extensions.KeyUsage
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.LogoType
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.NameConstraints
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.NoRevAvail
    use X509Extension value.
    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.X509Extensions.QCStatements
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Extensions.ReasonCode
    use X509Extension value.
    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.X509Extensions.TargetInformation
    use X509Extension value.
    org.bouncycastle.asn1.x509.X509Name.C
    use a X500NameStyle
    org.bouncycastle.asn1.x509.X509Name.CN
    use a X500NameStyle
    org.bouncycastle.asn1.x509.X509Name.EmailAddress
    use a X500NameStyle
    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.x509.X509Name.SymbolLookUp
    use DefaultLookUp
    org.bouncycastle.asn1.x509.X509Name.T
    use a X500NameStyle
  • Methods
    Method Description
    dalvik.system.VMRuntime.gcSoftReferences()
    dalvik.system.VMRuntime.getExternalBytesAllocated()
    dalvik.system.VMRuntime.getMinimumHeapSize()
    dalvik.system.VMRuntime.runFinalizationSync()
    dalvik.system.VMRuntime.setMinimumHeapSize​(long)
    dalvik.system.VMRuntime.trackExternalAllocation​(long)
    dalvik.system.VMRuntime.trackExternalFree​(long)
    java.io.ByteArrayOutputStream.toString​(int)
    Use ByteArrayOutputStream.toString() instead.
    java.io.DataInputStream.readLine()
    This method cannot be trusted to convert bytes to characters correctly. Wrap this stream with a BufferedReader instead.
    java.io.File.toURL()
    Use File.toURI() and URI.toURL() to correctly escape illegal characters.
    java.io.ObjectInputStream.readLine()
    Use BufferedReader instead.
    java.io.ObjectOutputStream.PutField.write​(ObjectOutput)
    This method is unsafe and may corrupt the target stream. Use ObjectOutputStream#writeFields() instead.
    java.lang.Character.isJavaLetter​(char)
    Use Character.isJavaIdentifierStart(char) instead.
    java.lang.Character.isJavaLetterOrDigit​(char)
    Use Character.isJavaIdentifierPart(char) instead.
    java.lang.Character.isSpace​(char)
    Use Character.isWhitespace(char) instead.
    java.lang.ClassLoader.defineClass​(byte[], int, int)
    Use ClassLoader.defineClass(String, byte[], int, int) instead.
    java.lang.Runtime.getLocalizedInputStream​(InputStream)
    Use InputStreamReader instead.
    java.lang.Runtime.getLocalizedOutputStream​(OutputStream)
    Use OutputStreamWriter instead.
    java.lang.Runtime.runFinalizersOnExit​(boolean)
    This method is unsafe.
    java.lang.SecurityManager.checkMulticast​(InetAddress, byte)
    use SecurityManager.checkMulticast(java.net.InetAddress) instead.
    java.lang.SecurityManager.classDepth​(String)
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.SecurityManager.classLoaderDepth()
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.SecurityManager.currentClassLoader()
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.SecurityManager.currentLoadedClass()
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.SecurityManager.getInCheck()
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.SecurityManager.inClass​(String)
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.SecurityManager.inClassLoader()
    Use SecurityManager.checkPermission(java.security.Permission) instead.
    java.lang.String.getBytes​(int, int, byte[], int)
    Use String.getBytes() or String.getBytes(String) instead.
    java.lang.System.runFinalizersOnExit​(boolean)
    This method is unsafe.
    java.lang.Thread.countStackFrames()
    The results of this call were never well defined. To make things worse, it would depend on whether the Thread was suspended or not, and suspend was deprecated too.
    java.lang.Thread.destroy()
    Not implemented.
    java.lang.Thread.resume()
    Only useful in conjunction with deprecated method Thread.suspend().
    java.lang.Thread.stop()
    Stopping a thread in this manner is unsafe and can leave your application and the VM in an unpredictable state.
    java.lang.Thread.stop​(Throwable)
    Stopping a thread in this manner is unsafe and can leave your application and the VM in an unpredictable state.
    java.lang.Thread.suspend()
    May cause deadlocks.
    java.lang.ThreadGroup.allowThreadSuspension​(boolean)
    Required deprecated method ThreadGroup.suspend().
    java.lang.ThreadGroup.resume()
    Requires deprecated method Thread.resume().
    java.lang.ThreadGroup.stop()
    Requires deprecated method Thread.stop().
    java.lang.ThreadGroup.suspend()
    Requires deprecated method Thread.suspend().
    java.net.DatagramSocketImpl.getTTL()
    Use DatagramSocketImpl.getTimeToLive() instead.
    java.net.DatagramSocketImpl.setTTL​(byte)
    Use DatagramSocketImpl.setTimeToLive(int) instead.
    java.net.MulticastSocket.getTTL()
    Use MulticastSocket.getTimeToLive() instead.
    java.net.MulticastSocket.send​(DatagramPacket, byte)
    Use MulticastSocket.setTimeToLive(int) instead.
    java.net.MulticastSocket.setTTL​(byte)
    Use MulticastSocket.setTimeToLive(int) instead.
    java.net.URLConnection.getDefaultRequestProperty​(String)
    Use URLConnection.getRequestProperty(java.lang.String) instead.
    java.net.URLConnection.setDefaultRequestProperty​(String, String)
    Use URLConnection.setRequestProperty(String, String) instead.
    java.net.URLDecoder.decode​(String)
    Use URLDecoder.decode(String, String) instead.
    java.net.URLEncoder.encode​(String)
    Use URLEncoder.encode(String, String) instead.
    java.net.URLStreamHandler.setURL​(URL, String, String, int, String, String)
    Use setURL(URL, String String, int, String, String, String, String, String) instead.
    java.security.Security.getAlgorithmProperty​(String, String)
    Use AlgorithmParameters and KeyFactory instead.
    java.security.Signature.getParameter​(String)
    There is no generally accepted parameter naming convention.
    java.security.Signature.setParameter​(String, Object)
    Use Signature.setParameter(AlgorithmParameterSpec) instead.
    java.security.SignatureSpi.engineGetParameter​(String)
    There is no generally accepted parameter naming convention.
    java.security.SignatureSpi.engineSetParameter​(String, Object)
    Use SignatureSpi.engineSetParameter(AlgorithmParameterSpec)
    java.sql.CallableStatement.getBigDecimal​(int, int)
    Use CallableStatement.getBigDecimal(int) or CallableStatement.getBigDecimal(String) instead.
    java.sql.Date.getHours()
    This method is deprecated and must not be used. SQL Date values do not have an hours component.
    java.sql.Date.getMinutes()
    This method is deprecated and must not be used. SQL Date values do not have a minutes component.
    java.sql.Date.getSeconds()
    This method is deprecated and must not be used. SQL Date values do not have a seconds component.
    java.sql.Date.setHours​(int)
    This method is deprecated and must not be used. SQL Date values do not have an hours component.
    java.sql.Date.setMinutes​(int)
    This method is deprecated and must not be used. SQL Date values do not have a minutes component.
    java.sql.Date.setSeconds​(int)
    This method is deprecated and must not be used. SQL Date values do not have a seconds component.
    java.sql.DriverManager.getLogStream()
    Use DriverManager.getLogWriter() instead.
    java.sql.DriverManager.setLogStream​(PrintStream)
    Use DriverManager.setLogWriter(java.io.PrintWriter) instead.
    java.sql.PreparedStatement.setUnicodeStream​(int, InputStream, int)
    Use PreparedStatement.setCharacterStream(int, Reader, int)
    java.sql.ResultSet.getBigDecimal​(int, int)
    Use ResultSet.getBigDecimal(int) or ResultSet.getBigDecimal(String) instead.
    java.sql.ResultSet.getBigDecimal​(String, int)
    Use ResultSet.getBigDecimal(int) or ResultSet.getBigDecimal(String) instead.
    java.sql.ResultSet.getUnicodeStream​(int)
    Use ResultSet.getCharacterStream(int) instead.
    java.sql.ResultSet.getUnicodeStream​(String)
    Use ResultSet.getCharacterStream(int) instead.
    java.sql.Time.getDate()
    This method is deprecated and must not be used. An SQL Time object does not have a date component.
    java.sql.Time.getDay()
    This method is deprecated and must not be used. An SQL Time object does not have a day component.
    java.sql.Time.getMonth()
    This method is deprecated and must not be used. An SQL Time object does not have a month component.
    java.sql.Time.getYear()
    This method is deprecated and must not be used. An SQL Time object does not have a year component.
    java.sql.Time.setDate​(int)
    This method is deprecated and must not be used. An SQL Time object does not have a date component.
    java.sql.Time.setMonth​(int)
    This method is deprecated and must not be used. An SQL Time object does not have a month component.
    java.sql.Time.setYear​(int)
    This method is deprecated and must not be used. An SQL Time object does not have a year component.
    java.util.Date.getDate()
    Use Calendar.get(Calendar.DATE) instead.
    java.util.Date.getDay()
    Use Calendar.get(Calendar.DAY_OF_WEEK) instead.
    java.util.Date.getHours()
    Use Calendar.get(Calendar.HOUR_OF_DAY) instead.
    java.util.Date.getMinutes()
    Use Calendar.get(Calendar.MINUTE) instead.
    java.util.Date.getMonth()
    Use Calendar.get(Calendar.MONTH) instead.
    java.util.Date.getSeconds()
    Use Calendar.get(Calendar.SECOND) instead.
    java.util.Date.getTimezoneOffset()
    Use (Calendar.get(Calendar.ZONE_OFFSET) + Calendar.get(Calendar.DST_OFFSET)) / 60000 instead.
    java.util.Date.getYear()
    Use Calendar.get(Calendar.YEAR) - 1900 instead.
    java.util.Date.parse​(String)
    Use DateFormat instead.
    java.util.Date.setDate​(int)
    Use Calendar.set(Calendar.DATE, day) instead.
    java.util.Date.setHours​(int)
    Use Calendar.set(Calendar.HOUR_OF_DAY, hour) instead.
    java.util.Date.setMinutes​(int)
    Use Calendar.set(Calendar.MINUTE, minute) instead.
    java.util.Date.setMonth​(int)
    Use Calendar.set(Calendar.MONTH, month) instead.
    java.util.Date.setSeconds​(int)
    Use Calendar.set(Calendar.SECOND, second) instead.
    java.util.Date.setYear​(int)
    Use Calendar.set(Calendar.YEAR, year + 1900) instead.
    java.util.Date.toGMTString()
    Use DateFormat instead.
    java.util.Date.toLocaleString()
    Use DateFormat instead.
    java.util.Date.UTC​(int, int, int, int, int, int)
    Use code like this instead: Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT")); cal.set(year + 1900, month, day, hour, minute, second); cal.getTime().getTime();
    java.util.Properties.save​(OutputStream, String)
    This method ignores any IOException thrown while writing — use Properties.store(java.io.OutputStream, java.lang.String) instead for better exception handling.
    libcore.io.IoUtils.deleteContents​(File)
    Use IoUtils.createTemporaryDirectory(java.lang.String) instead.
    org.apache.commons.codec.language.Soundex.getMaxLength()
    This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
    org.apache.commons.codec.language.Soundex.setMaxLength​(int)
    This feature is not needed since the encoding size must be constant. Will be removed in 2.0.
    org.apache.commons.codec.net.URLCodec.getEncoding()
    use #getDefaultCharset()
    org.apache.commons.logging.impl.LogFactoryImpl.getLogClassName()
    Never invoked by this class; subclasses should not assume it will be.
    org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor()
    Never invoked by this class; subclasses should not assume it will be.
    org.apache.commons.logging.impl.LogFactoryImpl.isJdk13LumberjackAvailable()
    Never invoked by this class; subclasses should not assume it will be.
    org.apache.commons.logging.impl.LogFactoryImpl.isJdk14Available()
    Never invoked by this class; subclasses should not assume it will be.
    org.apache.commons.logging.impl.LogFactoryImpl.isLog4JAvailable()
    Never invoked by this class; subclasses should not assume it will be.
    org.apache.http.protocol.HttpRequestHandlerRegistry.matchUriRequestPattern​(String, String)
    use UriPatternMatcher directly
    org.apache.xalan.templates.OutputProperties.getDefaultMethodProperties​(String)
    Use org.apache.xml.serializer.OuputPropertiesFactory. getDefaultMethodProperties directly.
    org.apache.xml.utils.DOMHelper.getRoot​(Node)  
    org.apache.xml.utils.DOMHelper.isIgnorableWhitespace​(Text)  
    org.bouncycastle.asn1.ASN1Object.toASN1Object()
    use toASN1Primitive()
    org.bouncycastle.asn1.cms.AttributeTable.get​(DERObjectIdentifier)
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.cms.AttributeTable.getAll​(DERObjectIdentifier)
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getAlgorithmId()
    use getPrivateKeyAlgorithm()
    org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getPrivateKey()
    use parsePrivateKey()
    org.bouncycastle.asn1.x509.AlgorithmIdentifier.getObjectId()
    use getAlgorithm
    org.bouncycastle.asn1.x509.SubjectKeyIdentifier.createSHA1KeyIdentifier​(SubjectPublicKeyInfo)
    use org.bouncycastle.cert.X509ExtensionUtils.createSubjectKeyIdentifier
    org.bouncycastle.asn1.x509.SubjectKeyIdentifier.createTruncatedSHA1KeyIdentifier​(SubjectPublicKeyInfo)
    use org.bouncycastle.cert.X509ExtensionUtils.createTruncatedSubjectKeyIdentifier
    org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithmId()
    use getAlgorithm()
    org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKey()
    use parsePublicKey
    org.bouncycastle.asn1.x509.V1TBSCertificateGenerator.setIssuer​(X509Name)
    use X500Name method
    org.bouncycastle.asn1.x509.V1TBSCertificateGenerator.setSubject​(X509Name)
    use X500Name method
    org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setExtensions​(X509Extensions)
    use method taking Extensions
    org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setIssuer​(X509Name)
    use X500Name method
    org.bouncycastle.asn1.x509.V3TBSCertificateGenerator.setSubject​(X509Name)
    use X500Name method
    org.bouncycastle.asn1.x509.X509Extensions.getExtension​(ASN1ObjectIdentifier)  
    org.bouncycastle.asn1.x509.X509ExtensionsGenerator.addExtension​(DERObjectIdentifier, boolean, byte[])
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.x509.X509ExtensionsGenerator.addExtension​(DERObjectIdentifier, boolean, ASN1Encodable)
    use ASN1ObjectIdentifier
    org.bouncycastle.cert.X509CertificateHolder.getVersion()
    use getVersionNumber
    org.bouncycastle.cms.CMSSignedData.getAttributeCertificates​(String, String)
    use base Store returning method
    org.bouncycastle.cms.CMSSignedData.getAttributeCertificates​(String, Provider)
    use base Store returning method
    org.bouncycastle.cms.CMSSignedData.getContentInfo()
    use toASN1Structure()
    org.bouncycastle.cms.CMSSignedData.replaceCertificatesAndCRLs​(CMSSignedData, CertStore)
    use method taking Store arguments.
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, byte[], String)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, byte[], String, String)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, byte[], String, String, AttributeTable, AttributeTable)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, byte[], String, String, CMSAttributeTableGenerator, CMSAttributeTableGenerator)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, byte[], String, AttributeTable, AttributeTable)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, byte[], String, CMSAttributeTableGenerator, CMSAttributeTableGenerator)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, X509Certificate, String)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, X509Certificate, String, String)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, X509Certificate, String, String, AttributeTable, AttributeTable)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, X509Certificate, String, String, CMSAttributeTableGenerator, CMSAttributeTableGenerator)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, X509Certificate, String, AttributeTable, AttributeTable)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.addSigner​(PrivateKey, X509Certificate, String, CMSAttributeTableGenerator, CMSAttributeTableGenerator)
    use addSignerInfoGenerator
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(String, CMSProcessable, boolean, String)
    use generate(CMSTypedData, boolean)
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(String, CMSProcessable, boolean, String, boolean)
    use generate(CMSTypedData, boolean)
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(String, CMSProcessable, boolean, Provider)
    use generate(CMSTypedData, boolean)
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(String, CMSProcessable, boolean, Provider, boolean)
    use setDirectSignature() on SignerInformationGenerator.
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(CMSProcessable, boolean, String)
    use generate(CMSTypedData, boolean)
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(CMSProcessable, boolean, Provider)
    use generate(CMSTypedData, boolean)
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(CMSProcessable, String)
    use generate() method not taking provider.
    org.bouncycastle.cms.CMSSignedDataGenerator.generate​(CMSProcessable, Provider)
    use generate() method not taking provider.
    org.bouncycastle.cms.CMSSignedDataGenerator.generateCounterSigners​(SignerInformation, String)
    use generateCounterSigners(SignerInformation)
    org.bouncycastle.cms.CMSSignedDataGenerator.generateCounterSigners​(SignerInformation, Provider)
    use generateCounterSigners(SignerInformation)
    org.bouncycastle.cms.CMSSignedGenerator.addAttributeCertificates​(X509Store)
    use basic Store method
    org.bouncycastle.cms.CMSSignedGenerator.addCertificatesAndCRLs​(CertStore)
    use addCertificates and addCRLs
    org.bouncycastle.cms.SignerInformation.toSignerInfo()
    use toASN1Structure()
    org.bouncycastle.cms.SignerInformation.verify​(X509Certificate, String)
    use verify(ContentVerifierProvider)
    org.bouncycastle.cms.SignerInformation.verify​(X509Certificate, Provider)
    use verify(ContentVerifierProvider)
    org.bouncycastle.cms.SignerInformation.verify​(PublicKey, String)
    use verify(ContentVerifierProvider)
    org.bouncycastle.cms.SignerInformation.verify​(PublicKey, Provider)
    use verify(ContentVerifierProvider)
    org.bouncycastle.crypto.signers.RSADigestSigner.getAlgorithmName()  
    org.bouncycastle.jcajce.provider.asymmetric.dsa.DSASigner.engineGetParameter​(String)  
    org.bouncycastle.jcajce.provider.asymmetric.dsa.DSASigner.engineSetParameter​(String, Object)
    replaced with
    org.bouncycastle.jcajce.provider.asymmetric.rsa.DigestSignatureSpi.engineGetParameter​(String)  
    org.bouncycastle.jcajce.provider.asymmetric.rsa.DigestSignatureSpi.engineSetParameter​(String, Object)
    replaced with
    org.bouncycastle.jcajce.provider.asymmetric.util.DSABase.engineGetParameter​(String)  
    org.bouncycastle.jcajce.provider.asymmetric.util.DSABase.engineSetParameter​(String, Object)
    replaced with
    org.bouncycastle.x509.ExtendedPKIXParameters.addAddionalStore​(Store)  
    org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate​(PrivateKey)
    use generate(key, "BC")
    org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate​(PrivateKey, String)
    use generate()
    org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate​(PrivateKey, String, SecureRandom)
    use generate()
    org.bouncycastle.x509.X509V1CertificateGenerator.generateX509Certificate​(PrivateKey, SecureRandom)
    use generate(key, random, "BC")
    org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate​(PrivateKey)
    use generate(key, "BC")
    org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate​(PrivateKey, String)
    use generate()
    org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate​(PrivateKey, String, SecureRandom)
    use generate()
    org.bouncycastle.x509.X509V3CertificateGenerator.generateX509Certificate​(PrivateKey, SecureRandom)
    use generate(key, random, "BC")
    SQLite.JDBC2z.JDBCPreparedStatement.setUnicodeStream​(int, InputStream, int)
    SQLite.JDBC2z.JDBCResultSet.getBigDecimal​(int, int)
    SQLite.JDBC2z.JDBCResultSet.getBigDecimal​(String, int)
    SQLite.JDBC2z.JDBCResultSet.getUnicodeStream​(int)
    SQLite.JDBC2z.JDBCResultSet.getUnicodeStream​(String)
  • Constructors
    Constructor Description
    java.io.StreamTokenizer​(InputStream)
    Use StreamTokenizer(Reader) instead.
    java.lang.String​(byte[], int)
    Use String(byte[]) or String(byte[], String) instead.
    java.lang.String​(byte[], int, int, int)
    Use String(byte[], int, int) instead.
    java.net.Socket​(String, int, boolean)
    Use Socket(String, int) instead of this for streaming sockets or an appropriate constructor of DatagramSocket for UDP transport.
    java.net.Socket​(InetAddress, int, boolean)
    Use Socket(InetAddress, int) instead of this for streaming sockets or an appropriate constructor of DatagramSocket for UDP transport.
    java.sql.Date​(int, int, int)
    Use the constructor Date(long) instead.
    java.sql.Time​(int, int, int)
    Use the constructor Time(long) instead.
    java.sql.Timestamp​(int, int, int, int, int, int, int)
    Use the constructor Timestamp(long) instead.
    java.util.Date​(int, int, int)
    Use GregorianCalendar(int, int, int) instead.
    java.util.Date​(int, int, int, int, int)
    Use GregorianCalendar(int, int, int, int, int) instead.
    java.util.Date​(int, int, int, int, int, int)
    Use GregorianCalendar(int, int, int, int, int, int) instead.
    java.util.Date​(String)
    Use DateFormat instead.
    org.bouncycastle.asn1.cms.Attribute​(DERObjectIdentifier, ASN1Set)
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.cms.ContentInfo​(ASN1Sequence)
    use getInstance()
    org.bouncycastle.asn1.cms.IssuerAndSerialNumber​(ASN1Sequence)
    use getInstance() method.
    org.bouncycastle.asn1.cms.IssuerAndSerialNumber​(X509Name, BigInteger)
    use X500Name constructor
    org.bouncycastle.asn1.cms.IssuerAndSerialNumber​(X509Name, ASN1Integer)
    use X500Name constructor
    org.bouncycastle.asn1.cms.SignerInfo​(ASN1Sequence)
    use getInstance() method.
    org.bouncycastle.asn1.DERBoolean​(boolean)
    use getInstance(boolean) method.
    org.bouncycastle.asn1.DEREncodableVector()
    use ASN1EncodableVector instead.
    org.bouncycastle.asn1.DERNull()
    use DERNull.INSTANCE
    org.bouncycastle.asn1.pkcs.CertificationRequestInfo​(ASN1Sequence)
    use getInstance().
    org.bouncycastle.asn1.pkcs.CertificationRequestInfo​(X509Name, SubjectPublicKeyInfo, ASN1Set)
    use X500Name method.
    org.bouncycastle.asn1.x509.AlgorithmIdentifier​(String)
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.x509.AlgorithmIdentifier​(ASN1Sequence)
    use AlgorithmIdentifier.getInstance()
    org.bouncycastle.asn1.x509.AlgorithmIdentifier​(DERObjectIdentifier)
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.x509.AlgorithmIdentifier​(DERObjectIdentifier, ASN1Encodable)
    use ASN1ObjectIdentifier
    org.bouncycastle.asn1.x509.ExtendedKeyUsage​(Vector)
    use KeyPurposeId[] constructor.
    org.bouncycastle.asn1.x509.GeneralName​(X509Name)
    use X500Name constructor.
    org.bouncycastle.asn1.x509.KeyPurposeId​(String)
    use getInstance and an OID or one of the constants above.
    org.bouncycastle.asn1.x509.SubjectKeyIdentifier​(SubjectPublicKeyInfo)  
    org.bouncycastle.asn1.x509.V2Form​(ASN1Sequence)
    use getInstance().
    org.bouncycastle.asn1.x509.X509Extensions​(Vector, Hashtable)
    use Extensions
    org.bouncycastle.asn1.x509.X509Extensions​(Vector, Vector)
    use Extensions
    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​(boolean, Hashtable, String)
    use X500Name, X500NameBuilder
    org.bouncycastle.asn1.x509.X509Name​(String)
    use X500Name, X500NameBuilder
    org.bouncycastle.asn1.x509.X509Name​(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​(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.x509.X509Name​(ASN1Sequence)
    use X500Name.getInstance()
    org.bouncycastle.cms.CMSSignedDataGenerator​(SecureRandom)
    rand ignored in new API, use base constructor.
    org.bouncycastle.crypto.AsymmetricCipherKeyPair​(CipherParameters, CipherParameters)
    use AsymmetricKeyParameter
    org.bouncycastle.x509.extension.AuthorityKeyIdentifierStructure​(X509Extension)
    use constructor that takes Extension
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Copyright © 2012–2022 com.mobidevelop.robovm. All rights reserved.