Oracle Security Developer Tools Crypto Java API Reference
10g Release 2 (10.1.2.0.2)

B15565-01


Deprecated API

Deprecated Classes
oracle.security.crypto.core.RSAPrivateKeyPKCS8
          This class is maintained only to ease the transistion for existing Phaos SSLava 1.1.x applications. New applications should use PrivateKeyPKCS8 instead. 

 

Deprecated Fields
oracle.security.crypto.core.Cipher.decryptionKey
          No replacement. 
oracle.security.crypto.core.Cipher.encryptionKey
          No replacement. 
oracle.security.crypto.core.Cipher.NULL_PADDING
          Use the Padding class constants instead. 
oracle.security.crypto.core.Cipher.PKCS5_PADDING
          Use the Padding class constants instead. 

 

Deprecated Methods
oracle.security.crypto.core.RSAMDSignature.algorithmOID()
          Instead, use getAlgID().getOID(). 
oracle.security.crypto.core.RSApkcs1.blockSize()
          Use RSApkcs1.getBlockSize() instead. 
oracle.security.crypto.core.NullCipher.blockSize()
          Use NullCipher.getBlockSize() instead. 
oracle.security.crypto.core.Coder.blockSize()
          Use getBlockSize() instead. 
oracle.security.crypto.core.Cipher.blockSize()
          Use Cipher.getBlockSize() instead. 
oracle.security.crypto.core.BlockCipher.blockSize()
          Use BlockCipher.getBlockSize() 
oracle.security.crypto.core.Arcfour.blockSize()
          Use Arcfour.getBlockSize() 
oracle.security.crypto.core.Cipher.decryptOp(byte[])
          Use a decrypt method instead. 
oracle.security.crypto.core.RSApkcs1.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.RC2.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.NullCipher.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.DES_EDE.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.DES.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.Cipher.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.Blowfish.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.Arcfour.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.AES.decryptOp(byte[], int, byte[], int)
          Use a decrypt method instead. 
oracle.security.crypto.core.Cipher.encryptOp(byte[])
          Use an encrypt method instead. 
oracle.security.crypto.core.RSApkcs1.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.RC2.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.NullCipher.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.DES_EDE.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.DES.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.Cipher.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.Blowfish.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.Arcfour.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.AES.encryptOp(byte[], int, byte[], int)
          Use an encrypt method instead. 
oracle.security.crypto.core.SymmetricKey.getAlgorithm()
            
oracle.security.crypto.core.Signature.getBytes()
          Replaced by Signature.getSigBytes(). 
oracle.security.crypto.core.Cipher.getDecryptionKey()
          Use Cipher.cloneKey() instead. 
oracle.security.crypto.asn1.ASN1Sequence.getEncoded()
            
oracle.security.crypto.core.Cipher.getEncryptionKey()
          Use Cipher.cloneKey() instead. 
oracle.security.crypto.core.Cipher.getInstance(AlgorithmIdentifier)
          Use a getInstance() method that returns an initialized cipher instead. 
oracle.security.crypto.core.KeyPairGenerator.getInstance(String)
          use the version of getInstance that takes an AlgorithmIdentifier as an argument. 
oracle.security.crypto.core.Cipher.getKey()
          Use Cipher.cloneKey() instead. 
oracle.security.crypto.core.Cipher.getPadding()
          Use Cipher.getPaddingID() instead. 
oracle.security.crypto.core.BlockCipher.getPadding()
          Use BlockCipher.getPaddingID() instead. 
oracle.security.crypto.util.OIDManager.getProperties(ASN1ObjectID)
          Use getMapping(ASN1ObjectID oid) instead. 
oracle.security.crypto.util.OIDManager.getProperty(ASN1ObjectID, String)
          Use getMapping(ASN1ObjectID oid, String key) instead. 
oracle.security.crypto.core.Coder.initialize()
          This method has no effect, and all usages of it may be removed without problems. 
oracle.security.crypto.asn1.ASN1Utils.inputASN1BitString(ASN1Header, InputStream)
            
oracle.security.crypto.asn1.ASN1Utils.inputASN1Date(ASN1Header, InputStream)
            
oracle.security.crypto.asn1.ASN1Utils.inputASN1Integer(ASN1Header, InputStream)
            
oracle.security.crypto.asn1.ASN1Utils.inputASN1ObjectID(ASN1Header, InputStream)
            
oracle.security.crypto.asn1.ASN1Utils.inputASN1OctetString(ASN1Header, InputStream)
            
oracle.security.crypto.asn1.ASN1Utils.inputASN1String(ASN1Header, InputStream)
            
oracle.security.crypto.core.MessageDigest.isEqual(byte[], byte[])
          Use Utils.areEqual(byte[], byte[]) instead. 
oracle.security.crypto.core.Cipher.pad(byte[])
          No replacement. 
oracle.security.crypto.core.PKCS5.pad(byte[], int)
            
oracle.security.crypto.core.RSApkcs1.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.RC2.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.NullCipher.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.DES_EDE.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.DES.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.Cipher.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.Blowfish.setAlgID(AlgorithmIdentifier)
          Use an initialize method. 
oracle.security.crypto.core.Arcfour.setAlgID(AlgorithmIdentifier)
          Use an initialize method instead. 
