GetData: Enumeration types

This page documents the data types available in GetData for system enumerations (enum values).

\{internal.enum.%%}

\{internal.enum.%%}

This will return enumerator names of the system. An identifier of the enumerator required for loading these data.

\{internal.enum.activeusertype}

Returns a type of method that is used for log on. Available types are:

LoggedInCertificate (1)

The user is logged in with an X509 certificate

LoggedInOneTimePassword (2)

The user is logged in with OTP.

PreAuthentication (100)

Logon is in progress.

\{internal.enum.auditloglevel}

Returns a status level of an audit log item. Available types are:

Completed (1)

When an operation is completed or all task actions has been fully executed.

Warning (2)

When an operation is completed with warnings.

Failed (3)

When a task returns an error.

Cancelled (4)

When a task is cancelled.

Released (5)

When a task is released.

TimedOut (6)

When a task is timed out (expired).

Initialized (7)

When a task is initialized (created).

Executed (8)

When a task is executed.

ExecutedFunction (9)

When a function of a task is executed.

Rejected (10)

When an officer rejects the current task.

\{internal.enum.auditlogtype}

Returns a type of an audit log item. If the identifier is less than 500000, the name of the task type will be returned. If the identifier is 500000 or larger, the static name type will be returned. Available static types are:

Login (500000)

The audit log type indicates a static login operation.

Logout (500001)

The audit log type indicates a static logout operation.

GenerateReport (500010)

The audit log type indicates a static generation of a report by a user.

DeleteOneTimePassword (500011)

The audit log type indicates a static deletion of an OTP by a task of the TimerService Monitor-module.

RevokeToken (500012)

The audit log type indicates a static revocation of a token by a task of the TimerService Monitor-module or the OrderReceiver service (usually used externally by token manufacturer).

TerminiateExpiredUser (500013)

The audit log type indicates a static termination of an expired user by a task of the TimerService Monitor-module.

CreateToken (500014)

The audit log type indicates a static creation of a token by the OrderReceiver service (usually used externally by token manufacturer).

RevokeCertificate (500015)

The audit log type indicates a static revocation of a certificate by the OrderReceiver service (usually used externally by token manufacturer).

\{internal.enum.certificatereferencetype}

Returns a type of the reference of a certificate. Available types are:

Undefined (0)

Unknown or not specified.

External (1)

A certificate has been imported manually from external part.

ManufacturerDatabase (2)

A certificate has automatically been published from a local certificate authority (CA) database.

User (10)

A certificate has been enrolled by the portal to a user.

EndEntity (20)

A certificate has been enrolled by the portal to an end entity (e.g. a server).

\{internal.enum.certificatestatus}

Returns a common status of a certificate. Available types are:

Unknown (0)

The status of a certificate that is unknown.

Valid (1)

The status of a certificate that is valid.

Expired (2)

The status of a certificate that is expired.

Revoked (3)

The status of a certificate that is revoked.

NotApproved (4)

The status of a certificate is not approved due to customized regulations.

\{internal.enum.certificatestatusreason}

Returns a technical reason of certificate revocation according to RFC3280 and RFC5280. Available types are:

  • NotRevoked (-1)

  • Unspecified (0)

  • KeyCompromise (1)

  • CACompromise(2)

  • AffiliationChanged (3)

  • Superseded (4)

  • CessationOfOperation (5)

  • CertificateHold (6)

  • PrivilegeWithdrawn (9)

  • AaCompromise (10)

\{internal.enum.contactlessservicetype}

Returns a type/manufacturer of a contactless service item. Available types are:

PaperCut (1)
\{internal.enum.datetimetype}

Returns a type of a date/time specification. Available types are:

  • Years (1)

  • Months (2)

  • Weeks (3)

  • Days (4)

  • Hours (5)

  • Minutes (6)

  • Seconds (7)

\{internal.enum.employmenttype}

Returns a name of an employment type. Available types are:

  • Unspecified (0)

  • PermanentContract (1)

  • Termination (2)

  • Consultant (3)

  • ConsultantTermination (4)

  • Other (5)

\{internal.enum.endentitystatus}

Returns a common status of an end entity. Available types are:

Undefined (0)

The status of an end entity that is unknown / not specified.

Unused (1)

The status of an end entity that is created but never used.

Active (2)

The status of an end entity that is created and active.

Inactive (3)

The status of an end entity that is inactive.

Expired (4)

The status of an end entity that has been expired.

