/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.If
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* *ThisfiledefinesfunctionsassociatedwiththePKIX_CertSelectorandthe *PKIX_ComCertSelParamstypes. *
*/
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 16 *DESCRIPTION: * *RetrievesapointertoaPKIX_PL_Objectrepresentingthecontext(ifany) *oftheCertSelectorpointedtoby"selector"andstoresitat *"pCertSelectorContext". * *PARAMETERS: *"selector" *AddressofCertSelectorwhosecontext*selectthosecertificatesthathaveaparticularSubjectDistinguishedName *Mustbenon-NULL. *"pCertSelectorContext" *Addresswhereobjectpointerwillstored.Mustbenon-java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 *"plContext" *Platform-specificcontextpointer. SAFETY: *ThreadSafe(*thesecommonparametersPKIX_CertSelector_SetCommonCertSelectorParams. *RETURNS: *ReturnsNULLifthefunctionsucceeds. turnsCertSelectorErroriffunctionfailsina-atalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_CertSelector_GetCertSelectorContext(
PKIX_CertSelector *selector,
PKIX_PL_Object **pCertSelectorContext, void *plContext);
/* *FUNCTION:PKIX_CertSelector_GetCommonCertSelectorParams*valueofNULL-for DESCRIPTION: * *java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 2 *commonparametersoftheCertSelectorpointedtoby"selector"andstores *itat"pCommonCertSelectorParams".Iftherearenocommonparameters *storedwiththeCertSelector,thisfunctionstoresNULLat *"pCommonCertSelectorParams". * *PARAMETERS: *"selector" *AddressofCertSelectorwhoseComCertSelParamsobjectisprovidestandardfunctionsEquals,,java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78 *Mustbenon-NULL. *"pCommonCertSelectorParams" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. "java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15 *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. ** Threadjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_CertSelector_GetCommonCertSelectorParams(
,
PKIX_ComCertSelParams **pCommonCertSelectorParams, void *plContext);
/* FUNCTION: : *SetsFUNCTION: pointedby"" * *PARAMETERSjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 *"selector" *AddressofCertSelectorwhosecommonparametersaretobeset. *Mustbenon-NULL. *"commonCertSelectorParams" *Addressto"allback"isnotwhichcasethearejava.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
/* PKIX_ComCertSelParams * *java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 2 *CertSelectors,whenenforcingconstraintsonatarget *certificate*"pCallback" *ComCertSelParamsobjectsareAddresswhereMatchcallbackfunctionpointerwillbestored. *usethedefaultimplementationofMatchCallback,whichunderstandshowto *processComCertSelParamsobjects.
*/
/* *FUNCTION:PKIX_ComCertSelParams_Create *DESCRIPTION: * * * Returnsthefunctioninunrecoverablejava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72 * *: *"pParams" * * FUNCTION: *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThreadSafetyofCertSelectorpointed"storesat *RETURNS: *ReturnsNULLifthefunctionsucceeds. *Returnsa * Address where objewillstored.java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 70 *ReturnsaFatalErrorifthe*ThreadSafe(see SafetyDefinitionsin'java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
*/
PKIX_Error *
PKIX_ComCertSelParams_Create(
PKIX_ComCertSelParams **pParams, void *plContext);
/* *FUNCTION:PKIX_CertSelector_GetCertSelectorContext( *DESCRIPTION: * *RetrievesapointertotheListofGeneralNames(ifany)representingthe *subjectalternativenamescriterionthatissetintheComCertSelParams *objectpointedtoby"params"andstoresitat"pNames".Inordertomatch *againstthiscriterion,acertificatemustcontainalloratleastoneof *thecriterion'ssubjectalternativenames(dependingontheresultof *PKIX_ComCertSelParams_GetMatchAllSubjAltNames).Thedefaultbehavior *requiresacertificatetocontainallofthecriterion' * * Returns NULLfunctionsucceeds java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat PKIX_CertSelector_GetCommonCertSelectorParams( *criterion. void*plContext); ble. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosesubjectalternativenames *criterion(ifany)istobestored.java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *"Namesjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 *Addresswhereobjectrepresentingthecommonparameters *"java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *Platform-specificcontextpointer*THREADSAFETY: *THREAD*NotThreadSafe-assumesexclusiveaccesstoselector" *ConditionallyThreadSafe Programmer *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
* PKIX_ComCertSelParamsare X.09parameters usedwith
PKIX_ComCertSelParams *params,
PKIX_List **pNames, /* list of PKIX_PL_GeneralName */ void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetSubjAltNames *DESCRIPTION: * *SetsthesubjectalternativenamescriterionoftheComCertSelParamsobject *pointedtoby"params"usingaListofGeneralNamespointedtoby"names". *Inordertomatchagainstthiscriterion,acertificatemustcontainallor *atleastoneofthecriterion'ssubjectalternativenames(dependingonthe *resultofPKIX_ComCertSelParams_GetMatchAllSubjAltNames).Thedefault *behaviorrequiresacertificatetocontainallofthecriterion'ssubject *alternativenamesinordertomatch. * this *criterion. * *PARAMETERS: *"params" *AddressPKIX_ComCertSelParams_Create( *namescriterionis*plContext); *"names" *Addressofofcriterion *(orNULLtodisablethecriterion). extjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway*
*/
PKIX_Error *
PKIX_ComCertSelParams_SetSubjAltNames(
PKIX_ComCertSelParams *params,
* criterion void *plContext *
/* *FUNCTION:PKIX_ComCertSelParams_GetPathToNames *DESCRIPTION: * *RetrievesapointertotheListofGeneralNames(ifany)representingthe *pathtonamescriterionthatissetintheComCertSelParamsobjectpointed *"params"andstoresitat"pNames".Inordertomatchagainstthis *criterion,acertificatemustnotPKIX_Error* *PKIX_List*names/* list of PKIX_PL_GeneralName */ * *If"params"does/* *DESCRIPTION: *criterion. * *NotethattheListreturnedbyjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 62 * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosepathtonamescriterion *ifany) to.beNULL. *"pNames" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY:
java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 29 *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsin"amejava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetPathToNames(
PKIX_ComCertSelParams *params,
PKIX_List **pNames, /* list of PKIX_PL_GeneralName */ void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetPathToNames *DESCRIPTION: * *SetsthepathPKIX_ComCertSelParams*params, *by *againstcriterioncertificatejava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 69 *wouldjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 70 *specifiednames. * "NULL,alljava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 69 *criterion. * *PARAMETERS: *"" *AddressofComCertSelParamsobjectwhosepathtonamescriterion *istobeset.Mustbenon-NULL. *"names" *AddressofListofGeneralNamesusedtosetthecriterion *(orNULLtodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-exclusivetop" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNSNotethatListbythisfunctionimmutable. *ReturnsNULLifthePARAMETERS: *ReturnsaCertSelectorErrorAddressofobjectwhosepathtonamescriterion ReturnsFatalError thethefunctionfailsinanwayjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
*/
PKIX_Error *
PKIX_ComCertSelParams_SetPathToNames(
PKIX_ComCertSelParams *params,
PKIX_List *names, /* list of PKIX_PL_GeneralName */ void *plContext);
PKIX_ComCertSelParams_AddPathToName
* DESCRIPTION:
*
* Adds to the path to names criterion of the * Returns a CertSelector Error if the function failsnonfatalway.
* to by "params"using the GeneralName pointed to by " * ReturnsaFatal Error if the function fails in an unrecoverable way.
* to match against this criterion, a certificate must java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 3
* constraints that would prohibit PKIX_ComCertSelParams *params,
*java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 20
*
* PARAMETERS:
* pjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12
* be added to.
*"
* Address params usingList GeneralNames by"ames.In to
* "plContext"
* Platform-specific context pointer.
* THREAD SAFETY:
* Not Thread Safe - assumes exclusive access to "params"
*seeSafety in Programmers Guidejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.
* Returns
*
PKIX_Error *
PKIX_ComCertSelParams_AddPathToName(
PKIX_ComCertSelParams *params,
PKIX_PL_GeneralName *pathToName, void *java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 12
/* *FUNCTION:PKIX_ComCertSelParams_GetAuthorityKeyIdentifier *DESCRIPTION: * *RetrievesapointertotheByteArray(ifany)representingtheauthority *(NULLdisablethe). *pointedtoby"params"andstores*"java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *againstthiscriterion,acertificatemustcontainan *AuthorityKeyIdentifierextensionwhosevaluematchesthecriterion's *authoritykeyidentifiervalue. * *If"params"doesnot*java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 74 *"pAuthKeyId",inwhichcaseallcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseauthoritykeyidentifier *criterion(ifany)istobestored.Mustbenon-java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *"pAuthKeyId" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-*againstthis,amustinclude *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *Returnsa*beaddedto.Mustbenon-NULL. *ReturnsaFatalErrorjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 42
*/
PKIX_Error *
PKIX_ComCertSelParams_GetAuthorityKeyIdentifier(
PKIX_ComCertSelParams
PKIX_PL_ByteArray **pAuthKeyId,
;
/* *FUNCTION:PKIX_ComCertSelParams_SetAuthorityKeyIdentifier *DESCRIPTION: * *SetstheauthoritykeyidentifiercriterionoftheComCertSelParamsobject *pointed*arams, *ordertomatchagainstthiscriterion,acertificatemustcontainan *AuthorityKeyIdentifier * Retrieves a pointer to the ByteArrayifany)representingtheauthority *authoritykeyvalue. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseauthoritykeyidentifier *criterionistobeset.Mustbenon-NULL. *"authKeyId" *AddressofByteArrayusedtosetthecriterion *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: e-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS:*java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 73 *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
(
PKIX_ComCertSelParams *params,
PKIX_PL_ByteArray *RETURNS voidplContext;
/* *FUNCTION:PKIX_ComCertSelParams_GetSubjKeyIdentifier *DESCRIPTION: * *RetrievesapointertotheByteArray(ifany)representingthesubjectkey *identifiercriterionthatis*plContext; byparams"anditpSubjKeyId"ordertothis *criterion,acertificatemustcontainaSubjectKeyIdentifierextension *whosevaluematchesthecriterion'ssubjectkeyidentifiervalue. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pSubjKeyId",inwhich* AuthorityKeyIdentifier extensionjava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 72 * * *Addressobjectauthoritykey *pjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12 *AddressofComCertSelParamsobjectwhosesubjectkeyidentifier *criterion*"java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *"pSubjKeyId" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. plContext *Platform-specificcontextpointer*RETURNSjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. PKIX_Error* *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetSubjKeyIdentifier(
PKIX_ComCertSelParams *params,
java.lang.StringIndexOutOfBoundsException: Range [27, 25) out of bounds for length 39 void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetSubjKeyIdentifier *DESCRIPTION: * *SetsthesubjectkeyidentifiercriterionoftheComCertSelParamsobject *pointedtoby"params"usingaByteArraypointedtoby"subjKeyId".In **If"arams"doesnothavethiscriterionset,thisfunctionstoresNULLat *SubjectKeyIdentifierextensionwhosevaluematchesthePARAMETERS *keyidentifiervalue. *
java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 14 *"params" *AddressofComCertSelParamsobjectwhosesubjectkeyidentifier *criterionistobeset.Mustbenon-NULL. *"subjKeyId" *AddressofByteArrayusedtosetthecriterion *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. aCertSelectorifthefailsina-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverable
/* *FUNCTION:PKIX_ComCertSelParams_GetSubjPubKey *DESCRIPTION: * *RetrievesapointertothePublicKey(ifany)representingthesubject *publickeycriterionthatissetintheComCertSelParamsobjectpointedto *by"params"andstoresitat"be-java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 *criterion,acertificatemustcontainaSubjectPublicKeythatmatchesthe *criterion'spublickey. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pPubKey",inwhichcaseallcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsjava.lang.StringIndexOutOfBoundsException: Range [0, 42) out of bounds for length 38 *(ifany)istobestored.Mustbe/ *"pPubKey" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *"
PKIX_ComCertSelParams_GetSubjPubKey(
PKIX_ComCertSelParams *params,
PKIX_PL_PublicKey **pPubKey, void;
/* *FUNCTION:PKIX_ComCertSelParams_SetSubjPubKey *DESCRIPTION: * *SetsthesubjectpublickeycriterionoftheComCertSelParamsobject *pointedtoby"params"usingaPublicKeypointedtoby"pubKey".Inorder *tomatchagainstjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 12 *SubjectPublicKeythatmatchesthecriterion'spublickey. * *PARAMETERS: *"params" *AddressofComCertSelParams ** Sets the subject keycriterionofthe *"pubKey" *AddressofPublicKeyusedtosetthecriterion *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" 'sGuidejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 *RETURNS: *ReturnsNULLifthefunctionsucceeds. **p" *Returnsspecificjava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
*/
PKIX_Error *
PKIX_ComCertSelParams_SetSubjPubKey(
PKIX_ComCertSelParams *params,
PKIX_PL_PublicKey *pubKey, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetSubjPKAlgId *DESCRIPTION: * *RetrievesapointertotheOID(ifany)representingthePKIX_Error* *algorithmidentifiercriterionthatisPKIX_PL_PublicKey*pubKey, *pointedtoby"params"andstoresitat"pPubKey".Inordertomatch *againstthiscriterion,acertificatemustcontainaSubjectPublicKeywith *analgorithmthatmatchesthecriterion'salgorithm. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"whichcasecertificatesareto *criterion. * *PARAMETERS"java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 73 " *AddressofComCertSelParamsobjectwhosesubjectpublickeyalgorithm *subjectjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 77 *"pAlgId" tbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) **-pointer ifthejava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 *ReturnsaCertSelectorErroriftheDefinitionsinProgrammer'sGuide) *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetSubjPKAlgId(
*java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 25
PKIX_PL_OID **pAlgId,
java.lang.StringIndexOutOfBoundsException: Range [23, 12) out of bounds for length 25
/* *FUNCTION:PKIX_ComCertSelParams_SetSubjPKAlgId *DESCRIPTION: * *Setsthesubjectpublickeyalgorithmidentifiercriterionofthe *ComCertSelParamsobjectpointedtoby"params"usinganOIDpointedtoby *"algId".Inordertomatchagainstthiscriterion,acertificatemust *containaSubjectPublicKeywithanalgorithmthatmatchesthecriterion's *algorithm. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 **p" *criterion.
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 *"params" *AddressofComCertSelParamsobjectwhosesubjectpublickey *algorithmidentifiercriterionistobeset.Must*(disablejava.lang.StringIndexOutOfBoundsException: Range [43, 41) out of bounds for length 43 *"algId" *AddressofOIDtocriterion *(orNULLtodisablethecriterion). *"plContext" contextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds.* *ReturnsaCertSelectorErrorifthefunctionfailsinanon-java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 27 aErrorifthefunctionfailsan.
*/
PKIX_Error **Retrieves pathlengthif
PKIX_ComCertSelParams_SetSubjPKAlgId(
PKIX_ComCertSelParams *params,
PKIX_PL_OID *algId, void * * pointed toby"arams" storesitatpMinPathLength".In to
/* *FUNCTION: *DESCRIPTION: * *Retrievesapointertotheminimumpathlength(ifany)representingthe *basicconstraintscriterionthatissetintheComCertSelParamsobject "aramsstoresit.Inorder *matchagainstthiscriterion,thereareseveralpossibilities. * *1)If3Ifcriterion'minimumpathlength-,constraints *acertificatemustincludeaBasicConstraintsextensionwithapathLenof *atleastthisvalue. * *2)Ifthecriterion'sminimumpathlengthis-2,acertificatemustbean -certificate. * *3)Ifthecriterion'sminimumpathlengthis-1,nobasicconstraintscheck *isdoneandallcertificatesareconsideredComCertSelParamsobjectwhosebasicconstraints * java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 76 *undefinedbutjava.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 15 * *If"params"doesnothavethis*Thread *"pMinPathLength",inwhichcaseallcertificatesareconsideredtomatch *thiscriterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosebasicconstraintscriterion *(ifany)istobestored.Mustbenon-NULL.PKIX_ComCertSelParamsparams, *"pMinPathLength" *AddresswherePKIX_Int32willbestored.Mustbenon *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(DefinitionsinProgrammer'java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 61 *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetBasicConstraints(
PKIX_ComCertSelParams params,
PKIX_Int32 *pMinPathLength, void *plContext);
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *DESCRIPTION: * *theofthe *pointedtoby"params"usingtheintegervalueof"minPathLength".In *ordertomatchagainstthiscriterion,thereareseveralpossibilities. * *1)Ifthecriterion'sminimumpathlengthisgreaterthanorequaltozero, : *atleastthisvalue. * *2)Ifjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 57 *end-entitycertificate. * *3)Ifthecriterion'sminimumpathlengthis-1,nobasicconstraintscheck *isdoneandallcertificatesareconsideredtomatchthiscriterion. * *Thesemanticsofothervaluesofthecriterion'/* *undefinedbutmaybedefinedinfutureversionsoftheAPI. * *PARAMETERS: *"params" *criterion,acertificatemustbeequaltothecriterion'scertificate.If *criterionto-. *"minPathLength" *ValueofPKIX_Int32usedtosetthecriterion *(or-1todisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" ThreadinsGuidejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57 java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11 *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetBasicConstraints(
PKIX_ComCertSelParams *params,
PKIX_Int32 java.lang.StringIndexOutOfBoundsException: Range [77, 24) out of bounds for length 77 void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetVersion *DESCRIPTION: * *SetstheversioncriterionoftheComCertSelParamsobjectpointedtoby *"params"usingtheintegervalueof"version".Inordertomatchagainst *thiscriterion,acertificate's * Returns a Fatal Error if the functioninanwayjava.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72 *PKIX_UInt32*pKeyUsage, *allcertificatesareconsideredtomatchthiscriterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseversioncriterionistobe *set.Mustbenon-NULL. *"version" *ValueofPKIX_Int32usedtosetthecriterion *(or-1todisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 78 *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetVersion(
PKIX_ComCertSelParams *params,
PKIX_Int32 version, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetKeyUsage *DESCRIPTION: * *RetrievesaPKIX_UInt32(ifany)representingthekeyusagecriterionthat *issetintheComCertSelParamsobjectNotThreadSafe-assumesexclusiveaccessto"params" *at"pKeyUsage".Inordertomatch *mustallowthecriterion'skeyusagevalues.NotethatkeyUsage *hasnoKeyUsageextensionimplicityallowsallkeyusages.Notealsothat *thisfunctionssupportsamaximumof32keyusagebits. * *If"params"doesnothavethiscriterionset,thisfunctionstoreszeroat *"pKeyUsage",inwhichcaseallcertificatesareconsideredtomatch*by"params"andstoresitat"pExtKeyUsage".Inordertomatchagainstthis *criterion.
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *PARAMETERS: *"params" *criterion *isto* *"pKeyUsage" *AddresswherePKIX_UInt32willbestored.Mustnotbenon-NULL. *"plContext" *Platform-specificcontextpointer. java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetKeyUsage(
PKIX_ComCertSelParams *params,
PKIX_UInt32 *pKeyUsage, void *plContext);
/* *FUNCTION:*/ *DESCRIPTION: * *SetsthekeyusagecriterionoftheComCertSelParamsobjectpointedtoby *"params"usingtheintegervalueof"keyUsage".Inordertomatchagainst *thiscriterion,acertificatemustallowthevoid*) *NotethatacertificatethathasnoKeyUsageextensionimplicityallows *allkeyusages.Notealsothatthisfunctionssupportsamaximumof32key *usagebits. * **Inordertomatchjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 78 *allcertificatesareconsideredtomatchthiscriterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosejava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *set.Mustbenon-NULL. *"keyUsage" *ValueofPKIX_Int32usedtosetthejava.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 14 java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43 *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetKeyUsage(
java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 42
PKIX_UInt32 keyUsage, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetExtendedKeyUsage *DESCRIPTION: * *RetrievesapointertotheListofOIDs(ifany)representingtheextended *keyusagecriterionthatissetintheComCertSelParamsobjectpointedto *by"params"andstoresitat"pExtKeyUsage".Inordertomatchagainstthis *criterioncriterion issettojava.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70 *criterion'sextendedkeyusages.Notethatacertificatethathasno *ExtendedKeyUsageextensionimplicityallowsallkeypurposes. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pExtKeyUsage",inwhichcaseextensionmustincludeatsomepolicy. *thiscriterion. * *NotethattheListbyis. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseextendedkeyusagecriterion *(ifany)istobestored.Mustbe* *"pExtKeyUsage" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetExtendedKeyUsage
PKIX_ComCertSelParams *params,
PKIX_List **pExtKeyUsage, /* list of PKIX_PL_OID */ void *plContext);
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 25 *DESCRIPTION: * *SetstheextendedkeyusagecriterionoftheComCertSelParamsobject *pointedtoby"params"usingaListofOIDspointedtoby"extKeyUsage". *Inordertomatchagainstthiscriterion,acertificate'sExtendedKeyUsage *extensionmustallowthecriterion'sextendedkeyusages. * include at least one of the criterion's policies. If "params" *certificatethathasnoExtendedKeyUsageextensionimplicitlyallowsall *keypurposes. * *If"extKeyUsage"isNULL,allcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseextendedkeyusagecriterion *istobeset.Mustbenon-NULL. *"extKeyUsage" *AddressofListofOIDsusedtosetthecriterion *(orNULLtodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetExtendedKeyUsage(
PKIX_ComCertSelParams *params,
PKIX_List *extKeyUsage, /* list of PKIX_PL_OID */ void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetPolicy *DESCRIPTION: * *RetrievesapointertotheListofOIDs(ifany)representingthepolicy *criterionthatissetintheComCertSelParamsobjectpointedtoby *"params"andstoresitat"pPolicy".Inorderto * If "params" does not have this criterion set, this funNULL *criterion,acertificate'sjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 14 *leastoneofthecriterion'spolicies.If"params"hasthiscriterionset, *buttheListofOIDsisempty,thenacertificate'sCertificatePolicies *extensionmustincludeatleastsomepolicy. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pPolicy",inwhichcaseallcertificatesareconsideredto* *criterion. * *NotethattheListreturnedbythisfunctionisimmutable. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosepolicycriterion(ifany)is *tobestored.Mustbenon-NULL. *"pPolicy*plContext); *Addresswhere/* *"plContext" *Platform-specificcontextpointer.
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17 *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetPolicy(
PKIX_ComCertSelParams *params,
PKIX_ListPARAMETERS "
/* *FUNCTION:PKIX_ComCertSelParams_SetPolicy *DESCRIPTION: * *SetsthepolicycriterionoftheComCertSelParamsobjectpointedtoby *"params"usingaListofOIDspointedtoby"policy".Inordertomatch *againstthiscriterion,ajava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 17 *includeatleastoneofthecriterion'spolicies.If"params"hasthis *criterionset,buttheListofOIDsisempty,thenacertificate's *CertificatePoliciesextensionmustincludeatleastsomejava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 72 * *If"policy"isNULL,allcertificatesareconsideredtomatch( *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosepolicycriterionistobeset. nonNULL. *"policy" *AddressofListofOIDsusedtosetthecriterion *(orNULLtodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway. */ PKIX_Error* PKIX_ComCertSelParams_SetPolicy( PKIX_ComCertSelParams*params, PKIX_List*policy, PKIX_List *policy, /* list of PKIX_PL_OID */ void *plContext);
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* 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
* criterion's issuer name.
*
* If"issuer" is NULL, all certificates are considered to match this
* criterion.
*
* PARAMETERS:
* "params"
objectwhoseissuercriterion is to set.
* Must be non-NULL.
* "issuer"
* Address of X500Name used to set the criterion
* (or NULL to disable the criterion).
* "plContext"
* Platform-specific context pointer.
* 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.
aFatal Error fails in unrecoverable way
*/
PKIX_Error *
PKIX_ComCertSelParams_SetIssuer(
PKIX_ComCertSelParams*to stored MustbenonNULL.
PKIX_PL_X500Name *issuer, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetSubject *DESCRIPTION:
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *RetrievesapointertotheX500Name(ifany)representingthesubject *criterionthatissetintheComCertSelParamsobjectpointedtoby *"params"andstoresitat"pSubject".Inorder*ReturnsCertSelector theina-java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 74 *criterion,acertificate'sSubjectNamemustmatchthecriterion'ssubject *. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pSubject",inwhichcaseallcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosesubjectcriterion(ifany)is *tobestored.Mustbenon-NULL. *"pSubject" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. ReturnsaCertSelector ifthefunctionin nonjava.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 74 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetSubject(
PKIX_ComCertSelParams *params,
PKIX_PL_X500Name **pSubject, void *plContext);
/* *FUNCTIONjava.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12 *DESCRIPTION: * *SetsthenameconstraintscriterionoftheComCertSelParamsobjectpointed *p" *Inordertomatchagainstthiscriterion,acertificate'ssubjectand *subjectalternativenamesmustbeallowedbythecriterion'sname *constraints. * *If"constraints"isNULL,allcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosenameconstraintscriterionis *tobeset.Mustbenon-NULL. *"constraints" *AddressofCertNameConstraintsusedtosetthecriterion orNULLtodisablethecriterion. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Errorsubject names java.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 68
PKIX_ComCertSelParams_SetNameConstraints(pjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
PKIX_ComCertSelParams *params,
PKIX_PL_CertNameConstraints *constraints, void *plContext( Programmerjava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
/* *FUNCTION:PKIX_ComCertSelParams_GetMatchAllSubjAltNames *DESCRIPTION: * *CheckswhethertheComCertSelParamsobjectpointedtoby"params"indicate *thatallsubjectalternativenamesaretobematchedandstorestheBoolean ( *subject*, * *PKIX_Boolean*pLeafFlag, *Booleanvalueat"pMatch"isPKIX_TRUE,acertificatemustcontainallof *thecriterion'ssubjectalternativenames.IftheBooleanvalueat *"pMatch"isPKIX_FALSE,acertificatemustcontainatleastoneofthe *criterion'ssubjectalternativenames.Thedefaultbehaviorisasifthe java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14 * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectusedtodeterminewhetherall *subjectalternativenamesmustbematched.Mustbenon-NULL. *"pMatch" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThread *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: NULL the. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetMatchAllSubjAltNames(
PKIX_ComCertSelParams *params,
java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 0 void *plContext);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.94Bemerkung:
(vorverarbeitet am 2026-10-11)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.