Deprecated API


Contents
Deprecated Classes
kz.gamma.asn1.BERConstructedSequence
          use BERSequence 
kz.gamma.asn1.BERInputStream
          use ASN1InputStream 
kz.gamma.cms.CMSEnvelopableByteArray
          use CMSProcessable 
kz.gamma.cms.CMSSignableByteArray
          use CMSProcessableByteArray 
kz.gamma.asn1.DERConstructedSequence
          use DERSequence. 
kz.gamma.asn1.DERConstructedSet
          use DERSet 
kz.gamma.asn1.util.DERDump
          use ASN1Dump. 
kz.gamma.asn1.DERInputStream
          use ASN1InputStream 
kz.gamma.asn1.pkcs.PBES2Algorithms
          - use AlgorithmIdentifier and PBES2Parameters 
kz.gamma.jce.X509V1CertificateGenerator
          use the equivalent class in kz.gamma.x509 
kz.gamma.jce.X509V2CRLGenerator
          use the equivalent class in kz.gamma.x509 
kz.gamma.jce.X509V3CertificateGenerator
          use the equivalent class in kz.gamma.x509 
 

Deprecated Fields
kz.gamma.asn1.x509.CRLReason.AA_COMPROMISE
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.AA_COMPROMISE
          use lower case version 
kz.gamma.asn1.x509.CRLReason.AFFILIATION_CHANGED
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.AFFILIATION_CHANGED
          use lower case version 
kz.gamma.asn1.x509.CRLReason.CA_COMPROMISE
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.CA_COMPROMISE
          use lower case version 
kz.gamma.asn1.x509.CRLReason.CERTIFICATE_HOLD
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.CERTIFICATE_HOLD
          use lower case version 
kz.gamma.asn1.x509.CRLReason.CESSATION_OF_OPERATION
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.CESSATION_OF_OPERATION
          use lower case version 
kz.gamma.tumarcsp.params.StoreObjectParam.dn
          replaced by StoreObjectParam.getDn() 
kz.gamma.asn1.pkcs.PKCSObjectIdentifiers.id_aa_commitmentType
          use id_aa_ets_commitmentType instead 
kz.gamma.asn1.pkcs.PKCSObjectIdentifiers.id_aa_otherSigCert
          use id_aa_ets_otherSigCert instead 
kz.gamma.asn1.pkcs.PKCSObjectIdentifiers.id_aa_signerLocation
          use id_aa_ets_signerLocation instead 
kz.gamma.asn1.pkcs.PKCSObjectIdentifiers.id_aa_sigPolicyId
          use id_aa_ets_sigPolicyId instead 
kz.gamma.asn1.x509.CRLReason.KEY_COMPROMISE
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.KEY_COMPROMISE
          use lower case version 
kz.gamma.tumarcsp.params.StoreObjectParam.oid
          replaced by StoreObjectParam.getOid() 
kz.gamma.tumarcsp.KeyParams.PK_CERTIFICATE
          replaced by LibraryWrapper.PK_CERTIFICATE 
kz.gamma.tumarcsp.KeyParams.PK_CREATETIME
          replaced by LibraryWrapper.PK_CREATETIME 
kz.gamma.tumarcsp.KeyParams.PK_KEY_ALGID
          replaced by LibraryWrapper.PK_KEY_ALGID 
kz.gamma.tumarcsp.KeyParams.PK_KEY_EXP_STATE
          replaced by LibraryWrapper.PK_KEY_EXP_STATE 
kz.gamma.tumarcsp.KeyParams.PK_KEYSTATE
          replaced by LibraryWrapper.PK_KEYSTATE 
kz.gamma.tumarcsp.KeyParams.PK_PUBLICKEY
          replaced by LibraryWrapper.PK_PUBLICKEY 
kz.gamma.tumarcsp.KeyParams.PK_SERIALNUM
          replaced by LibraryWrapper.PK_SERIALNUM 
kz.gamma.tumarcsp.KeyParams.PK_SZOID
          replaced by LibraryWrapper.PK_SZOID 
kz.gamma.asn1.x509.CRLReason.PRIVILEGE_WITHDRAWN
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.PRIVILEGE_WITHDRAWN
          use lower case version 
kz.gamma.tumarcsp.params.StoreObjectParam.profile
          replaced by StoreObjectParam.getProfile() 
kz.gamma.asn1.x509.CRLReason.REMOVE_FROM_CRL
          use lower case version 
kz.gamma.tumarcsp.params.StoreObjectParam.sn
          replaced by StoreObjectParam.getSn() 
kz.gamma.asn1.x509.CRLReason.SUPERSEDED
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.SUPERSEDED
          use lower case version 
kz.gamma.tumarcsp.params.StoreObjectParam.timeCreate
          replaced by StoreObjectParam.getTimeCreate() 
kz.gamma.asn1.x509.CRLReason.UNSPECIFIED
          use lower case version 
