Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CSSM_SetContext(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

CDSA_intro(3)

CSSM_GetContext(3)

CSSM_SetContext(3)  —  Subroutines

NAME

CSSM_SetContext − Replace all context information (CDSA)

SYNOPSIS

# include <cdsa/cssm.h>

CSSM_RETURN CSSMAPI CSSM_SetContext
(CSSM_CC_HANDLE CCHandle,
const CSSM_CONTEXT ∗Context)

LIBRARY

Common Security Services Manager library (libcssm.so)

PARAMETERS

CCHandle (input)
The handle to the context.

Context (input)
The context data describing the service to replace the current service associated with context handle CCHandle.

DESCRIPTION

This function replaces all context information associated with an existing context specified by CCHandle. The contents of the basic context structure and all attributes included in that structure are replaced by the context structure and attribute values contained in the Context input parameter . 

RETURN VALUE

A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition. 

ERRORS

Errors are described in the CDSA technical standard.  See CDSA_intro(3). 

CSSMERR_CSSM_INVALID_ATTRIBUTE
CSSMERR_CSSM_INVALID_CONTEXT_HANDLE

SEE ALSO

Books

Intel CDSA Application Developer’s Guide (see CDSA_intro(3))

Reference Pages

Functions: CSSM_GetContext(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026