jobs.js

Summary

No overview generated for 'jobs.js'


/*
 * Job descriptions
 */

var Jobs = [
	{
		Name: "SmartCard-HSM Personalization on JCOP 4",

		JCOP4Initializer: {
			Profile: new ByteString("2B0601040181C31F1005020B", HEX),
			Steps: [ "SETKST" ],
			Keys: "UTNONE",
			RequiredKID: [ 255 ]
		},

		PortalPersonalizer: {
			url: "https://www.pki-as-a-service.net/se/paas/subject/<id>",
//			dicaId: 1835,
			ccr: "sc-hsm-4-1-JCOP4-personalization"
		}
	},
	{
		Name: "SmartCard-HSM Applet Removal (JCOP4)",

		JCOP4Initializer: {
			Profile: new ByteString("2B0601040181C31F1005020C", HEX),
			Steps: [ "DELETEINSTANCEIFKMC", "SETKST" ],
			Keys: "UTNONE",
			RequiredKID: [ 2 ]
		}
	},
	{
		Name: "Personalization via SEMS",

		PortalPersonalizer2: {
			// The URL at which the device issuer subject is located
			url: "https://www.pki-as-a-service.net/se/paas/subject/<id>",

			// Select DICA explicitly, otherwise prompt the user
			// dicaId: 1835,

			// The hardware specifier. Used to locate the KST based on the data object KST@<hardware> located on the
			// DICA token
			hardware: "Default"

			// The optional KMC specifier. Used to locate the KMC. The first entry is used if none is defined
			// kmc: "Default"
		}
	},
	{
		Name: "Test",

		ShellPrinterControl: {
			feed: {
				cmd: [ "evocom", "-pEvolis Quantum2", "Sis;" ],
				ok: /^OK$/
			},
			eject: {
				cmd: [ "evocom", "-pEvolis Quantum2", "Se;" ],
				ok: /^OK$/
			},
			reject: {
				cmd: [ "evocom", "-pEvolis Quantum2", "Ser;" ],
				ok: /^OK$/
			}
		},

		TestAPDU: {
			apdu: "00A4040008A000000151000000"
		}
	},
]


Documentation generated by JSDoc on Thu Apr 3 11:32:15 2025