Revoked (5)

The status of an end entity that has been revoked.

\{internal.enum.endentitytype}

Returns a type of an end entity. Available types are:

Undefined (0)

The type of an end entity that is unknown / not specified.

Computer (10)

The type of an end entity that is defined as a computer.

Service (20)

The type of an end entity that is defined as a service.

\{internal.enum.eyecolor}

Returns a color of eyes of a person for physical identification that is mostly is used when ordering personalized tokens from manufacturer. Available types are:

  • Undefined (0)

  • Blue (1)

  • DarkBrown (2)

  • DifferentColored (3)

  • Gray (4)

  • Green (5)

  • LightBrown (6)

  • Marbled (7)

  • Yellowish (8)

\{internal.enum.haircolor}

Returns a color (or type) of hair of a person for physical identification that mostly is used when ordering personalized tokens from manufacturer. Available types are:

  • Undefined (0)

  • Bald (1)

  • MediumBlond (2)

  • Black (3)

  • Brown (4)

  • DarkBlond (5)

  • Gray (6)

  • Grizzled (7)

  • LightBlond (8)

  • Red (9)

  • White (10)

\{internal.enum.identificationtype}

Returns a type of identification of a person for physical identification that mostly is used when ordering personalized tokens from manufacturer. Available types are:

  • Undefined (0)

  • DrivingLicense (1)

  • NationalIdentityCard (2)

  • Passport (3)

  • SwedishTaxAgencyIdentityCard (4)

  • SISIdentityCard (5)

  • EnterpriseServiceCard (6)

  • BusinessCard (7)

  • Document (8)

  • ForeignIdentityDoc (9)

  • Known (10)

\{internal.enum.officestatus}

Returns a status of an office. Available types are:

  • Undefined (0)

  • Active (1)

  • Inactive (2)

\{internal.enum.orderstatus}

Returns a common status of an order against token manufacturer. Available types are:

Undefined (0)

Status of an order that is unknown / not specified.

Unsigned (5)

Status of an order that has been created but is not digitally signed.

ReadyToBeSent (10)

Status of an order that has been created, digitally signed and is ready to be sent to manufacturer.

ReadyToBeResent (90)

Status of an order that has been created, digitally signed and has failed to be sent and is ready to be sent again.

Sent (20)

Status of an order that has been sent successfully.

Disaster (100)

Status of an order that contains errors.

OrderReceived (510)

Status of an order that has been received by the manufacturer.

InProduction (520)

Status of an order that is in production by the manufacturer.

TokenPrinted (521)

Status of an order that is in production by the manufacturer with a specified process.

CertificateRetrieved (522)

Status of an order that is in production by the manufacturer with a specified process.

TokenReady (523)

Status of an order that is in production by the manufacturer with a specified process.

Delivery (530)

Status of an order that is in end state of the production by the manufacturer.

TokenSentWaitForPin (531)

Status of an order that indicates that the order has been shipped by the manufacturer and waits for PIN-letter.

Delivered (540)

Status of an order that indicates that the order has been shipped from the manufacturer.

Blocked (550)

Status of an order that indicates that the order has been blocked by the manufacturer.

TemporaryFailed (610)

Status of an order that indicates that the order has been temporary failed by the manufacturer.

Unknown (999)

Status of an order that indicates that the order has an unknown state by the manufacturer.

\{internal.enum.originservicetype}

Returns a type of an origin service of an object. Available types are:

Undefined (0)

The type is unknown or not specified.

Internal (1)

The type indicates the the object has its origin from the local database of the portal.

MSAD (2)

The type indicates that the object has its origin from Microsoft Active Directory.

MSADLDS (4)

The type indicates that the object has its origin from Microsoft Active Directory Lightweight Directory Services.

SwedishTaxAgencyNavet (5)

The type indicates that the object has its origin from Navet by the Swedish Tax Agency.

SwedishTaxAgencySPAR (8)

The type indicates that the object has its origin from SPAR by the Swedish Tax Agency.

CustomizedSearchService (9)

The type indicates that the object has its origin from the dedicated customized search service.

MSEntraID (10)

The type indicates that the object has its origin from Microsoft Entra ID (formerly Microsoft Azure Active Directory).

\{internal.enum.taskstatus}

Returns a common status of a task. Available types are:

Undefined (0)

The type indicates that a task has an unknown / undefined status.

Ready (10)

The type indicates that a task (or task action) is created and ready for initialization.

Initialized (20)

