NSSSRemoveSecret
Removes the specified secret from SecretStore.
Syntax
#include <nssscl.h>
SS_EXTERN_LIBCALL(int) NWSSRemoveSecret
(
SSS_Context_T callerContext,
SS_OBJECT_DN_T *targetObject,
unisgned long ssFlags,
SS_SECRET_ID_T *secretID,
SS_EXT_T *ext
);
Parameters
- callerContext
- (IN) Specifies an optional structure that can be
initialized by calling NSSSGetServiceInformation prior
to use here. The flags field of the structure can take on the following
values to indicate the type of context used.NSSS_NCP_CTX_F—Directory
Service API context indicator flagNSSS_LDAP_CTX_F—LDAP
context indicator flag <reserved>
- targetObject
- (IN) Points to an optional RDN (relative distinguished
name or "short name") of the target object that contains the user's
secrets. You should have at least READ/WRITE privileges
over the target object.
- ssFlags
- (IN) Specifies a set of flags for initializing secrets.
- secretID
- (IN) Points to a unique secret identifier chosen
by the application that should be supplied to locate the application
secret values in the user's SecretStore to be removed.
- ext
- (OUT) If present, returns a set of applicable future
extensions for the secrets.
Remarks
The NSSSRemoveSecret call
removes an identified secret from the SecretStore for the user.
If the secret happens to be the last secret in the user's SecretStore
the SecretStore is removed completely.
NOTE:This function formerly was called NSSSRemoveSecretID.