JSS 3.2

Deprecated API

Deprecated Classes
org.mozilla.jss.crypto.Cipher
          Use the JCA interface instead (Cipher) 
org.mozilla.jss.crypto.JSSMessageDigest
          Use the JCA interface instead (MessageDigest) 
org.mozilla.jss.crypto.KeyPairGenerator
          Use the JCA interface instead (KeyPairGenerator) 
org.mozilla.jss.crypto.Signature
          Use the JCA interface instead (Signature) 
 

Deprecated Interfaces
org.mozilla.jss.crypto.JSSSecureRandom
          Use the JCA interface instead (SecureRandom) 
org.mozilla.jss.crypto.KeyGenerator
          Use the JCA interface instead (KeyGenerator) 
org.mozilla.jss.crypto.KeyWrapper
          Use the JCA interface instead (Cipher) 
 

Deprecated Methods
org.mozilla.jss.util.Assert.assert(boolean)
          "assert" is a keyword under JDK 1.4. Use "_assert" instead. 
org.mozilla.jss.util.Assert.assert(boolean, String)
          "assert" is a keyword under JDK 1.4. Use "_assert" instead. 
org.mozilla.jss.crypto.CryptoToken.cloneKey(SymmetricKey)
          Use the JCA interface instead (SecretKeyFactory) 
org.mozilla.jss.pkcs11.PK11PubKey.fromRaw(PrivateKey.Type, byte[])
          This method works for RSA keys but not DSA keys. Use fromSPKI() instead. 
org.mozilla.jss.crypto.CryptoToken.getCipherContext(EncryptionAlgorithm)
          Use the JCA interface instead (Cipher) 
org.mozilla.jss.crypto.CryptoToken.getDigestContext(DigestAlgorithm)
          Use the JCA interface instead (MessageDigest) 
org.mozilla.jss.crypto.CryptoToken.getKeyGenerator(KeyGenAlgorithm)
          Use the JCA interface instead (KeyGenerator) 
org.mozilla.jss.crypto.CryptoToken.getKeyPairGenerator(KeyPairAlgorithm)
          Use the JCA interface instead (KeyPairGenerator) 
org.mozilla.jss.crypto.CryptoToken.getKeyWrapper(KeyWrapAlgorithm)
          Use the JCA interface instead (Cipher) 
org.mozilla.jss.crypto.CryptoToken.getSignatureContext(SignatureAlgorithm)
          Use the JCA interface instead (Signature) 
org.mozilla.jss.crypto.PrivateKey.getUniqueID()
          This ID is based on an implementation that might change. If this functionality is required, it should be provided in another way, such as a function that directly matches a cert and key. 
org.mozilla.jss.crypto.TokenCertificate.getUniqueID()
          This ID is based on an implementation that might change. If this functionality is required, it should be provided in another way, such as a function that directly matches a cert and key. 
org.mozilla.jss.ssl.SSLServerSocket.setNeedClientAuth(boolean)
          As of JSS 3.0. This method is misnamed. Use requestClientAuth instead. 
org.mozilla.jss.ssl.SSLSocket.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.setNeedClientAuthNoExpiryCheck(boolean)
          As of JSS 3.0. This method is misnamed. Use requestClientAuthNoExpiryCheck instead. 
 

Deprecated Constructors
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. 
 


JSS 3.2