skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: API FunctionsAPI Functions
go to previous page: CSSM_ChangeKeyAclCSSM_ChangeKeyAcl
go to next page: CSSM_CSP_ChangeLoginAclCSSM_CSP_ChangeLoginAcl
end of book navigation links


CSSM_ChangeKeyOwner
Library
Description
Errors
 Parameters
Return Value
See Also

NAME

CSSM_ChangeKeyOwner - Change the owner of a key (CDSA)

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI CSSM_ChangeKeyOwner(CSSM_CSP_HANDLE CSPHandle,const CSSM_ACCESS_CREDENTIALS *AccessCred,const CSSM_KEY *Key,const CSSM_ACL_OWNER_PROTOTYPE *NewOwner)


return to top LIBRARY  

Common Security Services Manager library (cdsa$incssm300_shr.exe)


return to top PARAMETERS  

CSPHandle (input)
 The module handle that identifies the CryptographicService Provider to perform this operation.
AccessCred (input)
 A pointer to the set of one or more credentialsused to prove the caller is the current Oowner of the key. Requiredcredentials can include zero or more certificates, zero or morecaller names, and one or more samples. If certificates and/or callernames are provided as input, these must be provided as immediatevalues in this structure. The samples can be provided as immediatevalues or can be obtained through a callback function included inthe AccessCred structure.
Key (input) A pointer to the target key whose associated Owneris changed.
NewOwner (Input)
 A CSSM_ACL_OWNER_PROTOTYPE defining the new ownerof the key.


return to top DESCRIPTION  

This function takes a CSSM_ACL_OWNER_PROTOTYPE defining thenew owner of the key.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.

None specific to this call.


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: CSSM_GetKeyOwner


go to previous page: CSSM_ChangeKeyAclCSSM_ChangeKeyAcl
go to next page: CSSM_CSP_ChangeLoginAclCSSM_CSP_ChangeLoginAcl