Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionThis class has been deprecated in favour of the one provided java
RSAKeyGenParameterSpec
.This method has been deprecated in favour of the one provided by the superclassRSAKeyGenParameterSpec.getKeysize()
.Since 5.0.1.Since 5.0.1.Since 5.0.1.Since 5.0.1.Since 5.0.1.
-
Deprecated ClassesClassDescriptionThis class has been deprecated in favour of the one provided java
RSAKeyGenParameterSpec
.Use PK11Cert instead.Use PK11Cert instead.Since 5.0.1.Since 5.0.1.Since 5.0.1.Since 5.0.1.Since 5.0.1.
-
Deprecated Exception ClassesException ClassDescriptionUse javax.crypto.BadPaddingException.
-
Deprecated FieldsFieldDescriptionUse PK11Cert.TRUSTED_CA instead.Use PK11Cert.TRUSTED_CLIENT_CA instead.Use PK11Cert.TRUSTED_PEER instead.Use PK11Cert.USER instead.Use PK11Cert.VALID_CA instead.Use PK11Cert.VALID_PEER instead.Use PK11Cert.GOVT_APPROVED_CA instead.Use PK11Cert.INVISIBLE_CA instead.Use PK11Cert.NS_TRUSTED_CA instead.Use PK11Cert.SEND_WARN instead.Use PK11Cert.VALID_PEER instead.Use PK11Cert.TRUSTED_PEER instead.Use PK11Cert.TRUSTED_CA instead.Use PK11Cert.TRUSTED_CLIENT_CA instead.Use PK11Cert.USER instead.Use PK11Cert.VALID_CA instead.As of NSS 3.11, FORTEZZA is no longer supported. This is just a placeholder for backward compatibility.As of NSS 3.11, FORTEZZA is no longer supported. STATUS_FORTEZZA is a placeholder for backward compatibility.Replaced with TLS_DH_anon_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DH_anon_WITH_DES_CBC_SHA.Replaced with TLS_DH_anon_WITH_RC4_128_MD5.Replaced with TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DH_DSS_WITH_DES_CBC_SHA.Replaced with TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DH_RSA_WITH_DES_CBC_SHA.Replaced with TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DHE_DSS_WITH_DES_CBC_SHA.Replaced with TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DHE_RSA_WITH_DES_CBC_SHA.As of NSS 3.11, FORTEZZA is no longer supported.As of NSS 3.11, FORTEZZA is no longer supported.As of NSS 3.11, FORTEZZA is no longer supported.Replaced with TLS_RSA_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_RSA_WITH_DES_CBC_SHA.Replaced with TLS_RSA_WITH_IDEA_CBC_SHA.Replaced with TLS_RSA_WITH_NULL_MD5.Replaced with TLS_RSA_WITH_NULL_SHA.Replaced with TLS_RSA_WITH_RC4_128_MD5.Replaced with TLS_RSA_WITH_RC4_128_SHA.Replaced with TLS_DH_anon_WITH_AES_128_CBC_SHA.Replaced with TLS_DH_anon_WITH_AES_256_CBC_SHA.Replaced with TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA.Replaced with TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA.Replaced with SSLVersion.SSL_3_0.Replaced with SSLVersion.TLS_1_0.Replaced with SSLVersion.TLS_1_1.Replaced with SSLVersion.TLS_1_2.Replaced with SSLVersion.TLS_1_3.As of NSS 3.11, FORTEZZA is no longer supported. SEC_ERROR_NOT_FORTEZZA_ISSUER is a placeholder for backward compatibility.As of NSS 3.11, FORTEZZA is no longer supported. SSL_ERROR_FORTEZZA_PQG is a placeholder for backward compatibility.As of NSS 3.11, FORTEZZA is no longer supported. XP_SEC_FORTEZZA_BAD_CARD, XP_SEC_FORTEZZA_NO_CARD, XP_SEC_FORTEZZA_NONE_SELECTED, XP_SEC_FORTEZZA_MORE_INFO XP_SEC_FORTEZZA_PERSON_NOT_FOUND, XP_SEC_FORTEZZA_NO_MORE_INFO XP_SEC_FORTEZZA_BAD_PIN and XP_SEC_FORTEZZA_PERSON_ERROR are placeholder for backward compatibility.
-
Deprecated MethodsMethodDescriptionCall
getParameterClasses()
instead.This method is deprecated because algorithm strings don't contain key length, which is necessary to distinguish between AES algorithms.Useordinal()
instead.finalize() in Object has been deprecatedThis method has been deprecated in favour of the one provided by the superclassRSAKeyGenParameterSpec.getKeysize()
.Usevalue()
to get PKCS #11 CKF_ value instead.Useordinal()
instead.Use verifyCertificate() insteadUse PK11Cert.decodeTrustFlags() instead.Use PK11Cert.encodeTrustFlags() instead.Use PK11Cert.isTrustFlagEnabled() instead.Use PK11Cert.getTrustFlags() instead.Use PK11Cert.setTrustFlags() instead.Use getIssuerName() or getIssuerX500Principal() instead.Use getSubjectName() or getSubjectX500Principal() instead.replaced with ConfigServerCert See also: SSL_ConfigSecureServer in /usr/include/nss3/ssl.hisPadded() in EncryptionAlgorithm has been deprecatedisPadded() in EncryptionAlgorithm has been deprecatedisPadded() in EncryptionAlgorithm has been deprecatedisPadded() in EncryptionAlgorithm has been deprecatedThis method works for RSA keys but not DSA or EC keys. Use fromSPKI() instead.Thepassphrase
field has been renamedsharedSecret
. CallgetSharedSecret
instead.finalize() in Object has been deprecateduse requireClientAuth(int)As of JSS 3.0. This method is misnamed. UserequestClientAuth
instead.As of JSS 3.0. This method is misnamed. UserequestClientAuthNoExpiryCheck
instead.finalize() in Object has been deprecateduse requireClientAuth(int)use requireClientAuthDefault(int)As of JSS 3.0. This method is misnamed. UserequestClientAuth
instead.As of JSS 3.0. This method is misnamed. UserequestClientAuthNoExpiryCheck
instead.The assert keyword should be used instead.The assert keyword should be used instead.finalize() in Object has been deprecated. Use close(...) from the AutoCloseable interface instead.finalize() in Object has been deprecated
-
Deprecated ConstructorsConstructorDescriptionuse one of the other constructors.This constructor is obsolete now that
invalidityDate
has been added to the class.This constructor is obsolete now thatinvalidityDate
has been added to the class.As of JSS 3.0. The stream parameter is ignored, because only stream sockets are supported.Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).
-
Deprecated Enum ConstantsEnum ConstantDescriptionReplaced with TLS_DH_anon_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DH_anon_WITH_DES_CBC_SHA.Replaced with TLS_DH_anon_WITH_RC4_128_MD5.Replaced with TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DH_DSS_WITH_DES_CBC_SHA.Replaced with TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DH_RSA_WITH_DES_CBC_SHA.Replaced with TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DHE_DSS_WITH_DES_CBC_SHA.Replaced with TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_DHE_RSA_WITH_DES_CBC_SHA.As of NSS 3.11, FORTEZZA is no longer supported.As of NSS 3.11, FORTEZZA is no longer supported.As of NSS 3.11, FORTEZZA is no longer supported.Replaced with TLS_RSA_WITH_3DES_EDE_CBC_SHA.Replaced with TLS_RSA_WITH_DES_CBC_SHA.Replaced with TLS_RSA_WITH_IDEA_CBC_SHA.Replaced with TLS_RSA_WITH_NULL_MD5.Replaced with TLS_RSA_WITH_NULL_SHA.Replaced with TLS_RSA_WITH_RC4_128_MD5.Replaced with TLS_RSA_WITH_RC4_128_SHA.Replaced with TLS_DH_anon_WITH_AES_128_CBC_SHA.Replaced with TLS_DH_anon_WITH_AES_256_CBC_SHA.Replaced with TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA.Replaced with TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA.