Class TccParams
java.lang.Object
com.regula.documentreader.api.params.rfid.TccParams
Class contains information about TCC parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidsetPfxCert(byte[] pfxCert) Set certificate in binary typevoidsetPfxCertUrl(String pfxCertUrl) Set URL where the certificate of work with the service is storedvoidsetPfxPassPhrase(String pfxPassPhrase) Set certificate passwordvoidsetServiceUrlPA(String serviceUrlPA) voidsetServiceUrlTA(String serviceUrlTA) URL for certificatetoJson()Method convert object to string in json format
-
Constructor Details
-
TccParams
public TccParams()
-
-
Method Details
-
getServiceUrlTA
- Returns:
- TСС server URL
-
setServiceUrlTA
URL for certificate- Parameters:
serviceUrlTA-
-
getServiceUrlPA
-
setServiceUrlPA
-
getPfxCertUrl
- Returns:
- URL where the certificate of work with the service is stored
-
setPfxCertUrl
Set URL where the certificate of work with the service is stored- Parameters:
pfxCertUrl-
-
getPfxPassPhrase
- Returns:
- certificate password
-
setPfxPassPhrase
Set certificate password- Parameters:
pfxPassPhrase-
-
getPfxCert
public byte[] getPfxCert()- Returns:
- certificate in binary type
-
setPfxCert
public void setPfxCert(byte[] pfxCert) Set certificate in binary type- Parameters:
pfxCert-
-
toJson
Method convert object to string in json format- Returns:
- string in json format
-