Digital Signature Format

When you receive a webhook notification from
Cybersource
, it contains a
v-c-signature
header in this format:
-c-signature: t=1617830804768;keyId=bf44c857-b182-bb05-e053-34b8d30a7a72;sig=CzHY47nzJgCSD/BREtSIb+9l/=";
The header contains these three parameters concatenated with semicolons:
  • t
    : The timestamp at which the digital signature key was created.
  • keyId
    : The digital signature key ID.
  • sig
    : The digital signature. It is encrypted using the HMAC-SHA256 algorithm.

How to Create Your Digital Signature

Create your own digital signature using the above format. Use the key values you received from creating a digital signature key in your digital signature. When you request the creation of a digital signature key, the response contains a
digital signature key
and a
key ID
. The digital signature key is in the
keyInformation.keyinformation.key
field and the key ID is in the
keyInformation.keyinformation.keyId
field.