if (DER_UTCTimeToTime(stime, value) != SECSuccess)
if (CERT_DecodeTimeChoice(stime, value) != SECSuccess)
NSS_CMSSignerInfo_GetSigningTime(NSSCMSSignerInfo *sinfo, PRTime *stime){    NSSCMSAttribute *attr;    SECItem *value;    if (sinfo == NULL)	return SECFailure;    if (sinfo->signingTime != 0) {	*stime = sinfo->signingTime;	/* cached copy */	return SECSuccess;    }    attr = NSS_CMSAttributeArray_FindAttrByOidTag(sinfo->authAttr, SEC_OID_PKCS9_SIGNING_TIME, PR_TRUE);    /* XXXX multi-valued attributes NIH */    if (attr == NULL || (value = NSS_CMSAttribute_GetValue(attr)) == NULL)	return SECFailure;    if (DER_UTCTimeToTime(stime, value) != SECSuccess)	return SECFailure;    sinfo->signingTime = *stime;	/* make cached copy */    return SECSuccess;}