Bu sayfanın seçili sürümü ile mevcut sürümü arasındaki farkları gösterir.
en:esya:quickstart [2013/07/23 10:17] Dindar Öz |
en:esya:quickstart [2013/07/23 10:38] (mevcut) Dindar Öz |
||
---|---|---|---|
Satır 1: | Satır 1: | ||
- | In order to use API functions, license file, certificate validation policy file are required along with the library files. Moreover ,certificates and private keys are used for signature creation. | + | In order to use API functions the license file and a certificate validation policy file are required along with the library files. Moreover ,certificates and private keys are used for signature creation. |
The bundle you have downloaded includes a test license.You can specify the location of the license file by using License.setLicense(...) function. License files have become password protected since 1.4.0 version. Therefore the password of the license must also be provided by the user. | The bundle you have downloaded includes a test license.You can specify the location of the license file by using License.setLicense(...) function. License files have become password protected since 1.4.0 version. Therefore the password of the license must also be provided by the user. | ||
- | There is also a sample policy filse in the package which can be usable without any change. | + | There is also a sample policy file in the package which can be usable without any change. |
+ | The API comes with the certificate store file used for certificate validation. In the policy file the location of the certificate store file can be configured. By default the API searches the certificate store file with the name "SertifikaDeposu.svt" in the folder "user_home/.sertifikadeposu". | ||
- | Kullanmanız gereken sertifika deposu dosyası indirdiğiniz paket ile birlikte gelmektedir. Politika dosyasından sertifika deposunun dosya yolunu ayarlayabilir veya dosya yolu ayarını silerek sertifika deposunu “user_home” altında “.sertifikadeposu” klasörü altında “SertifikaDeposu.svt” dosyası olarak kaydedebilirsiniz. | + | You need a certificate and the corresponding private key to create signature. PFX files are used store and transport certificates and private keys in password-protected form. You ca find a test pfx in the package. |
+ | The numbers in the pfx file name denotes its password. You can either use the pfx file directly or store the certificates and private keys in it into a smartcard. PfxSigner class , included in the sample codes demonstrates how to get certificates from a pfx file and create signer using a pfx file. | ||
+ | |||
+ | Smartcard classes are not included in the Java SDK. Most IDEs have problem with building the code using the API. You have to disable prompting errors for restricted APIs in the configuration of the IDE. | ||
- | İmza atmanız için sertifika ve özel anahtara ihtiyacınız vardır.Pfx dosyaları sertifikaları ve özel anahtarı şifreli olarak saklayabilmektedir. Test amacıyla kullanılmak üzere bir pfx dosyasını indirdiğiniz paketin içinde bulabilirsiniz. Dosya ismindeki sayılar pfx dosyasının şifresidir. Bu pfx dosyasını bir akıllı karta yükleyebilirsiniz veya bu pfx dosyasını doğrudan kullanabilirsiniz. Pfx içinden sertifikayı nasıl alacağınıza, pfx‟den nasıl imzacı oluĢturacağınızı görmek için örnekler içindeki PfxSigner sınıfına bakabilirsiniz. | ||
- | Java standart kütüphanesine akıllı kart işlemlerini yapan sınıflar dahil değildir. Çoğu IDE derleme sırasında hata vermektedir. IDE‟nizin ayarlarından “restricted API”ler için hata vermesini kapatmanız gerekmektedir. |