commitCredentialTransaction

Copy
Credential[] commitCredentialTransaction(TransactionId txId)

Commits a credential transaction to complete the creation or update of the proto-Credential/Credential associated with a specified transaction. The commitCredentialTransaction() must return a Credential object for each credential.

This Credential object must contain all of the CredentialElements that are required for the provider to uniquely identify and manage the credential during subsequent calls to:

The CredentialElements of a given Credential may be modified by the Provider during calls to updateCredential() or performProcess(). The Credential Provider must also set the ID of the Credential Profile for each Credential, along with a string description that is displayed in the ActivID CMS graphical user interface (GUI).

The Provider must not modify the Credential ID of a Credential. It is the responsibility of ActivID CMS to create and manage the Credential ID for each Credential. All PKI credential providers must return Credentials that, at a minimum, contain a CredentialElement with the complete PKI certificate.

Note: Optionally, PKI Credential Providers may return additional CredentialElements. Returns a list of one or more new Credentials depending upon how the transaction was initiated.

A CredentialElement must meet the following prerequisites:

  • Be named com.activcard.provider.cred.pki.certificate

  • Possess type 1.2.840.113549.1.9.22 (meaning, an X.509 certificate)

  • Contain an X.509 certificate represented as a base64 encoded string

commitCredentialTransaction Parameter

Parameter

Description

txId

The transaction identifier within which the Credential was created or updated.