nn::boss::NsaList::GetDigest Member Functionnn::Result GetDigest( u8 * pDigestBuf, size_t digestBufSize );
| Name | Description | |
|---|---|---|
out |
pDigestBuf |
The buffer storing NSA digest information. |
| in | digestBufSize |
The size of pDigestBuf. |
Result values listed below.| Value | Description |
|---|---|
Result::IsSuccess |
Retrieval successful. |
ResultNSAListInvalidFormat |
The file format is invalid. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Gets the digest value included in an NSA list.
Gets the digest value included in the NSA list (in the CheckValidity function, compares this with the calculated digest value). One use of this is to check whether the NSA list has been updated. When NSA updates on the server are infrequent, this can be used to quickly check whether the NSA list has been updated, by recording the digest value of the downloaded NSA list obtained by this function, and then the next time the NSA list is downloaded, first only comparing the digest values.
CONFIDENTIAL