Index: lib/certhigh/ocspi.h |
=================================================================== |
--- a/lib/certhigh/ocspi.h |
+++ b/lib/certhigh/ocspi.h |
@@ -30,23 +30,25 @@ ocsp_GetSignerCertificate(CERTCertDBHand |
SECStatus |
ocsp_VerifyResponseSignature(CERTCertificate *signerCert, |
ocspSignature *signature, |
SECItem *tbsResponseDataDER, |
void *pwArg); |
CERTOCSPRequest * |
-cert_CreateSingleCertOCSPRequest(CERTOCSPCertID *certID, |
- CERTCertificate *singleCert, |
+cert_CreateSingleCertOCSPRequest(CERTOCSPCertID *certID, |
+ CERTCertificate *singleCert, |
PRTime time, |
PRBool addServiceLocator, |
CERTCertificate *signerCert); |
-typedef enum { ocspMissing, ocspFresh, ocspStale } OCSPFreshness; |
+typedef enum { ocspMissing, |
+ ocspFresh, |
+ ocspStale } OCSPFreshness; |
SECStatus |
ocsp_GetCachedOCSPResponseStatus(CERTOCSPCertID *certID, |
PRTime time, |
PRBool ignoreOcspFailureMode, |
SECStatus *rvOcsp, |
SECErrorCodes *missingResponseError, |
OCSPFreshness *freshness); |
@@ -79,23 +81,23 @@ ocsp_GetCachedOCSPResponseStatus(CERTOCS |
* This optional out parameter will contain the result |
* of the cache update operation (if requested). |
* RETURN: |
* The return value is not influenced by the cache operation, |
* it matches the documentation for CERT_CheckOCSPStatus |
*/ |
SECStatus |
-cert_ProcessOCSPResponse(CERTCertDBHandle *handle, |
- CERTOCSPResponse *response, |
- CERTOCSPCertID *certID, |
- CERTCertificate *signerCert, |
- PRTime time, |
- PRBool *certIDWasConsumed, |
- SECStatus *cacheUpdateStatus); |
+cert_ProcessOCSPResponse(CERTCertDBHandle *handle, |
+ CERTOCSPResponse *response, |
+ CERTOCSPCertID *certID, |
+ CERTCertificate *signerCert, |
+ PRTime time, |
+ PRBool *certIDWasConsumed, |
+ SECStatus *cacheUpdateStatus); |
/* |
* FUNCTION: cert_RememberOCSPProcessingFailure |
* If an application notices a failure during OCSP processing, |
* it should finally call this function. The failure will be recorded |
* in the OCSP cache in order to avoid repetitive failures. |
* INPUTS: |
* CERTOCSPCertID *certID |
@@ -104,17 +106,17 @@ cert_ProcessOCSPResponse(CERTCertDBHandl |
* Out parameter, if set to true, ownership of parameter certID was |
* transferred to the OCSP cache. |
* RETURN: |
* Status of the cache update operation. |
*/ |
SECStatus |
cert_RememberOCSPProcessingFailure(CERTOCSPCertID *certID, |
- PRBool *certIDWasConsumed); |
+ PRBool *certIDWasConsumed); |
/* |
* FUNCTION: ocsp_GetResponderLocation |
* Check ocspx context for user-designated responder URI first. If not |
* found, checks cert AIA extension. |
* INPUTS: |
* CERTCertDBHandle *handle |
* certificate DB of the cert that is being checked |
@@ -141,24 +143,24 @@ ocsp_GetResponderLocation(CERTCertDBHand |
*/ |
PRBool |
ocsp_FetchingFailureIsVerificationFailure(void); |
size_t |
ocsp_UrlEncodeBase64Buf(const char *base64Buf, char *outputBuf); |
SECStatus |
-ocsp_GetVerifiedSingleResponseForCertID(CERTCertDBHandle *handle, |
- CERTOCSPResponse *response, |
- CERTOCSPCertID *certID, |
- CERTCertificate *signerCert, |
- PRTime time, |
+ocsp_GetVerifiedSingleResponseForCertID(CERTCertDBHandle *handle, |
+ CERTOCSPResponse *response, |
+ CERTOCSPCertID *certID, |
+ CERTCertificate *signerCert, |
+ PRTime time, |
CERTOCSPSingleResponse **pSingleResponse); |
SECStatus |
ocsp_CertHasGoodStatus(ocspCertStatus *status, PRTime time); |
void |
ocsp_CacheSingleResponse(CERTOCSPCertID *certID, |
- CERTOCSPSingleResponse *single, |
- PRBool *certIDWasConsumed); |
+ CERTOCSPSingleResponse *single, |
+ PRBool *certIDWasConsumed); |
#endif /* _OCSPI_H_ */ |