Update Specifications

Technical specifications

Endpoint of the rest service for updating data of the certificate

https://[DOMAIN]/BeRestServices/rest/tppservices/[API_ID]/updatecertificate

Input data

  • timeStamp - Date and time when the request is launched. To generate this value, the UTC (Coordinated Universal Time) standard in the yyyy-MM-dd HH: mm: ssZ format must be used.
  • oldCertificate - Old certificate data
    • b64Signature - Signature in Base64 encoded binary format. The signature algorithm must be SHA256withRSA and what is signed is the data used in the previous field encoded in UTF-8.
    • b64Certificate - Certificate in Base64 encoded binary format. Corresponds to the public part of the certificate used to perform the previous signature.
  • newCertificate - Data of the new certificate
    • b64Signature - Signature made with the new certificate
    • b64Certificate - Public part of the new certificate

Example of message sent:

{
	"timeStamp": "2019-05-24 14:17:29Z",
	"oldCertificate": {
		"b64Signature": "D2Vr3wLN4s … 1Y+rqLw8yh4==",
		"b64Certificate": "MIIJJzCCBw … KVQy1Kw”
	},
	"newCertificate": {
		"b64Signature": "HnMxD5s+0/LYYZb … gHxBqw==",
		"b64Certificate": "MIII8jCCBtqg … Lb69epfu81uX4=”
	}
}

Output data

  • update - Boolean. Indicates whether the certificate was updated (true) or not (false)
  • error - If the certificate was not updated, this field should indicate the reason.
Back