Apple Federal Smart Card Package User Manual

Page 18

Advertising
background image

18

FSCP Installation and Setup Guide

Searching Using a Combination of Data

This example searches using both demographic data and certificate data.

<dict>

<key>values</key>

<array>

<dict>

<key>type</key>

<string>DemographicData</string>

<key>tag</key>

<string>23</string>

<key>value</key>

<string>0123456789</string>

</dict>

<dict>

<key>type</key>

<string>CertificateData</string>

<key>certSelect</key>

<string>1</string>

<key>tag</key>

<string>Organizational Unit:0</string>

<key>value</key>

<string>placeholder</string>

</dict>

</array>

<key>formatString</key>

<string>$1@$2.mil</string>

<key>userLookupKey</key>

<string>dsAttrTypeNative:MyUserIdentifier</string>

</dict>

The first item in the

values

array specifies using the EDI Identifier demographic data from

the card. The second item in the array specifies looking up data in the signing certificate for
the Organizational Unit, which is “USN”.

The

formatString

combines the two items separated by the “@” symbol and followed by

the string literal “.mil”. The resulting string might look similar to this:

[email protected]

The

userLookupKey

specifies searching for this value in the directory service key named

“MyUserIdentifier.”

Sphinx Page 18 Tuesday, January 14, 2003 12:53 PM

Advertising