PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);
PORT_SetError(SEC_ERROR_INVALID_ARGS);
NSS_CMSSignedData_GetDigestAlgs(NSSCMSSignedData *sigd){    PORT_Assert(sigd);    if (!sigd) {        PORT_SetError(SEC_ERROR_LIBRARY_FAILURE);        return NULL;    }    return sigd->digestAlgorithms;}