The type indicates that a task is initialized and ready for processing. This status is usually used for sequenced processing against audit log.

Processing (30)

The type indicates that a task (or task action) is under processing by user or service.

Delegated (31)

The type indicates that a task is delegated to another user or service.

WaitForExternalProcess (40)

The type indicates that a task (or task action) is waiting for an external service of process.

Completed (50)

The type indicates that a task (or task action) is completed.

Skipped (51)

The type indicates that a task action has been skipped.

Cancelled (60)

The type indicates that a task is cancelled by user or service.

Failed (70)

The type indicates that a task (or task action) has failed and has to be re-created. This status is usually used for sequenced processing against audit log.

Expired (80)

The type indicates that a task has been expired due to validity or idle. However, the task can never be expired if current status is WaitForExternalProcess.

Rejected (90)

The type indicates that a task has been rejected by a user and therefore is the task interupted and deleted.

\{internal.enum.tokenstatus}

Returns a common status of a token. Available types are:

Undefined (0)
Status of a token that is unknown / not specified.
Unused (1)

Status of a token that indicates that the token is registered in the system but is not in use.

Active (2)

Status of a token that indicates that the token is registered in the system and has a relation to a user and certificate which means that the token is enrolled to a user.

WaitForExternalObject (3)

Status of a token that indicates that the token activation is in progress. This is usual when the token is created by a token manufacturer.

WaitForDistribution (4)

Status of a token that indicates that the token is active but waits to be distributet to a user, then the status will be set to active.

Revoked (5)

Status of a token that indicates that the token has been blocked. However, some tokens can be reactivated (e.g. smart cards).

Retired (6)

Status of a token that indicates that the token has been blocked and can not be reactivated again. Expired (7) Status of a token that indicates that the token has been expired.

\{internal.enum.tokenstatusadditional}

Returns an additional status of a token, usually used as a reason when a status is set to Revoked or Retired. Available types are:

Undefined (0)

Additional reason status of a token specified as unknown or not specified.

Other (1)

Additional reason status of a token specified as unknown or other reason.

Returned (2)

Additional reason status of a token that has been blocked but returned to officer to distribute the token to another user (usually smart cards).

Broken (3)

Additional reason status of a token that has been broken.

Lost (4)

Additional reason status of a token that has been lost.

Stolen (5)

Additional reason status of a token that has been stolen.

KeyCompromised (6)

Additional reason status of a token that has been compromised.

DeleteToken (7)

Additional reason status of a token that indicates that the token has been removed from the system.

BrokenChip (8)

Additional reason status of a token where the chip of the token has been broken.

BrokenContactless (9)

Additional reason status of a token where the contactless chip of the token has been broken.

BrokenPhysical (10)

Additional reason status of a token where the token has invalid print or other physical issues.

\{internal.enum.tokentype}

Returns a generic type specification of a token. Available types are:

Undefined (0)

The type of a token is unknown / not specified.

SmartCard (100)

The type of a token specified as a smart card.

KeyToken (200)

The type of a token specified as a key token like USBdongles, YubiKey etc.

VirtualToken (300)

The type of a token specified as a virtual token like SoftToken, TPM (Trusted Platform Module) and other nonhardware tokens.

MobileToken (400)

The type of a token specified as a generic mobile token for mobile devices.

FileToken (1000)

The type of a token specified as a file based token like PKCS#12/PFX.

NonToken (2000)

The type of a token specified as a non-PKI token but is specified as an ordinary token without PKI specifications.

\{internal.enum.tokensubtype}

Returns a subordinated type for a token depending on the manufacturer of the token. Available types are:

Undefined (0)

The subordinated type of a token is specified as unknown / not specified mostly for tokens with the type specified as SmartCard.

YubiKey (201)

The subordinated type of a token with the type specified as KeyToken, manufactured by Yubico.

eToken (202)

The subordinated type of a token with the type specified as KeyToken, manufactured by Thales/SafeNet.

ePass (203)

The subordinated type of a token with the type specified as KeyToken, manufactured by Feitian.

SoftToken (301)

The subordinated type of a token with the type specified as VirtualToken as a file.

TPM (302)

The subordinated type of a token with the type specified as VirtualToken as TPM (Trusted Platform Module).

Access (401)

The subordinated type of a token with the type specified as MobileToken as Access (Net iD Access mobile token).

PKCS12 (1001)

The subordinated type of a token with the type specified as FileToken as PKCS#12/PFX.