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

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Exceptions
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    org.mozilla.jss.crypto.Algorithm.CKM_PBA_SHA1_WITH_SHA1_HMAC
    org.mozilla.jss.crypto.Algorithm.CKM_SHA_1_HMAC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_ANSIX9_DSA_SIGNATURE_WITH_SHA1_DIGEST
    org.mozilla.jss.crypto.Algorithm.SEC_OID_ANSIX962_ECDSA_SHA1_SIGNATURE
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC2_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC4
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_3KEY_TRIPLE_DES_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC2_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC4
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS5_PBE_WITH_SHA1_AND_DES_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_SHA1
    org.mozilla.jss.crypto.DigestAlgorithm.SHA1
    org.mozilla.jss.crypto.HMACAlgorithm.SHA1
    org.mozilla.jss.crypto.KeyGenAlgorithm.PBA_SHA1_HMAC
    org.mozilla.jss.crypto.KeyGenAlgorithm.SHA1_HMAC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_DES_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_DES3_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC2_128_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC2_40_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC4_128
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC4_40
    org.mozilla.jss.crypto.PKCS11Algorithm.CKM_PBA_SHA1_WITH_SHA1_HMAC
    org.mozilla.jss.crypto.PKCS11Algorithm.CKM_SHA_1_HMAC
    org.mozilla.jss.crypto.SignatureAlgorithm.DSASignatureWithSHA1Digest
    org.mozilla.jss.crypto.SignatureAlgorithm.ECSignatureWithSHA1Digest
    org.mozilla.jss.crypto.SignatureAlgorithm.RSASignatureWithSHA1Digest
    org.mozilla.jss.crypto.SymmetricKey.SHA1_HMAC
    org.mozilla.jss.crypto.SymmetricKey.Type.PBA_SHA1_HMAC
    org.mozilla.jss.crypto.SymmetricKey.Type.SHA1_HMAC
    org.mozilla.jss.netscape.security.x509.AlgorithmId.ANSIX962_SHA1_With_EC_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.DSA_SIGNING_ALGORITHMS
    org.mozilla.jss.netscape.security.x509.AlgorithmId.SHA_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithDSA_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithDSA_OIW_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithEC_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithRSAEncryption_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithRSAEncryption_OIW_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.shaWithDSA_OIW_oid
    org.mozilla.jss.pkcs11.KeyType.SHA1_HMAC
    org.mozilla.jss.pkcs12.AuthenticatedSafes.DEFAULT_KEY_GEN_ALG
    org.mozilla.jss.provider.java.security.JSSMessageDigestSpi.SHA1
    org.mozilla.jss.provider.java.security.JSSSignatureSpi.DSA
    org.mozilla.jss.provider.java.security.JSSSignatureSpi.SHA1EC
    org.mozilla.jss.provider.javax.crypto.JSSKeyGeneratorSpi.HmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSKeyGeneratorSpi.PBAHmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSMacSpi.HmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.HmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBAHmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBE_SHA1_DES_CBC
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBE_SHA1_DES3_CBC
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBE_SHA1_RC4_128
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_dsa_sha1
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_ecdsa_sha1
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_rsa_pkcs1_sha1
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_rsa_pkcs1_sha1md5
  • Deprecated Classes
    Class
    Description
    org.mozilla.jss.pkcs11.PK11InternalCert
    Use PK11Cert instead.
    org.mozilla.jss.pkcs11.PK11InternalTokenCert
    Use PK11Cert instead.
    org.mozilla.jss.provider.java.security.JSSMessageDigestSpi.SHA1
    org.mozilla.jss.provider.java.security.JSSSignatureSpi.DSA
    org.mozilla.jss.provider.java.security.JSSSignatureSpi.SHA1EC
    org.mozilla.jss.provider.javax.crypto.JSSKeyGeneratorSpi.HmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSKeyGeneratorSpi.PBAHmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSMacSpi.HmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.HmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBAHmacSHA1
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBE_SHA1_DES_CBC
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBE_SHA1_DES3_CBC
    org.mozilla.jss.provider.javax.crypto.JSSSecretKeyFactorySpi.PBE_SHA1_RC4_128
  • Deprecated Exceptions
    Exceptions
    Description
    org.mozilla.jss.crypto.BadPaddingException
    Use javax.crypto.BadPaddingException.
  • Deprecated Fields
    Field
    Description
    org.mozilla.jss.crypto.Algorithm.CKM_PBA_SHA1_WITH_SHA1_HMAC
    org.mozilla.jss.crypto.Algorithm.CKM_SHA_1_HMAC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_ANSIX9_DSA_SIGNATURE_WITH_SHA1_DIGEST
    org.mozilla.jss.crypto.Algorithm.SEC_OID_ANSIX962_ECDSA_SHA1_SIGNATURE
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS1_SHA1_WITH_RSA_ENCRYPTION
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC2_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_128_BIT_RC4
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_3KEY_TRIPLE_DES_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC2_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_40_BIT_RC4
    org.mozilla.jss.crypto.Algorithm.SEC_OID_PKCS5_PBE_WITH_SHA1_AND_DES_CBC
    org.mozilla.jss.crypto.Algorithm.SEC_OID_SHA1
    org.mozilla.jss.crypto.DigestAlgorithm.SHA1
    org.mozilla.jss.crypto.HMACAlgorithm.SHA1
    org.mozilla.jss.crypto.InternalCertificate.TRUSTED_CA
    Use PK11Cert.TRUSTED_CA instead.
    org.mozilla.jss.crypto.InternalCertificate.TRUSTED_CLIENT_CA
    Use PK11Cert.TRUSTED_CLIENT_CA instead.
    org.mozilla.jss.crypto.InternalCertificate.TRUSTED_PEER
    Use PK11Cert.TRUSTED_PEER instead.
    org.mozilla.jss.crypto.InternalCertificate.USER
    Use PK11Cert.USER instead.
    org.mozilla.jss.crypto.InternalCertificate.VALID_CA
    Use PK11Cert.VALID_CA instead.
    org.mozilla.jss.crypto.InternalCertificate.VALID_PEER
    Use PK11Cert.VALID_PEER instead.
    org.mozilla.jss.crypto.KeyGenAlgorithm.PBA_SHA1_HMAC
    org.mozilla.jss.crypto.KeyGenAlgorithm.SHA1_HMAC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_DES_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_DES3_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC2_128_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC2_40_CBC
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC4_128
    org.mozilla.jss.crypto.PBEAlgorithm.PBE_SHA1_RC4_40
    org.mozilla.jss.crypto.SignatureAlgorithm.DSASignatureWithSHA1Digest
    org.mozilla.jss.crypto.SignatureAlgorithm.ECSignatureWithSHA1Digest
    org.mozilla.jss.crypto.SignatureAlgorithm.RSASignatureWithSHA1Digest
    org.mozilla.jss.crypto.SymmetricKey.SHA1_HMAC
    org.mozilla.jss.crypto.SymmetricKey.Type.PBA_SHA1_HMAC
    org.mozilla.jss.crypto.SymmetricKey.Type.SHA1_HMAC
    org.mozilla.jss.netscape.security.pkcs.PKCS12.GOVT_APPROVED_CA
    Use PK11Cert.GOVT_APPROVED_CA instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.INVISIBLE_CA
    Use PK11Cert.INVISIBLE_CA instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.NS_TRUSTED_CA
    Use PK11Cert.NS_TRUSTED_CA instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.SEND_WARN
    Use PK11Cert.SEND_WARN instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.TERMINAL_RECORD
    Use PK11Cert.VALID_PEER instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.TRUSTED
    Use PK11Cert.TRUSTED_PEER instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.TRUSTED_CA
    Use PK11Cert.TRUSTED_CA instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.TRUSTED_CLIENT_CA
    Use PK11Cert.TRUSTED_CLIENT_CA instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.USER
    Use PK11Cert.USER instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.VALID_CA
    Use PK11Cert.VALID_CA instead.
    org.mozilla.jss.netscape.security.x509.AlgorithmId.ANSIX962_SHA1_With_EC_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.DSA_SIGNING_ALGORITHMS
    org.mozilla.jss.netscape.security.x509.AlgorithmId.SHA_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithDSA_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithDSA_OIW_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithEC_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithRSAEncryption_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.sha1WithRSAEncryption_OIW_oid
    org.mozilla.jss.netscape.security.x509.AlgorithmId.shaWithDSA_OIW_oid
    org.mozilla.jss.pkcs11.KeyType.FORTEZZA
    As of NSS 3.11, FORTEZZA is no longer supported. This is just a placeholder for backward compatibility.
    org.mozilla.jss.pkcs11.KeyType.SHA1_HMAC
    org.mozilla.jss.pkcs12.AuthenticatedSafes.DEFAULT_KEY_GEN_ALG
    org.mozilla.jss.ssl.SSLSecurityStatus.STATUS_FORTEZZA
    As of NSS 3.11, FORTEZZA is no longer supported. STATUS_FORTEZZA is a placeholder for backward compatibility.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_ANON_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DH_anon_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_ANON_WITH_DES_CBC_SHA
    Replaced with TLS_DH_anon_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_ANON_WITH_RC4_128_MD5
    Replaced with TLS_DH_anon_WITH_RC4_128_MD5.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_DSS_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_DSS_WITH_DES_CBC_SHA
    Replaced with TLS_DH_DSS_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_RSA_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DH_RSA_WITH_DES_CBC_SHA
    Replaced with TLS_DH_RSA_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DHE_DSS_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DHE_DSS_WITH_DES_CBC_SHA
    Replaced with TLS_DHE_DSS_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DHE_RSA_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_DHE_RSA_WITH_DES_CBC_SHA
    Replaced with TLS_DHE_RSA_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA
    As of NSS 3.11, FORTEZZA is no longer supported.
    org.mozilla.jss.ssl.SSLSocket.SSL3_FORTEZZA_DMS_WITH_NULL_SHA
    As of NSS 3.11, FORTEZZA is no longer supported.
    org.mozilla.jss.ssl.SSLSocket.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA
    As of NSS 3.11, FORTEZZA is no longer supported.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_RSA_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_DES_CBC_SHA
    Replaced with TLS_RSA_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_IDEA_CBC_SHA
    Replaced with TLS_RSA_WITH_IDEA_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_NULL_MD5
    Replaced with TLS_RSA_WITH_NULL_MD5.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_NULL_SHA
    Replaced with TLS_RSA_WITH_NULL_SHA.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_RC4_128_MD5
    Replaced with TLS_RSA_WITH_RC4_128_MD5.
    org.mozilla.jss.ssl.SSLSocket.SSL3_RSA_WITH_RC4_128_SHA
    Replaced with TLS_RSA_WITH_RC4_128_SHA.
    org.mozilla.jss.ssl.SSLSocket.TLS_DH_ANON_WITH_AES_128_CBC_SHA
    Replaced with TLS_DH_anon_WITH_AES_128_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.TLS_DH_ANON_WITH_AES_256_CBC_SHA
    Replaced with TLS_DH_anon_WITH_AES_256_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.TLS_DH_ANON_WITH_CAMELLIA_128_CBC_SHA
    Replaced with TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA.
    org.mozilla.jss.ssl.SSLSocket.TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA
    Replaced with TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA.
    org.mozilla.jss.ssl.SSLVersionRange.ssl3
    Replaced with SSLVersion.SSL_3_0.
    org.mozilla.jss.ssl.SSLVersionRange.tls1_0
    Replaced with SSLVersion.TLS_1_0.
    org.mozilla.jss.ssl.SSLVersionRange.tls1_1
    Replaced with SSLVersion.TLS_1_1.
    org.mozilla.jss.ssl.SSLVersionRange.tls1_2
    Replaced with SSLVersion.TLS_1_2.
    org.mozilla.jss.ssl.SSLVersionRange.tls1_3
    Replaced with SSLVersion.TLS_1_3.
    org.mozilla.jss.util.NativeErrcodes.SEC_ERROR_NOT_FORTEZZA_ISSUER
    As of NSS 3.11, FORTEZZA is no longer supported. SEC_ERROR_NOT_FORTEZZA_ISSUER is a placeholder for backward compatibility.
    org.mozilla.jss.util.NativeErrcodes.SSL_ERROR_FORTEZZA_PQG
    As of NSS 3.11, FORTEZZA is no longer supported. SSL_ERROR_FORTEZZA_PQG is a placeholder for backward compatibility.
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_BAD_CARD
    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.
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_BAD_PIN
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_MORE_INFO
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_NO_CARD
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_NO_MORE_INFO
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_NONE_SELECTED
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_PERSON_ERROR
    org.mozilla.jss.util.NativeErrcodes.XP_SEC_FORTEZZA_PERSON_NOT_FOUND
  • Deprecated Methods
    Method
    Description
    org.mozilla.jss.crypto.Algorithm.getParameterClass()
    Call getParameterClasses() instead.
    org.mozilla.jss.crypto.EncryptionAlgorithm.fromString(String)
    This method is deprecated because algorithm strings don't contain key length, which is necessary to distinguish between AES algorithms.
    org.mozilla.jss.crypto.KeyPairGeneratorSpi.Usage.getVal()
    Use ordinal() instead.
    org.mozilla.jss.crypto.PBEKeyGenParams.finalize()
    finalize() in Object has been deprecated
    org.mozilla.jss.crypto.SymmetricKey.Usage.getPKCS11Constant()
    Use value() to get PKCS #11 CKF_ value instead.
    org.mozilla.jss.crypto.SymmetricKey.Usage.getVal()
    Use ordinal() instead.
    org.mozilla.jss.CryptoManager.isCertValid(String, boolean, CertificateUsage)
    Use verifyCertificate() instead
    org.mozilla.jss.netscape.security.pkcs.PKCS12.decodeFlags(String)
    Use PK11Cert.decodeTrustFlags() instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.encodeFlags(int)
    Use PK11Cert.encodeTrustFlags() instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12.isFlagEnabled(int, int)
    Use PK11Cert.isTrustFlagEnabled() instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12Util.getTrustFlags(X509Certificate)
    Use PK11Cert.getTrustFlags() instead.
    org.mozilla.jss.netscape.security.pkcs.PKCS12Util.setTrustFlags(X509Certificate, String)
    Use PK11Cert.setTrustFlags() instead.
    org.mozilla.jss.nss.SSL.ConfigSecureServer(SSLFDProxy, PK11Cert, PK11PrivKey, int)
    replaced with ConfigServerCert See also: SSL_ConfigSecureServer in /usr/include/nss3/ssl.h
    org.mozilla.jss.pkcs11.PK11Cipher.doFinal()
    isPadded() in EncryptionAlgorithm has been deprecated
    org.mozilla.jss.pkcs11.PK11Cipher.doFinal(byte[])
    isPadded() in EncryptionAlgorithm has been deprecated
    org.mozilla.jss.pkcs11.PK11Cipher.initDecrypt(SymmetricKey, AlgorithmParameterSpec)
    isPadded() in EncryptionAlgorithm has been deprecated
    org.mozilla.jss.pkcs11.PK11Cipher.initEncrypt(SymmetricKey, AlgorithmParameterSpec)
    isPadded() in EncryptionAlgorithm has been deprecated
    org.mozilla.jss.pkcs11.PK11PubKey.fromRaw(PrivateKey.Type, byte[])
    This method works for RSA keys but not DSA or EC keys. Use fromSPKI() instead.
    org.mozilla.jss.pkix.cmmf.RevRequest.getPassphrase()
    The passphrase field has been renamed sharedSecret. Call getSharedSecret instead.
    org.mozilla.jss.ssl.SSLServerSocket.finalize()
    finalize() in Object has been deprecated
    org.mozilla.jss.ssl.SSLServerSocket.requireClientAuth(boolean, boolean)
    use requireClientAuth(int)
    org.mozilla.jss.ssl.SSLServerSocket.setNeedClientAuth(boolean)
    As of JSS 3.0. This method is misnamed. Use requestClientAuth instead.
    org.mozilla.jss.ssl.SSLServerSocket.setNeedClientAuthNoExpiryCheck(boolean)
    As of JSS 3.0. This method is misnamed. Use requestClientAuthNoExpiryCheck instead.
    org.mozilla.jss.ssl.SSLSocket.finalize()
    finalize() in Object has been deprecated
    org.mozilla.jss.ssl.SSLSocket.requireClientAuth(boolean, boolean)
    use requireClientAuth(int)
    org.mozilla.jss.ssl.SSLSocket.requireClientAuthDefault(boolean, boolean)
    use requireClientAuthDefault(int)
    org.mozilla.jss.ssl.SSLSocket.setNeedClientAuth(boolean)
    As of JSS 3.0. This method is misnamed. Use requestClientAuth instead.
    org.mozilla.jss.ssl.SSLSocket.setNeedClientAuthNoExpiryCheck(boolean)
    As of JSS 3.0. This method is misnamed. Use requestClientAuthNoExpiryCheck instead.
    org.mozilla.jss.util.Assert._assert(boolean)
    The assert keyword should be used instead.
    org.mozilla.jss.util.Assert._assert(boolean, String)
    The assert keyword should be used instead.
    org.mozilla.jss.util.NativeEnclosure.finalize()
    org.mozilla.jss.util.NativeProxy.finalize()
    finalize() in Object has been deprecated. Use close(...) from the AutoCloseable interface instead.
    org.mozilla.jss.util.Password.finalize()
    finalize() in Object has been deprecated
  • Deprecated Constructors
    Constructor
    Description
    org.mozilla.jss.netscape.security.x509.AlgorithmId()
    use one of the other constructors.
    org.mozilla.jss.pkix.cmc.RevokeRequest(ANY, INTEGER, ENUMERATED, OCTET_STRING, UTF8String)
    This constructor is obsolete now that invalidityDate has been added to the class.
    org.mozilla.jss.pkix.cmmf.RevRequest(ANY, INTEGER, ENUMERATED, OCTET_STRING, UTF8String)
    This constructor is obsolete now that invalidityDate has been added to the class.
    org.mozilla.jss.ssl.SSLSocket(InetAddress, int, InetAddress, int, boolean, SSLCertificateApprovalCallback, SSLClientCertificateSelectionCallback)
    As of JSS 3.0. The stream parameter is ignored, because only stream sockets are supported.
    org.mozilla.jss.ssl.SSLVersionRange(int, int)
    Replaced with SSLVersionRange(SSLVersion minVersion, SSLVersion maxVersion).
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.mozilla.jss.crypto.PKCS11Algorithm.CKM_PBA_SHA1_WITH_SHA1_HMAC
    org.mozilla.jss.crypto.PKCS11Algorithm.CKM_SHA_1_HMAC
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_ANON_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DH_anon_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_ANON_WITH_DES_CBC_SHA
    Replaced with TLS_DH_anon_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_ANON_WITH_RC4_128_MD5
    Replaced with TLS_DH_anon_WITH_RC4_128_MD5.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_DSS_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_DSS_WITH_DES_CBC_SHA
    Replaced with TLS_DH_DSS_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_RSA_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DH_RSA_WITH_DES_CBC_SHA
    Replaced with TLS_DH_RSA_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DHE_DSS_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DHE_DSS_WITH_DES_CBC_SHA
    Replaced with TLS_DHE_DSS_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DHE_RSA_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_DHE_RSA_WITH_DES_CBC_SHA
    Replaced with TLS_DHE_RSA_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA
    As of NSS 3.11, FORTEZZA is no longer supported.
    org.mozilla.jss.ssl.SSLCipher.SSL3_FORTEZZA_DMS_WITH_NULL_SHA
    As of NSS 3.11, FORTEZZA is no longer supported.
    org.mozilla.jss.ssl.SSLCipher.SSL3_FORTEZZA_DMS_WITH_RC4_128_SHA
    As of NSS 3.11, FORTEZZA is no longer supported.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_3DES_EDE_CBC_SHA
    Replaced with TLS_RSA_WITH_3DES_EDE_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_DES_CBC_SHA
    Replaced with TLS_RSA_WITH_DES_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_IDEA_CBC_SHA
    Replaced with TLS_RSA_WITH_IDEA_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_NULL_MD5
    Replaced with TLS_RSA_WITH_NULL_MD5.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_NULL_SHA
    Replaced with TLS_RSA_WITH_NULL_SHA.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_RC4_128_MD5
    Replaced with TLS_RSA_WITH_RC4_128_MD5.
    org.mozilla.jss.ssl.SSLCipher.SSL3_RSA_WITH_RC4_128_SHA
    Replaced with TLS_RSA_WITH_RC4_128_SHA.
    org.mozilla.jss.ssl.SSLCipher.TLS_DH_ANON_WITH_AES_128_CBC_SHA
    Replaced with TLS_DH_anon_WITH_AES_128_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.TLS_DH_ANON_WITH_AES_256_CBC_SHA
    Replaced with TLS_DH_anon_WITH_AES_256_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.TLS_DH_ANON_WITH_CAMELLIA_128_CBC_SHA
    Replaced with TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA.
    org.mozilla.jss.ssl.SSLCipher.TLS_DH_ANON_WITH_CAMELLIA_256_CBC_SHA
    Replaced with TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA.
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_dsa_sha1
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_ecdsa_sha1
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_rsa_pkcs1_sha1
    org.mozilla.jss.ssl.SSLSignatureScheme.ssl_sig_rsa_pkcs1_sha1md5