injectData
Performs injection of data into the relevant application using secure channel, PIN, or potentially other authentication mechanism supported by ActivID CMS. This external operation is intended to service all types of data. The parameters convey typing information that to determines how they external operation is to be used by ActivID CMS in the context of a specific application and security module.
Type:
securitymodule
Script:
injectData

The following table lists and describes the input parameter for injectData.
ID |
Type |
Encoding Format or Values |
Description |
---|---|---|---|
See Data Types Table. |
See Data Types Table. |
See Data Types Table. |
A piece of data that indicates a type that can be used to determine where the data is to be personalized in an application. |

There are no output parameters for injectData.

The supported types and encoding are listed and described in the following data types table.
ID |
Type |
Encoding Format or Values |
Description |
---|---|---|---|
PKI Data Types |
|||
privateKey |
pki.privateKey |
CRMF.EncryptedValue |
A private key of a PKI key pair where the private key is doubly-wrapped by PKI using a CRMF EncryptedValue ASN.1 encoding of the CBC symmetric session key wrapped private key and public key wrapped symmetric session key. |
certificate |
pki.certificate |
1.2.840.113549.1.9.22 |
A PKI certificate. For example, an encoding of 1.2.840.113549.1.9.22 indicates X.509 as a base64 string. |
Generic Container Tag ID |
byte[] |
base64Binary |
Opaque data that is natively an array of bytes. |
Generic Container Tag ID |
byte[] |
CRMF.EncryptedValue |
A CBC symmetric session key wrapped opaque byte array and public key wrapped symmetric session key. This value will be decrypted and decoded by ActivID CMS before injection. |
Generic Container Tag ID |
String |
NONE |
Opaque data that is natively a character string. |
Generic Container Tag ID |
String |
CRMF.EncryptedValue |
A CBC symmetric session key wrapped opaque string and public key wrapped symmetric session key. This value will be decrypted by ActivID CMS before injection. |