kz.gamma.asn1.x509.ReasonFlags.UNUSED
          use lower case version 
kz.gamma.asn1.pkcs.PKCSObjectIdentifiers.x509certType
          use x509Certificate instead 
 

Deprecated Methods
kz.gamma.core.UtilCM.byteToInt(byte[], int)
          replaced by UtilCM.byteToInt(byte[] x, int offset, int type) 
kz.gamma.tumarcsp.TumarCspFunctions.cpAcquireContext(String, int, int, byte[])
          replaced by TumarCspFunctions.cpAcquireContext(String pszContainer, int dwFlags, Number pVTable) 
kz.gamma.cms.CMSGammaEnvelopedData.dencryptText(KeyStore, String)
          replaced by CMSGammaEnvelopedData.decryptText(KeyStore store, String password) 
kz.gamma.x509.X509V2AttributeCertificateGenerator.generateCertificate(PrivateKey, String)
          use generate() 
kz.gamma.x509.X509V2AttributeCertificateGenerator.generateCertificate(PrivateKey, String, SecureRandom)
          use generate() 
kz.gamma.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey)
          use generate(key, GammaTechProvider.PROVIDER_NAME) 
kz.gamma.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey)
          use generate(key, GammaTechProvider.PROVIDER_NAME) 
kz.gamma.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey, SecureRandom)
          use generate(key, random, GammaTechProvider.PROVIDER_NAME) 
kz.gamma.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey, SecureRandom)
          use generate(key, random, GammaTechProvider.PROVIDER_NAME) 
kz.gamma.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey, String)
          use generate() 
kz.gamma.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey, String)
          use generate() 
kz.gamma.x509.X509V1CertificateGenerator.generateX509Certificate(PrivateKey, String, SecureRandom)
          use generate() 
kz.gamma.x509.X509V3CertificateGenerator.generateX509Certificate(PrivateKey, String, SecureRandom)
          use generate() 
kz.gamma.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey)
          use generate(key, GammaTechProvider.PROVIDER_NAME) 
kz.gamma.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey, SecureRandom)
          use generate(key, random, GammaTechProvider.PROVIDER_NAME) 
kz.gamma.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey, String)
          use generate() 
kz.gamma.x509.X509V2CRLGenerator.generateX509CRL(PrivateKey, String, SecureRandom)
          use generate() 
kz.gamma.core.UtilCM.getFullProfileName(String, String, int)
          replaced by UtilCM.getUrl(String urlOrProfile, String param, int paramType) 
kz.gamma.asn1.x509.CertificatePolicies.getInstance(ASN1TaggedObject, boolean)
          use an ASN1Sequence of PolicyInformation 
kz.gamma.asn1.x509.CertificatePolicies.getInstance(Object)
          use an ASN1Sequence of PolicyInformation 
kz.gamma.asn1.cryptopro.GOST3410ParamSetParameters.getLKeySize()
          use getKeySize 
kz.gamma.asn1.cms.RevokeRequest.getrevokeDate()
          replaced by RevokeRequest.getRevokeDate() 
kz.gamma.tumarcsp.AlgParamUtil.getSize(byte[], int)
          replaced by DataConverter.getSizeWithoutNulls(byte[] data, int offset) 
kz.gamma.core.UtilCM.intToByte(int)
          replaced by UtilCM.intToByte(int x, int type) 
kz.gamma.asn1.x509.CertificatePolicies.toASN1Object()
          use an ASN1Sequence of PolicyInformation 
kz.gamma.cms.Pkcs7Data.verifyCapicom()
          replaced by Pkcs7Data.verify() 
kz.gamma.cms.Pkcs7Data.verifyOther()
           
 

Deprecated Constructors
kz.gamma.asn1.x509.BasicConstraints(boolean, int)
          use one of the other two unambigous constructors. 
kz.gamma.asn1.x509.CertificatePolicies(ASN1Sequence)
          use an ASN1Sequence of PolicyInformation 
kz.gamma.asn1.x509.CertificatePolicies(DERObjectIdentifier)
          use an ASN1Sequence of PolicyInformation 
kz.gamma.asn1.x509.CertificatePolicies(String)
          use an ASN1Sequence of PolicyInformation 
kz.gamma.asn1.DEREncodableVector()
          use ASN1EncodableVector instead. 
kz.gamma.asn1.DERInputStream(InputStream)
          use ASN1InputStream 
kz.gamma.asn1.x509.GeneralName(DERObject, int)
          this constructor seems the wrong way round! Use GeneralName(tag, name). 
kz.gamma.jce.provider.JCEECPublicKey(String, byte[])
          replaced by #JCEECPublicKey(byte[] pbKey, String OID)) 
kz.gamma.asn1.x509.X509Name(Hashtable)
          use an ordered constructor! The hashtable ordering is rarely correct 
 



Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.