Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1095)

Unified Diff: lib/libpkix/include/pkix_certsel.h

Issue 201830043: Bug 1118245 - Apply uniform style across NSS
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/libpkix/include/pkix.h ('k') | lib/libpkix/include/pkix_certstore.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/libpkix/include/pkix_certsel.h
===================================================================
old mode 100755
new mode 100644
--- a/lib/libpkix/include/pkix_certsel.h
+++ b/lib/libpkix/include/pkix_certsel.h
@@ -103,21 +103,18 @@ extern "C" {
*
* Multiple threads must be able to safely call this function without
* worrying about conflicts, even if they're operating on the same object.
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-typedef PKIX_Error *
-(*PKIX_CertSelector_MatchCallback)(
- PKIX_CertSelector *selector,
- PKIX_PL_Cert *cert,
- void *plContext);
+typedef PKIX_Error *(*PKIX_CertSelector_MatchCallback)(
+ PKIX_CertSelector *selector, PKIX_PL_Cert *cert, void *plContext);
/*
* FUNCTION: PKIX_CertSelector_Create
* DESCRIPTION:
*
* Creates a new CertSelector using the Object pointed to by
* "certSelectorContext" (if any) and stores it at "pSelector". As noted
* above, by default, the MatchCallback is set to point to the default
@@ -137,22 +134,20 @@ typedef PKIX_Error *
* Platform-specific context pointer.
* THREAD SAFETY:
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_CertSelector_Create(
- PKIX_CertSelector_MatchCallback callback,
- PKIX_PL_Object *certSelectorContext,
- PKIX_CertSelector **pSelector,
- void *plContext);
+PKIX_Error *PKIX_CertSelector_Create(PKIX_CertSelector_MatchCallback callback,
+ PKIX_PL_Object *certSelectorContext,
+ PKIX_CertSelector **pSelector,
+ void *plContext);
/*
* FUNCTION: PKIX_CertSelector_GetMatchCallback
* DESCRIPTION:
*
* Retrieves a pointer to "selector's" Match callback function and puts it in
* "pCallback".
*
@@ -166,21 +161,19 @@ PKIX_CertSelector_Create(
* Platform-specific context pointer.
* THREAD SAFETY:
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_CertSelector_GetMatchCallback(
- PKIX_CertSelector *selector,
- PKIX_CertSelector_MatchCallback *pCallback,
- void *plContext);
+PKIX_Error *PKIX_CertSelector_GetMatchCallback(
+ PKIX_CertSelector *selector, PKIX_CertSelector_MatchCallback *pCallback,
+ void *plContext);
/*
* FUNCTION: PKIX_CertSelector_GetCertSelectorContext
* DESCRIPTION:
*
* Retrieves a pointer to a PKIX_PL_Object representing the context (if any)
* of the CertSelector pointed to by "selector" and stores it at
* "pCertSelectorContext".
@@ -195,21 +188,19 @@ PKIX_CertSelector_GetMatchCallback(
* Platform-specific context pointer.
* THREAD SAFETY:
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_CertSelector_GetCertSelectorContext(
- PKIX_CertSelector *selector,
- PKIX_PL_Object **pCertSelectorContext,
- void *plContext);
+PKIX_Error *PKIX_CertSelector_GetCertSelectorContext(
+ PKIX_CertSelector *selector, PKIX_PL_Object **pCertSelectorContext,
+ void *plContext);
/*
* FUNCTION: PKIX_CertSelector_GetCommonCertSelectorParams
* DESCRIPTION:
*
* Retrieves a pointer to the ComCertSelParams object that represent the
* common parameters of the CertSelector pointed to by "selector" and stores
* it at "pCommonCertSelectorParams". If there are no common parameters
@@ -227,21 +218,19 @@ PKIX_CertSelector_GetCertSelectorContext
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_CertSelector_GetCommonCertSelectorParams(
- PKIX_CertSelector *selector,
- PKIX_ComCertSelParams **pCommonCertSelectorParams,
- void *plContext);
+PKIX_Error *PKIX_CertSelector_GetCommonCertSelectorParams(
+ PKIX_CertSelector *selector,
+ PKIX_ComCertSelParams **pCommonCertSelectorParams, void *plContext);
/*
* FUNCTION: PKIX_CertSelector_SetCommonCertSelectorParams
* DESCRIPTION:
*
* Sets the common parameters for the CertSelector pointed to by "selector"
* using the ComCertSelParams object pointed to by "commonCertSelectorParams".
*
@@ -256,21 +245,19 @@ PKIX_CertSelector_GetCommonCertSelectorP
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "selector"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_CertSelector_SetCommonCertSelectorParams(
- PKIX_CertSelector *selector,
- PKIX_ComCertSelParams *commonCertSelectorParams,
- void *plContext);
+PKIX_Error *PKIX_CertSelector_SetCommonCertSelectorParams(
+ PKIX_CertSelector *selector,
+ PKIX_ComCertSelParams *commonCertSelectorParams, void *plContext);
/* PKIX_ComCertSelParams
*
* PKIX_ComCertSelParams objects are X.509 parameters commonly used with
* CertSelectors, especially when enforcing constraints on a target
* certificate or determining which certificates to retrieve from a CertStore.
* ComCertSelParams objects are typically used with those CertSelectors that
* use the default implementation of MatchCallback, which understands how to
@@ -290,20 +277,18 @@ PKIX_CertSelector_SetCommonCertSelectorP
* Platform-specific context pointer.
* THREAD SAFETY:
* Thread Safe (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_Create(
- PKIX_ComCertSelParams **pParams,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_Create(PKIX_ComCertSelParams **pParams,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSubjAltNames
* DESCRIPTION:
*
* Retrieves a pointer to the List of GeneralNames (if any) representing the
* subject alternative names criterion that is set in the ComCertSelParams
* object pointed to by "params" and stores it at "pNames". In order to match
@@ -330,21 +315,20 @@ PKIX_ComCertSelParams_Create(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSubjAltNames(
- PKIX_ComCertSelParams *params,
- PKIX_List **pNames, /* list of PKIX_PL_GeneralName */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSubjAltNames(
+ PKIX_ComCertSelParams *params,
+ PKIX_List **pNames, /* list of PKIX_PL_GeneralName */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSubjAltNames
* DESCRIPTION:
*
* Sets the subject alternative names criterion of the ComCertSelParams object
* pointed to by "params" using a List of GeneralNames pointed to by "names".
* In order to match against this criterion, a certificate must contain all or
@@ -368,21 +352,20 @@ PKIX_ComCertSelParams_GetSubjAltNames(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSubjAltNames(
- PKIX_ComCertSelParams *params,
- PKIX_List *names, /* list of PKIX_PL_GeneralName */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSubjAltNames(
+ PKIX_ComCertSelParams *params,
+ PKIX_List *names, /* list of PKIX_PL_GeneralName */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_AddSubjAltName
* DESCRIPTION:
*
* Adds to the subject alternative names criterion of the ComCertSelParams
* object pointed to by "params" using the GeneralName pointed to by "name".
* In order to match against this criterion, a certificate must contain all
@@ -402,21 +385,19 @@ PKIX_ComCertSelParams_SetSubjAltNames(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_AddSubjAltName(
- PKIX_ComCertSelParams *params,
- PKIX_PL_GeneralName *name,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_AddSubjAltName(PKIX_ComCertSelParams *params,
+ PKIX_PL_GeneralName *name,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetPathToNames
* DESCRIPTION:
*
* Retrieves a pointer to the List of GeneralNames (if any) representing the
* path to names criterion that is set in the ComCertSelParams object pointed
* to by "params" and stores it at "pNames". In order to match against this
@@ -440,21 +421,20 @@ PKIX_ComCertSelParams_AddSubjAltName(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetPathToNames(
- PKIX_ComCertSelParams *params,
- PKIX_List **pNames, /* list of PKIX_PL_GeneralName */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetPathToNames(
+ PKIX_ComCertSelParams *params,
+ PKIX_List **pNames, /* list of PKIX_PL_GeneralName */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetPathToNames
* DESCRIPTION:
*
* Sets the path to names criterion of the ComCertSelParams object pointed to
* by "params" using a List of GeneralNames pointed to by "names". In order to
* match against this criterion, a certificate must not include name
@@ -476,21 +456,20 @@ PKIX_ComCertSelParams_GetPathToNames(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetPathToNames(
- PKIX_ComCertSelParams *params,
- PKIX_List *names, /* list of PKIX_PL_GeneralName */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetPathToNames(
+ PKIX_ComCertSelParams *params,
+ PKIX_List *names, /* list of PKIX_PL_GeneralName */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_AddPathToName
* DESCRIPTION:
*
* Adds to the path to names criterion of the ComCertSelParams object pointed
* to by "params" using the GeneralName pointed to by "pathToName". In order
* to match against this criterion, a certificate must not include name
@@ -508,21 +487,19 @@ PKIX_ComCertSelParams_SetPathToNames(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_AddPathToName(
- PKIX_ComCertSelParams *params,
- PKIX_PL_GeneralName *pathToName,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_AddPathToName(PKIX_ComCertSelParams *params,
+ PKIX_PL_GeneralName *pathToName,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetAuthorityKeyIdentifier
* DESCRIPTION:
*
* Retrieves a pointer to the ByteArray (if any) representing the authority
* key identifier criterion that is set in the ComCertSelParams object
* pointed to by "params" and stores it at "pAuthKeyId". In order to match
@@ -545,21 +522,19 @@ PKIX_ComCertSelParams_AddPathToName(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetAuthorityKeyIdentifier(
- PKIX_ComCertSelParams *params,
- PKIX_PL_ByteArray **pAuthKeyId,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetAuthorityKeyIdentifier(
+ PKIX_ComCertSelParams *params, PKIX_PL_ByteArray **pAuthKeyId,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetAuthorityKeyIdentifier
* DESCRIPTION:
*
* Sets the authority key identifier criterion of the ComCertSelParams object
* pointed to by "params" to the ByteArray pointed to by "authKeyId". In
* order to match against this criterion, a certificate must contain an
@@ -577,21 +552,19 @@ PKIX_ComCertSelParams_GetAuthorityKeyIde
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetAuthorityKeyIdentifier(
- PKIX_ComCertSelParams *params,
- PKIX_PL_ByteArray *authKeyId,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetAuthorityKeyIdentifier(
+ PKIX_ComCertSelParams *params, PKIX_PL_ByteArray *authKeyId,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSubjKeyIdentifier
* DESCRIPTION:
*
* Retrieves a pointer to the ByteArray (if any) representing the subject key
* identifier criterion that is set in the ComCertSelParams object pointed to
* by "params" and stores it at "pSubjKeyId". In order to match against this
@@ -613,21 +586,19 @@ PKIX_ComCertSelParams_SetAuthorityKeyIde
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSubjKeyIdentifier(
- PKIX_ComCertSelParams *params,
- PKIX_PL_ByteArray **pSubjKeyId,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSubjKeyIdentifier(
+ PKIX_ComCertSelParams *params, PKIX_PL_ByteArray **pSubjKeyId,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSubjKeyIdentifier
* DESCRIPTION:
*
* Sets the subject key identifier criterion of the ComCertSelParams object
* pointed to by "params" using a ByteArray pointed to by "subjKeyId". In
* order to match against this criterion, a certificate must contain an
@@ -645,21 +616,19 @@ PKIX_ComCertSelParams_GetSubjKeyIdentifi
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSubjKeyIdentifier(
- PKIX_ComCertSelParams *params,
- PKIX_PL_ByteArray *subKeyId,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSubjKeyIdentifier(
+ PKIX_ComCertSelParams *params, PKIX_PL_ByteArray *subKeyId,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSubjPubKey
* DESCRIPTION:
*
* Retrieves a pointer to the PublicKey (if any) representing the subject
* public key criterion that is set in the ComCertSelParams object pointed to
* by "params" and stores it at "pPubKey". In order to match against this
@@ -681,21 +650,19 @@ PKIX_ComCertSelParams_SetSubjKeyIdentifi
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSubjPubKey(
- PKIX_ComCertSelParams *params,
- PKIX_PL_PublicKey **pPubKey,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSubjPubKey(PKIX_ComCertSelParams *params,
+ PKIX_PL_PublicKey **pPubKey,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSubjPubKey
* DESCRIPTION:
*
* Sets the subject public key criterion of the ComCertSelParams object
* pointed to by "params" using a PublicKey pointed to by "pubKey". In order
* to match against this criterion, a certificate must contain a
@@ -712,21 +679,19 @@ PKIX_ComCertSelParams_GetSubjPubKey(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSubjPubKey(
- PKIX_ComCertSelParams *params,
- PKIX_PL_PublicKey *pubKey,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSubjPubKey(PKIX_ComCertSelParams *params,
+ PKIX_PL_PublicKey *pubKey,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSubjPKAlgId
* DESCRIPTION:
*
* Retrieves a pointer to the OID (if any) representing the subject public key
* algorithm identifier criterion that is set in the ComCertSelParams object
* pointed to by "params" and stores it at "pPubKey". In order to match
@@ -748,21 +713,19 @@ PKIX_ComCertSelParams_SetSubjPubKey(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSubjPKAlgId(
- PKIX_ComCertSelParams *params,
- PKIX_PL_OID **pAlgId,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSubjPKAlgId(PKIX_ComCertSelParams *params,
+ PKIX_PL_OID **pAlgId,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSubjPKAlgId
* DESCRIPTION:
*
* Sets the subject public key algorithm identifier criterion of the
* ComCertSelParams object pointed to by "params" using an OID pointed to by
* "algId". In order to match against this criterion, a certificate must
@@ -784,21 +747,19 @@ PKIX_ComCertSelParams_GetSubjPKAlgId(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSubjPKAlgId(
- PKIX_ComCertSelParams *params,
- PKIX_PL_OID *algId,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSubjPKAlgId(PKIX_ComCertSelParams *params,
+ PKIX_PL_OID *algId,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetBasicConstraints
* DESCRIPTION:
*
* Retrieves a pointer to the minimum path length (if any) representing the
* basic constraints criterion that is set in the ComCertSelParams object
* pointed to by "params" and stores it at "pMinPathLength". In order to
@@ -832,21 +793,18 @@ PKIX_ComCertSelParams_SetSubjPKAlgId(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetBasicConstraints(
- PKIX_ComCertSelParams *params,
- PKIX_Int32 *pMinPathLength,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetBasicConstraints(
+ PKIX_ComCertSelParams *params, PKIX_Int32 *pMinPathLength, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetBasicConstraints
* DESCRIPTION:
*
* Sets the basic constraints criterion of the ComCertSelParams object
* pointed to by "params" using the integer value of "minPathLength". In
* order to match against this criterion, there are several possibilities.
@@ -876,21 +834,18 @@ PKIX_ComCertSelParams_GetBasicConstraint
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetBasicConstraints(
- PKIX_ComCertSelParams *params,
- PKIX_Int32 minPathLength,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetBasicConstraints(
+ PKIX_ComCertSelParams *params, PKIX_Int32 minPathLength, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetCertificate
* DESCRIPTION:
*
* Retrieves a pointer to the Cert (if any) representing the certificate
* criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pCert". In order to match against this
@@ -913,21 +868,19 @@ PKIX_ComCertSelParams_SetBasicConstraint
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetCertificate(
- PKIX_ComCertSelParams *params,
- PKIX_PL_Cert **pCert,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetCertificate(PKIX_ComCertSelParams *params,
+ PKIX_PL_Cert **pCert,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetCertificate
* DESCRIPTION:
*
* Sets the certificate criterion of the ComCertSelParams object pointed to by
* "params" using a Cert pointed to by "cert". In order to match against this
* criterion, a certificate must be equal to the criterion's certificate.
@@ -949,21 +902,19 @@ PKIX_ComCertSelParams_GetCertificate(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetCertificate(
- PKIX_ComCertSelParams *params,
- PKIX_PL_Cert *cert,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetCertificate(PKIX_ComCertSelParams *params,
+ PKIX_PL_Cert *cert,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetCertificateValid
* DESCRIPTION:
*
* Retrieves a pointer to the Date (if any) representing the certificate
* validity criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pDate". In order to match against this
@@ -985,21 +936,18 @@ PKIX_ComCertSelParams_SetCertificate(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetCertificateValid(
- PKIX_ComCertSelParams *params,
- PKIX_PL_Date **pDate,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetCertificateValid(
+ PKIX_ComCertSelParams *params, PKIX_PL_Date **pDate, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetCertificateValid
* DESCRIPTION:
*
* Sets the certificate validity criterion of the ComCertSelParams object
* pointed to by "params" using a Date pointed to by "date". In order to
* match against this criterion, a certificate's validity period must include
@@ -1019,21 +967,18 @@ PKIX_ComCertSelParams_GetCertificateVali
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetCertificateValid(
- PKIX_ComCertSelParams *params,
- PKIX_PL_Date *date,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetCertificateValid(
+ PKIX_ComCertSelParams *params, PKIX_PL_Date *date, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSerialNumber
* DESCRIPTION:
*
* Retrieves a pointer to the BigInt (if any) representing the serial number
* criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pSerialNumber". In order to match against this
@@ -1055,21 +1000,19 @@ PKIX_ComCertSelParams_SetCertificateVali
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSerialNumber(
- PKIX_ComCertSelParams *params,
- PKIX_PL_BigInt **pSerialNumber,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSerialNumber(
+ PKIX_ComCertSelParams *params, PKIX_PL_BigInt **pSerialNumber,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSerialNumber
* DESCRIPTION:
*
* Sets the serial number criterion of the ComCertSelParams object pointed to
* by "params" using a BigInt pointed to by "serialNumber". In order to match
* against this criterion, a certificate must have a serial number equal to
@@ -1090,21 +1033,19 @@ PKIX_ComCertSelParams_GetSerialNumber(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSerialNumber(
- PKIX_ComCertSelParams *params,
- PKIX_PL_BigInt *serialNumber,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSerialNumber(PKIX_ComCertSelParams *params,
+ PKIX_PL_BigInt *serialNumber,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetVersion
* DESCRIPTION:
*
* Retrieves a PKIX_UInt32 (if any) representing the version criterion that is
* set in the ComCertSelParams object pointed to by "params" and stores it at
* "pVersion". In order to match against this criterion, a certificate's
@@ -1128,21 +1069,19 @@ PKIX_ComCertSelParams_SetSerialNumber(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetVersion(
- PKIX_ComCertSelParams *params,
- PKIX_UInt32 *pVersion,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetVersion(PKIX_ComCertSelParams *params,
+ PKIX_UInt32 *pVersion,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetVersion
* DESCRIPTION:
*
* Sets the version criterion of the ComCertSelParams object pointed to by
* "params" using the integer value of "version". In order to match against
* this criterion, a certificate's version must be equal to the criterion's
@@ -1161,22 +1100,19 @@ PKIX_ComCertSelParams_GetVersion(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetVersion(
- PKIX_ComCertSelParams *params,
- PKIX_Int32 version,
- void *plContext);
-
+PKIX_Error *PKIX_ComCertSelParams_SetVersion(PKIX_ComCertSelParams *params,
+ PKIX_Int32 version,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetKeyUsage
* DESCRIPTION:
*
* Retrieves a PKIX_UInt32 (if any) representing the key usage criterion that
* is set in the ComCertSelParams object pointed to by "params" and stores it
* at "pKeyUsage". In order to match against this criterion, a certificate
@@ -1199,21 +1135,19 @@ PKIX_ComCertSelParams_SetVersion(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetKeyUsage(
- PKIX_ComCertSelParams *params,
- PKIX_UInt32 *pKeyUsage,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetKeyUsage(PKIX_ComCertSelParams *params,
+ PKIX_UInt32 *pKeyUsage,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetKeyUsage
* DESCRIPTION:
*
* Sets the key usage criterion of the ComCertSelParams object pointed to by
* "params" using the integer value of "keyUsage". In order to match against
* this criterion, a certificate must allow the criterion's key usage values.
@@ -1236,21 +1170,19 @@ PKIX_ComCertSelParams_GetKeyUsage(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetKeyUsage(
- PKIX_ComCertSelParams *params,
- PKIX_UInt32 keyUsage,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetKeyUsage(PKIX_ComCertSelParams *params,
+ PKIX_UInt32 keyUsage,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetExtendedKeyUsage
* DESCRIPTION:
*
* Retrieves a pointer to the List of OIDs (if any) representing the extended
* key usage criterion that is set in the ComCertSelParams object pointed to
* by "params" and stores it at "pExtKeyUsage". In order to match against this
@@ -1275,21 +1207,20 @@ PKIX_ComCertSelParams_SetKeyUsage(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetExtendedKeyUsage(
- PKIX_ComCertSelParams *params,
- PKIX_List **pExtKeyUsage, /* list of PKIX_PL_OID */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetExtendedKeyUsage(
+ PKIX_ComCertSelParams *params,
+ PKIX_List **pExtKeyUsage, /* list of PKIX_PL_OID */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetExtendedKeyUsage
* DESCRIPTION:
*
* Sets the extended key usage criterion of the ComCertSelParams object
* pointed to by "params" using a List of OIDs pointed to by "extKeyUsage".
* In order to match against this criterion, a certificate's ExtendedKeyUsage
@@ -1312,21 +1243,20 @@ PKIX_ComCertSelParams_GetExtendedKeyUsag
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetExtendedKeyUsage(
- PKIX_ComCertSelParams *params,
- PKIX_List *extKeyUsage, /* list of PKIX_PL_OID */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetExtendedKeyUsage(
+ PKIX_ComCertSelParams *params,
+ PKIX_List *extKeyUsage, /* list of PKIX_PL_OID */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetPolicy
* DESCRIPTION:
*
* Retrieves a pointer to the List of OIDs (if any) representing the policy
* criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pPolicy". In order to match against this
@@ -1352,21 +1282,20 @@ PKIX_ComCertSelParams_SetExtendedKeyUsag
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetPolicy(
- PKIX_ComCertSelParams *params,
- PKIX_List **pPolicy, /* list of PKIX_PL_OID */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetPolicy(
+ PKIX_ComCertSelParams *params,
+ PKIX_List **pPolicy, /* list of PKIX_PL_OID */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetPolicy
* DESCRIPTION:
*
* Sets the policy criterion of the ComCertSelParams object pointed to by
* "params" using a List of OIDs pointed to by "policy". In order to match
* against this criterion, a certificate's CertificatePolicies extension must
@@ -1389,21 +1318,20 @@ PKIX_ComCertSelParams_GetPolicy(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetPolicy(
- PKIX_ComCertSelParams *params,
- PKIX_List *policy, /* list of PKIX_PL_OID */
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetPolicy(PKIX_ComCertSelParams *params,
+ PKIX_List *policy, /* list of
+ PKIX_PL_OID */
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetIssuer
* DESCRIPTION:
*
* Retrieves a pointer to the X500Name (if any) representing the issuer
* criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pIssuer". In order to match against this
@@ -1425,21 +1353,19 @@ PKIX_ComCertSelParams_SetPolicy(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetIssuer(
- PKIX_ComCertSelParams *params,
- PKIX_PL_X500Name **pIssuer,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetIssuer(PKIX_ComCertSelParams *params,
+ PKIX_PL_X500Name **pIssuer,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetIssuer
* DESCRIPTION:
*
* Sets the issuer criterion of the ComCertSelParams object pointed to by
* "params" using an X500Name pointed to by "issuer". In order to match
* against this criterion, a certificate's IssuerName must match the
@@ -1460,21 +1386,19 @@ PKIX_ComCertSelParams_GetIssuer(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetIssuer(
- PKIX_ComCertSelParams *params,
- PKIX_PL_X500Name *issuer,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetIssuer(PKIX_ComCertSelParams *params,
+ PKIX_PL_X500Name *issuer,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSubject
* DESCRIPTION:
*
* Retrieves a pointer to the X500Name (if any) representing the subject
* criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pSubject". In order to match against this
@@ -1496,21 +1420,19 @@ PKIX_ComCertSelParams_SetIssuer(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSubject(
- PKIX_ComCertSelParams *params,
- PKIX_PL_X500Name **pSubject,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSubject(PKIX_ComCertSelParams *params,
+ PKIX_PL_X500Name **pSubject,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSubject
* DESCRIPTION:
*
* Sets the subject criterion of the ComCertSelParams object pointed to by
* "params" using an X500Name pointed to by "subject". In order to match
* against this criterion, a certificate's SubjectName must match the
@@ -1531,21 +1453,19 @@ PKIX_ComCertSelParams_GetSubject(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSubject(
- PKIX_ComCertSelParams *params,
- PKIX_PL_X500Name *subject,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSubject(PKIX_ComCertSelParams *params,
+ PKIX_PL_X500Name *subject,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetSubjectAsByteArray
* DESCRIPTION:
*
* Retrieves a pointer to the ByteArray (if any) representing the subject
* criterion that is set in the ComCertSelParams object pointed to by
* "params" and stores it at "pSubject". In order to match against this
@@ -1567,21 +1487,19 @@ PKIX_ComCertSelParams_SetSubject(
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetSubjectAsByteArray(
- PKIX_ComCertSelParams *params,
- PKIX_PL_ByteArray **pSubject,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetSubjectAsByteArray(
+ PKIX_ComCertSelParams *params, PKIX_PL_ByteArray **pSubject,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetSubjectAsByteArray
* DESCRIPTION:
*
* Sets the subject criterion of the ComCertSelParams object pointed to by
* "params" using a ByteArray pointed to by "subject". In order to match
* against this criterion, a certificate's SubjectName must match the
@@ -1602,21 +1520,18 @@ PKIX_ComCertSelParams_GetSubjectAsByteAr
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetSubjectAsByteArray(
- PKIX_ComCertSelParams *params,
- PKIX_PL_ByteArray *subject,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetSubjectAsByteArray(
+ PKIX_ComCertSelParams *params, PKIX_PL_ByteArray *subject, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetNameConstraints
* DESCRIPTION:
*
* Retrieves a pointer to the X500Name (if any) representing the name
* constraints criterion that is set in the ComCertSelParams object pointed
* to by "params" and stores it at "pConstraints". In order to match against
@@ -1638,21 +1553,19 @@ PKIX_ComCertSelParams_SetSubjectAsByteAr
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetNameConstraints(
- PKIX_ComCertSelParams *params,
- PKIX_PL_CertNameConstraints **pConstraints,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetNameConstraints(
+ PKIX_ComCertSelParams *params, PKIX_PL_CertNameConstraints **pConstraints,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetNameConstraints
* DESCRIPTION:
*
* Sets the name constraints criterion of the ComCertSelParams object pointed
* to by "params" using the CertNameConstraints pointed to by "constraints".
* In order to match against this criterion, a certificate's subject and
@@ -1674,21 +1587,19 @@ PKIX_ComCertSelParams_GetNameConstraints
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetNameConstraints(
- PKIX_ComCertSelParams *params,
- PKIX_PL_CertNameConstraints *constraints,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetNameConstraints(
+ PKIX_ComCertSelParams *params, PKIX_PL_CertNameConstraints *constraints,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetMatchAllSubjAltNames
* DESCRIPTION:
*
* Checks whether the ComCertSelParams object pointed to by "params" indicate
* that all subject alternative names are to be matched and stores the Boolean
* result at "pMatch". This Boolean value determines the behavior of the
@@ -1712,21 +1623,18 @@ PKIX_ComCertSelParams_SetNameConstraints
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_GetMatchAllSubjAltNames(
- PKIX_ComCertSelParams *params,
- PKIX_Boolean *pMatch,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetMatchAllSubjAltNames(
+ PKIX_ComCertSelParams *params, PKIX_Boolean *pMatch, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetMatchAllSubjAltNames
* DESCRIPTION:
*
* Sets the match flag of the ComCertSelParams object pointed to by "params"
* using the Boolean value of "match". This Boolean value determines the
* behavior of the subject alternative names criterion.
@@ -1748,21 +1656,18 @@ PKIX_ComCertSelParams_GetMatchAllSubjAlt
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetMatchAllSubjAltNames(
- PKIX_ComCertSelParams *params,
- PKIX_Boolean match,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetMatchAllSubjAltNames(
+ PKIX_ComCertSelParams *params, PKIX_Boolean match, void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_GetLeafCertFlag
* DESCRIPTION:
*
* Return "leafCert" flag of the ComCertSelParams structure. If set to true,
* the flag indicates that a selector should filter out all cert that are not
* qualified to be a leaf cert according to the specified key/ekey usages.
@@ -1778,21 +1683,19 @@ PKIX_ComCertSelParams_SetMatchAllSubjAlt
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error*
-PKIX_ComCertSelParams_GetLeafCertFlag(
- PKIX_ComCertSelParams *params,
- PKIX_Boolean *pLeafFlag,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_GetLeafCertFlag(PKIX_ComCertSelParams *params,
+ PKIX_Boolean *pLeafFlag,
+ void *plContext);
/*
* FUNCTION: PKIX_ComCertSelParams_SetLeafCertFlag
* DESCRIPTION:
*
* Sets a flag that if its value is true, indicates that the selector
* should only pick certs that qualifies to be leaf for this cert path
* validation.
@@ -1808,19 +1711,17 @@ PKIX_ComCertSelParams_GetLeafCertFlag(
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
* (see Thread Safety Definitions in Programmer's Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
-PKIX_Error *
-PKIX_ComCertSelParams_SetLeafCertFlag(
- PKIX_ComCertSelParams *params,
- PKIX_Boolean leafFlag,
- void *plContext);
+PKIX_Error *PKIX_ComCertSelParams_SetLeafCertFlag(PKIX_ComCertSelParams *params,
+ PKIX_Boolean leafFlag,
+ void *plContext);
#ifdef __cplusplus
}
#endif
#endif /* _PKIX_CERTSEL_H */
« no previous file with comments | « lib/libpkix/include/pkix.h ('k') | lib/libpkix/include/pkix_certstore.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b