# RSSP API Functions

To facilitate smooth **integration** and extend functionality, the RSSP API serves as a gateway to ThrivoSign's remote signing capabilities. Offering developers comprehensive access, this API enables seamless incorporation of remote signing features into applications, empowering businesses to optimize their digital signing processes effortlessly.

<table><thead><tr><th width="187">Function</th><th width="315">Description</th><th>Demo</th></tr></thead><tbody><tr><td></td><td>RSSP supports two types of login: <br>- <strong>Sign in with TLS1.2 and Basic Authentication</strong><br>- <strong>Sign in with TLS1.2 and Digest Authentication</strong></td><td></td></tr><tr><td>Basic Authentication</td><td>This function will obtain an (access token or refresh tokens) for service authorization from the remote signing service using HTTP Basic Authentication. In this function, the client should provide the credentials provided by the RSSP for the first authentication factor that will be used for subsequent functions. The RSSP checks the client's credentials and returns an access token for the client to use for subsequent API requests in the same session.<br><strong>Sign in with TLS1.2 and Basic Authentication</strong>: for unwanted RP end user management. The RSSP will authenticate the end user with Basic credentials (username and password) called the first valid factor.</td><td><p>To access the testing account credentials, click <a href="../../../../demo/t-api-demo-rssp-api">here</a>. </p><p></p><p>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/activation/login.jsp">Try!</a></p><p></p></td></tr><tr><td>Digest Authentication</td><td>This function will obtain an (access token or refresh tokens) for service authorization from the remote signing service using HTTP Basic Authentication. In this function, the client should provide the credentials provided by the RSSP for the first authentication factor that will be used for subsequent functions. The RSSP checks the client's credentials and returns an access token for the client to use for subsequent API requests in the same session.<br><strong>Sign in with TLS1.2 and Digest Authentication</strong>: for unwanted RP end user management. The RSSP will authenticate the end user with Basic credentials (username and password) called the first valid factor with Digest of “secret_key”.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/authentication/loginrp.jsp">Try!</a></td></tr><tr><td>Register New Users</td><td>This function registers new users with their email and mobile number.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/registration/users.jsp">Try!</a></td></tr><tr><td>Register New Company Users</td><td>This function to register a new company user for digital signature, user will need an authorization token, specify their role (admin/signer), and provide the company name. Using the authorization token, the new user will be registered under the company account with the assigned role.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/registration/companyUsers.jsp">Try!</a></td></tr><tr><td>Confirmation Activation</td><td>This function to confirm user account activation with valid email</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/registration/registrationconfirm.jsp">Try!</a></td></tr><tr><td>Account Change Passphrase</td><td>This function to change user passphrase</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/registration/changePassphrase.jsp">Try!</a></td></tr><tr><td>Get Registration Account Status</td><td>This function to get the user registration account status</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/registration/registrationGetStatus.jsp">Try!</a></td></tr><tr><td>Retrieve SIC Activation Code</td><td>This function request SSA send activation code into end-user through email or sms.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/activation/retrieveActivationCode.jsp">Try!</a></td></tr><tr><td>Activate Initialize</td><td>This function to init activation, the SIC send activation code to SSA server.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/activation/initialize.jsp">Try!</a></td></tr><tr><td>Send Device</td><td>SIC Client must send the activation token that received from activate/initialize.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/activation/sendDevice.jsp">Try!</a></td></tr><tr><td>SIC Activate Status</td><td>This feature enables the user to obtain the status of the Signer Interaction Component (SIC).</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/activation/getStatus.jsp">Try!</a></td></tr><tr><td>Credential List</td><td>The function also returns a list of credentials associated with a user identifier. Owner may have one or multiple credentials hosted by a RSSP. It returns the basic information of digital certificates that belong to an owner. It does not include BASE64 digital certificate encryption. The information returned will be sufficient for the client to identify the digital certificate.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/credential/credentialList.jsp">Try!</a></td></tr><tr><td>Credential Info</td><td>This function retrieves the credential and return the main identity information and the public key certificate or the certificate chain associated with the client. This function also returns an optional information about the authorization mechanism</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/credential/credentialInfo.jsp">Try!</a></td></tr><tr><td>Credential Activate Request</td><td>This function to activates the certificate.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/credential/credentialActivateRequest.jsp">Try!</a></td></tr><tr><td>Credential Activate Response</td><td>This function sends a request to the RSSP to authorize the access to the credential for remote signing, according to the authorization mechanisms associated to it.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/credential/credentialActivateResponse.jsp">Try!</a></td></tr><tr><td>Credential Activate Cancel</td><td>This function cancels the credential activation request. </td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/requests/requestsCancel.jsp">Try!</a></td></tr><tr><td>Request List</td><td>This function retrieves the list of request waiting confirm from user.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/requests/requestslist.jsp">Try!</a></td></tr><tr><td>Request Info</td><td>This function gets the information of request waiting confirm from user.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/requests/requestsInfo.jsp">Try!</a></td></tr><tr><td>Request Confirm</td><td>Do an authorization for relying party which initialize request. SIC must use the private key of KAK to sign on authData/challenge with the algorithm specified in requests/info.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/requests/requestsConfirm.jsp">Try!</a></td></tr><tr><td>Request Cancel</td><td>This function cancels the transaction</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/requests/requestsCancel.jsp">Try!</a></td></tr><tr><td>Sign Hash File</td><td>Calculate the remote digital signature of one or more hash values provided at the input. This function needs credentials in the form of Signature Activation Data (SAD). The first signing application passes into this function SAD data derived from credential/authorize.</td><td>Click here to test the function <a href="https://rss.thrivosign.com/devguiderss/sign/signHashFileCSP.jsp">Try!</a></td></tr></tbody></table>