oracle.security.crypto.core.AES.setAlgID(AlgorithmIdentifier)
          Use an initialize method instead. 
oracle.security.crypto.core.Signature.setBytes(byte[])
          Replaced by Signature.setSigBytes(byte[]). 
oracle.security.crypto.core.RSApkcs1.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.RC2.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.DES_EDE.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.DES.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Cipher.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Blowfish.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Arcfour.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.AES.setDecryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.RC2.setEffectiveKeyLength(int)
          Use an initialize method instead. 
oracle.security.crypto.core.RSApkcs1.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.RC2.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.DES_EDE.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.DES.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Cipher.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Blowfish.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Arcfour.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.AES.setEncryptionKey(Key)
          Use an initialize method instead. 
oracle.security.crypto.core.Cipher.setIV(byte[])
          Use an initialize method. 
oracle.security.crypto.core.BlockCipher.setIV(byte[])
          IV's should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.Arcfour.setIV(byte[])
          Use an initialize method. 
oracle.security.crypto.core.RSApkcs1.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.RC2.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.DES_EDE.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.DES.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.Cipher.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.Blowfish.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.Arcfour.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.AES.setKey(SymmetricKey)
          Use an initialize method instead. 
oracle.security.crypto.core.RC2.setMode(int)
          Modes should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.DES_EDE.setMode(int)
          Modes should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.DES.setMode(int)
          Modes should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.Cipher.setMode(int)
          Use an initialize method. 
oracle.security.crypto.core.Blowfish.setMode(int)
          Modes should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.Arcfour.setMode(int)
          Use an initialize method. 
oracle.security.crypto.core.AES.setMode(int)
          Modes should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.Cipher.setPadding(int)
          Use an initialize method. 
oracle.security.crypto.core.BlockCipher.setPadding(int)
          Padding should only be set when a BlockCipher is initialized. Use one of the initialize(...) methods instead. 
oracle.security.crypto.core.Arcfour.setPadding(int)
          Use an initialize method. 
oracle.security.crypto.util.OIDManager.setProperties(ASN1ObjectID, Properties)
          Use setMappings(ASN1ObjectID oid, Properties prop) instead. 
oracle.security.crypto.util.OIDManager.setProperty(ASN1ObjectID, String, String)
          Use setMapping(ASN1ObjectID oid, String key, Class classObject) or setAttributeTypeName instead. 
oracle.security.crypto.core.Cipher.setRandomBitsSource(RandomBitsSource)
            
oracle.security.crypto.util.CryptoUtils.signASN1(ASN1Object, PrivateKey, RandomBitsSource)
          Use the version of signASN1 which does not take a RandomBitsSource argument. 
oracle.security.crypto.util.CryptoUtils.signatureAlgID(PrivateKey)
            
oracle.security.crypto.util.Utils.toBytesUnsafe(Streamable)
          Use Utils.toBytes(java.io.InputStream) instead. 
oracle.security.crypto.asn1.ASN1GenericConstructed.toSequence()
            
oracle.security.crypto.core.PKCS5.unpad(byte[])
            
oracle.security.crypto.core.Cipher.unpad(byte[])
          No replacement. 
oracle.security.crypto.asn1.ASN1ConstructedInputStream.unread(int)
            

 

Deprecated Constructors
oracle.security.crypto.core.AES(AlgorithmIdentifier)
          Use the no-argument constructor and an initialize method instead. This constructor will not be supported in future releases. Contact Phaos technical support with any questions. 
oracle.security.crypto.core.AES(int)
          Use the no-argument constructor and an initialize method instead. This constructor will not be supported in future releases. Contact Phaos technical support with any questions. 
oracle.security.crypto.core.AES(int, int)
          Use the no-argument constructor and an initialize method instead. This constructor will not be supported in future releases. Contact Phaos technical support with any questions. 
oracle.security.crypto.core.Blowfish(int)
          Use the no-argument constructor and an initialize method instead. 
oracle.security.crypto.core.DES_EDE(int)
          Use the no-argument constructor and an initialize method instead 
oracle.security.crypto.core.DES(int)
          Use the no-argument constructor and an initialize method instead 
oracle.security.crypto.core.RSAMDSignature(RSAPublicKey, ASN1ObjectID)
          Use RSAMDSignature.RSAMDSignature(RSAPublicKey, AlgorithmIdentifier) 
oracle.security.crypto.core.RSAMDSignature(RSAPublicKey, RSAPrivateKey)
          Use RSAMDSignature.RSAMDSignature(RSAPrivateKey) and RSAMDSignature.setPublicKey(PublicKey) 
oracle.security.crypto.core.RSAMDSignature(RSAPublicKey, RSAPrivateKey, byte[])
          Use RSAMDSignature.RSAMDSignature(RSAPrivateKey, byte[]) and RSAMDSignature.setPublicKey(PublicKey) 
oracle.security.crypto.core.RSApkcs1(AlgorithmIdentifier)
          Use the no-argument constructor and an initialize method instead. 
oracle.security.crypto.core.SymmetricKey(byte[], String)
            

 


Oracle Security Developer Tools Crypto Java API Reference
10g Release 2 (10.1.2.0.2)

B15565-01


Copyright © 2005 , Oracle. All rights reserved.