Oracle Solaris Security for Developers Guide

SCF Session Interfaces

The following functions are used for SCF sessions.

SCF_Session_getSession(3SMARTCARD)

Establishes a session with a system's smart card framework. After a session has been opened, the session can be used with SCF_Session_getTerminal(3SMARTCARD) to access a smart card terminal.

SCF_Session_close(3SMARTCARD)

Releases the resources that were allocated when the session was opened. Also, closes any terminals or cards that are associated with that session.

SCF_Session_getInfo(3SMARTCARD)

Obtains information about a session.

SCF_Session_freeInfo(3SMARTCARD)

Deallocates storage that is returned from SCF_Session_getInfo(3SMARTCARD).

SCF_Session_getTerminal(3SMARTCARD)

Establishes a context with a specific smart card terminal in the session. Terminal objects are used for detecting card movement, that is, insertion or removal. Terminal objects are also used to create card objects for accessing a specific card.