Oracle Solaris Security for Developers Guide

SCF Session Interfaces

The following functions are used for SCF sessions.


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.


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


Obtains information about a session.


Deallocates storage that is returned from SCF_Session_getInfo(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.