Authorize PKI Transaction Signing

Authorize Transaction Signing function that verify user’s username with PKI certificate together with transactions.

Below is the URL to access the API functions:

POST /v2/CentagateWS/webresources/auth/authPkiPkcs7

Parameters

ParametersOccurenceDescriptions
usernameRequiredRegistered Username in CENTAGATE Cloud
signatureRequiredThe PKCS#7 attached signature encoded in Base64
algorithmRequiredThe algorithm used during the signing. Valid values are: - 0: SHA-1 - 1: SHA-256 - 2: SHA-384 - 3: SHA-512
plainTextRequiredThe plain text of the signed string encoded in Base64
authTokenOptionalThe previous generated authToken.
integrationKeyRequiredIntegration Key Of The App That The User Wants To Authenticate
unixTimestampRequiredCurrent Time In Unixtimestamp
supportFidoOptionalFIDO Authentication Option, Pass True To Enable And False To Disable. Or Leave It Empty
ipAddressOptionalIP Address From Where The Authentication Request Is Originated.
userAgentOptionalPlatform Information Of Authentication Request is made of.
browserFpOptionalBrowser Fingerprint
transactionValueRequiredThe transaction values.
isTransactionRequiredThis value should be “1”.
HMACRequiredHmac Generated From Combination (username + signature + algorithm + plainText + authToken + userAgent + integrationKey + supportFido + browserFp + unixTimeStamp + ipAddress) Using Secretkey (Can Be Obtained From The App Page) As The Key

Sample Code

As in below there are some examples of source code of access the API functions: