Source code

Revision control

Copy as Markdown

Other Tools

(mozilla-projects-nss-reference-fc-digestkey)=
# FC_DigestKey
## Name
:::{container}
FC_DigestKey - add the digest of a key to a multi-part digest operation.
:::
## Syntax
:::{container}
```{code}
CK_RV FC_DigestKey(
CK_SESSION_HANDLE hSession,
CK_OBJECT_HANDLE hKey
);
```
:::
## Parameters
:::{container}
`hSession`
: [in] session handle.
`hKey`
: [in] handle of the key to be digested.
:::
## Description
:::{container}
`FC_DigestKey` continues a multi-part digest operation by digesting the value of a secret key.
The digest for the entire message is returned by a call to
{ref}`mozilla-projects-nss-reference-fc-digestfinal`.
A user must log into the token (to assume the NSS User role) before calling `FC_DigestKey`.
:::
## Return value
## Examples
## See also
:::{container}
- {ref}`mozilla-projects-nss-reference-fc-digestinit`,
{ref}`mozilla-projects-nss-reference-fc-digestfinal`, [NSC_DigestKey](/en-US/NSC_DigestKey)
:::