Class TccParams
java.lang.Object
com.regula.documentreader.api.params.rfid.TccParams
Class contains information about TCC parameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
void
setPfxCert
(byte[] pfxCert) Set certificate in binary typevoid
setPfxCertUrl
(String pfxCertUrl) Set URL where the certificate of work with the service is storedvoid
setPfxPassPhrase
(String pfxPassPhrase) Set certificate passwordvoid
setServiceUrlPA
(String serviceUrlPA) void
setServiceUrlTA
(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
-