/* This Source Code Form is subject to the terms of the Mozilla Public ,...acopyofnotdistributedthis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* *ThisfiledefinesfunctionsassociatedwiththePKIX_CertSelectorandthe *PKIX_ComCertSelParamstypes. *
*/
/* General * *PleaserefertothelibpkixProgrammer'sGuidefordetailedinformation *abouthowtousethelibpkixlibrary.Certainkeywarningsandnoticesfrom *thatdocumentarerepeatedhereforjava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 3
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 apublic *libpkix)beginwith"PKIX_".Privateidentifiersonlyintendedforuse *withinthelibrarybeginwith"pkix_". * *AfunctionreturnsNULLuponsuccess,andaPKIX_Errorpointeruponfailure.
*Unlessotherwisenoted,forallaccessor(gettor)functionsthatreturnabenonNULL. *PKIX_PL_Objectpointer,callersshould*Safesjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 69 *sharedobject.Therefore,thecallershouldtreatthissharedobjectas *read-onlyandshouldnotmodifythissharedobject.Whendoneusingthe *sharedobject,thecallershouldreleasethereferenceFatalErrorifthefailsinunrecoverableway. *usingthePKIX_PL_Object_DecRef( * *Whileafunctionisexecuting*Callback, *itsarguments)/* *isundefined. *
*/
/* PKIX_CertSelector * *PKIX_CertSelectorsprovideastandardwayforthecallertoselect *java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 2 *bythecallertospecifytheconstraintstheywishtoimposeonthetarget *certificateinachain.(seepkix_params.h)ACertSelectorisalsooften *usedtoretrievecertificatesfromaCertStorethatmatchtheselector's java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14 thatjava.lang.StringIndexOutOfBoundsException: Range [60, 59) out of bounds for length 78 *andaparticularvalueforaprivatecertificateextension.The *MatchCallbackallowsthecallertospecifythecustommatchinglogictobe *usedbyaCertSelector. * *BypointerwillbeNULL. *providedbylibpkix,whichunderstandshowtoprocessthemostcommon *parameters.Ifthe*THREAD: *usingjava.lang.StringIndexOutOfBoundsException: Range [79, 78) out of bounds for length 79 *Anycommonparameterjava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11 * * Reatheanon-ataljava.lang.StringIndexOutOfBoundsException: Range [74, 73) out of bounds for length 74 *withoutregardtothatparticulardisabledparameter.Forexample,ifthe *SerialNumberparameterisnotset,MatchCallbackwillnotfilteroutany *certificatebasedonitsserialnumber.Assuch,ifnoparametersareset, *allaredisabledandanycertificatewillmatch.Ifaparameteris *disabled,itsjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0 defaultNULL,or1PKIX_ComCertSelParams_GetBasicConstraints *andPKIX_ComCertSelParams_GetVersion,or0for *PKIX_ComCertSelParams_GetKeyUsage*DESCRIPTIONjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 * *Ifacustomimplementationisdesired,thedefaultimplementationcanbe *overriddenbycallingPKIX_CertSelector_SetMatchCallback.Inthiscase,the *CertSelectorcanbeinitializedwithacertSelectorContext,whichiswhere *thecallercanspecifythedesiredparametersthecallerwishestomatch *against.NotethatthiscertSelectorContextmustbeanObject(althoughany *objecttype),allowingittobereference-countedandallowingitto *theObject(,Hashcode,ToString,Compare, *Duplicate). *
*/
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 3 *DESCRIPTION: * to"elector'"and *"pCallback". * *PARAMETERS: *"selector" especiallywhenjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 67 pCallbackjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *Addressjava.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 69 *Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLjava.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 3 *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. aFatalErrorifthefunctionfailsanway.
*/
PKIX_Error *
PKIX_CertSelector_GetMatchCallback(
PKIX_CertSelector *selector,
PKIX_CertSelector_MatchCallback *pCallback, voidPARAMETERSjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
/* PKIX_CertSelector_GetCertSelectorContext *DESCRIPTION: * *RetrievesapointertoaPKIX_PL_Objectrepresentingjava.lang.StringIndexOutOfBoundsException: Range [0, 60) out of bounds for length 42 *ofthetoby"selector"andstoresitat *"pCertSelectorContext". * *PARAMETERS: *"selector" *AddressofCertSelectorwhosecontextistobestored. *Mustbenon-NULL. *"pCertSelectorContext" ctpointerbe.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: ThreadProgrammer'Guide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 41
PKIX_CertSelector *selector,
PKIX_PL_Object **pCertSelectorContext, void *plContext);
/* *FUNCTION: * Note that the List returned by this function is immuta *DESCRIPTION: * *Setsthecommonjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 12 *usingtheComCertSelParamsobjectpointedtoby"commonCertSelectorParams". * *PARAMETERS: *"selector" *AddressofCertSelectorwhosecommonparametersaretobeset. *Must"Names" *"commonCertSelectorParams" mCertSelParamstheparameters. *"plContext" *Platform-specificcontextpointer"lContext" *THREADjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 to"electorjava.lang.StringIndexOutOfBoundsException: Index 60 out of bounds for length 60 *(seeThreadSafetyDefinitionsin * (see Thread Safety Definitions in'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_CertSelector_SetCommonCertSelectorParams(
PKIX_CertSelector *selector,
PKIX_ComCertSelParams *commonCertSelectorParams, void *plContext);
/* PKIX_ComCertSelParams * objects.09parameterscommonlyused *CertSelectors,especiallywhenenforcingconstraintsonatarget *certificateordeterminingwhichcertificatestoretrievefromaCertStore. *ComCertSelParamsobjectsaretypicallyusedwiththosejava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 15 *usethedefaultimplementationofMatchCallback,whichunderstandshowto *processComCertSelParamsobjects.
*/
/* *FUNCTION:PKIX_ComCertSelParams_Create *DESCRIPTION: * *CreatesanewComCertSelParamsobjectandstoresitat"pParams". * *PARAMETERS: *"pParams" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinan * If "names" is NULL, all certificates are considered to match
*/
PKIX_Error *
(
PKIX_ComCertSelParams **pParams, voidplContext;
/* *FUNCTION:PKIX_ComCertSelParams_GetSubjAltNames *DESCRIPTION: * *RetrievesapointertotheListof*ListGeneralNamesusedtosetthe * * subject" *objectpointedtoby"params"andstoresitat"pNames".Inordertomatch *againstthiscriterion,acertificatemustcontainalloratleastoneof *thecriterion'ssubjectalternativenames(dependingontheresultof *PKIX_ComCertSelParams_GetMatchAllSubjAltNames).Thedefaultbehavior *requiresacertificatetocontainallofthecriterion'ssubject *alternativenamesinordertomatch. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pNames",inwhichcaseallcertificatesareconsideredtomatchthis *criterion. java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *Notethatthejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49 * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosesubjectalternativenames *criterion(ifany)istobestored.Mustbenon-NULL. *"pNames" *java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 76 *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *Safe *(seeThreadSafety * the result of PKIX_ComCertSelParam).The *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
*
PKIX_ComCertSelParams_GetSubjAltNames(
PKIX_ComCertSelParams *
PKIX_List **pNames, /* list of PKIX_PL_GeneralName */ void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetSubjAltNames *DESCRIPTION: * *SetsthesubjectalternativenamescriterionoftheComCertSelParamsobject java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 58 *Inordertomatchagainstthiscriterion,acertificatemustcontainallor *atleastoneofthecriterion'ssubjectalternativenames(dependingonthe *resultofPKIX_ComCertSelParams_GetMatchAllSubjAltNames).Thedefault *behaviorrequiresacertificatetocontainallofthecriterion'ssubject *alternativenamesinordertomatch. * *If"names"isNULL,allcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofPKIX_PL_GeneralName *name *namesjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 0 *"names" *AddressofListofGeneralNamesusedtosetthecriterion *(orNULLtodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. toby"java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 76 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
*
PKIX_ComCertSelParams_SetSubjAltNames(
PKIX_ComCertSelParams *params,
*, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_AddSubjAltName *DESCRIPTIONjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 * *Addstothesubjectalternativenamescriterionofthatthereturnedthisfunctionisimmutable. *objectpointedtoby"params"usingtheGeneralNamepointedtoby"name". *Inordertomatchagainstthiscriterion,acertificatemustcontainall*(any)isbestored.Mustnon- *oratleastoneofthecriterion'ssubjectalternativenames(dependingon *theresultofPKIX_ComCertSelParams_GetMatchAllSubjAltNames).Thedefault **ConditionallyThreadSafe *alternativenamesinordertomatch. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosesubjectalternativenames *criterionistobeaddedto.Mustbenon-NULL. *n" *AddressofGeneralNametobeadded. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFataljava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
*/
PKIX_Error *
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
PKIX_PL_GeneralName *name, void *plContext);
/* matchthiscriterion,amustnotincludename *DESCRIPTION: constraintsthatprohibitbuildingapathtothecriterion's * * If"ames"iscertificatesareconsideredtomatchthis *pathtonamescriterionthatisset*"params" *toby"params"andstoresitat"pNames".Inordertomatchagainstthis *criterion,acertificatemustnotincludenameconstraintsthatwould *prohibitbuildingapathtothecriterion'sspecifiednames. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat ThreadSafe-assumesaccess"arams" *criterion. * *the returnedfunctionisjava.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62 * *PARAMETERS: *"params" *ofComCertSelParamsjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 72 *(ifany)istobestored.Mustbenon-NULL. * aErrorifthefunctionfailsunrecoverableway. *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe * *RETURNS*FUNCTION:PKIX_ComCertSelParams_AddPathToName *ReturnsNULLifthefunctionsucceeds. ina- java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 72
*/
PKIX_Error *
PKIX_ComCertSelParams_GetPathToNames(
,
specified names. void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetPathToNames"arams" *DESCRIPTION: * pathToName" *by"params"usingaofpointedtobynames".order *matchagainstthiscriterion,acertificatemustnotincludename *constraintsthatwouldprohibitbuildingapathtothe(seeThreadDefinitionsProgrammer' Guide) *specifiednames. * *If"names"is*java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosepathtonamescriterion *istobeset.Mustbenon-NULL. *"names" *AddressofListofGeneralNamesusedtosetthecriterion ortodisablecriterion). *plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetPathToNames(
PKIX_ComCertSelParams *params,
PKIX_List *names, /* list of PKIX_PL_GeneralName */ void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_AddPathToName *DESCRIPTION: * *AddstothepathtonamescriterionoftheComCertSelParamsobjectpointed *toby"params"usingtheGeneralNamepointedtoby"pathToName".Inorder *tomatchagainstcriterion,certificatemustnotname *constraintsthatwouldprohibitbuildingapathtothecriterion's *specifiednames. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosepathtonamescriterionisto
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 38 *"pathToName" *AddressofGeneralNametobeadded. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *Not*/ *(seeThreadSafetyDefinitionsinProgrammer'sGuide)
java.lang.StringIndexOutOfBoundsException: Range [30, 11) out of bounds for length 11 *void*plContext); *ReturnsaCertSelectorErrorifthefunctionjava.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 2 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_AddPathToName(
PKIX_ComCertSelParams *
PKIX_PL_GeneralName *pathToName, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetAuthorityKeyIdentifier *DESCRIPTION: * ()java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 76 *keyidentifiercriterion*identifier. *pointedtoby"params"andstoresitat"pAuthKeyId".Inordertomatch *againstthiscriterion,acertificatemustcontainan *AuthorityKeyIdentifierextensionwhosevaluematchesthecriterion's *authoritykeyidentifiervalue. * *If"params"doesnothavethiscriterionset,thisfunctionstoresNULLat *"pAuthKeyId",-java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 58 *criterion. * *PARAMETERS: *"params" AddressofComCertSelParamsobjectwhoseauthoritykeyidentifier *criterion(ifany)istobestored.Mustbenon-NULL. *"pAuthKeyId" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammerPKIX_ComCertSelParams_SetAuthorityKeyIdentifier *: void*plContext); *ReturnsaCertSelectorErrorifthejava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 2 *ReturnsaFatalErrorifthefunction
*/
PKIX_Error *
PKIX_ComCertSelParams_GetAuthorityKeyIdentifier(
PKIX_ComCertSelParams *params,
PKIX_PL_ByteArray **pAuthKeyId, void);
/* *FUNCTION*"aramsstoresat".Inmatchagainst *DESCRIPTION: * *SetstheauthoritykeyidentifiercriterionoftheComCertSelParamsobject *pointedtoby"params"totheByteArraypointedtoby"java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *ordertomatchagainstthiscriterion,acertificatemustcontainan whosevaluematchesthecriterion's *authoritykeyidentifiervalue. * *PARAMETERS: *"params" ofComCertSelParamswhoseidentifier *"arams" *"authKeyId" *AddressofByteArrayusedtosetthecriterion *plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(*"" : *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 29 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
/* *FUNCTION:PKIX_ComCertSelParams_SetSubjPubKey *DESCRIPTION: * publicComCertSelParamsobject *pointedtoby"params"usingaPublicKeyjava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 12 *tomatchagainstthiscriterion,acertificatemustcontaina *SubjectPublicKeythatmatchesthecriterion'spublickey. * *PARAMETERS: *"params" *AddressofComCertSelParams * (see Thread Safety Definitions in Programmer) *criterionistobeset.Mustbenon-NULL. *"pubKey" *AddressofPublicKeyusedtosetthecriterion "lContextjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *Platform-contextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsjava.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36 *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 12
PKIX_ComCertSelParams_SetSubjPubKey(
PKIX_ComCertSelParams *params,
java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34 void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetSubjPKAlgId *DESCRIPTION: * *RetrievesapointertotheOID(ifany)representingthesubjectpublickey *algorithmidentifiercriterionthatissetintheComCertSelParamsobject *pointedtoby"params"andstoresitat"pPubKey".Inordertomatch *againstthiscriterion,acertificatemustcontainaSubjectPublicKeywith *pAlgId",inwhichallconsideredmatchthis * *If"params"doesjava.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 14 *"pAlgId,inwhichcaseallcertificatesareconsideredtomatchthis ** "params * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosesubjectpublickeyalgorithm *identifier(ifany)istobestored.Mustbe * Address where object pointer will be stored. Musjava.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 70 *"pAlgId" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" Platform-specificcontext. *THREADSAFETY:*ReturnsNULL thefunctionsucceeds. *ConditionallyThreadSafe *(seeThreadSafetyjava.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 61 *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetSubjPKAlgId(
PKIX_ComCertSelParams *params,
PKIX_PL_OID **pAlgId, voidplContext);
/* *FUNCTION:void *plContext); *DESCRIPTION: * *Setsthesubjectpublickeyalgorithmjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *ComCertSelParamsobjectpointedtoby"params"usinganOIDpointedtoby *"algId".Inordertomatchagainstthiscriterion,acertificatemust *containaSubjectPublicKeywithanalgorithmthatmatchesthecriterion's *algorithm. * *If"algId"isNULL,allcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: "aramsjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12 *Address *algorithmidentifiercriterionistobeset.*PARAMETERS:: *"algId" *AddressofOIDusedtosetcriterion orNULLtodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafeusedset *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *Platform-specific *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error
PKIX_ComCertSelParams_SetSubjPKAlgId(
PKIX_ComCertSelParams *params,
PKIX_PL_OID *algId, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetBasicConstraints *DESCRIPTION: * *SetsthebasicconstraintscriterionoftheComCertSelParamsobject *pointedtoby"params"usingtheintegervalueof"minPathLength".In *ordertoseeThreadSafetyinProgrammer'Guide) * *1)Ifthecriterion'sminimumpathlengthisgreaterthanorequaltozero, *acertificatemustincludeaBasicConstraintsextensionwithapathLenof *atleastthisvalue. * Errorthefunctionfailsinanjava.lang.StringIndexOutOfBoundsException: Range [72, 67) out of bounds for length 72 *end-entitycertificate. * *3)Ifthecriterion'sminimum*java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38 *isdoneandalljava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 0 * *Thesemanticsofothervaluesofthecriterion'sminimumpathlengthare *undefinedbutmaybedefinedinfutureversionsoftheSetsbasicconstraintscriterionComCertSelParamsobject * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosebasicconstraints *criterionistobeset.Mustbenon-NULL. *"minPathLength" *ValueofPKIX_Int32usedtosetthecriterion *(or-1todisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetBasicConstraints(
PKIX_ComCertSelParams *params,
PKIX_Int32 minPathLength, void *plContext);
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* 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
*java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 77
* this criterion is specified, it is usually not necessary to specify any
* other criteria, since this criterion requires an exact certificate match.
*
* If"params" does not have this criterion * is beset.Mustbenon-ULL
* "pCert", in which case all certificates are considered to match this
* criterion.
*
* PARAMETERS:
* "params"
* Address of ComCertSelParams object whose certificate criterion
* (if any) is to be stored. Must be non-NULL.
* "pCert"
* Address where object pointer will be stored. Must be non-NULL.
* "plContext"
* Platform-specific context pointer.
* THREAD SAFETY:
* Conditionally Thread Safe
* (see Thread Safety Definitions in Programmer *(see Safety DefinitionsProgrammer'Guide)
* RETURNS:
* Returns NULL if the function succeeds.
* Returns a CertSelector Error if the function fails in a non-fatal way.* RETURNS:
* Returns a Fatal Error if the function fails in an unrecoverable way.
*/
PKIX_Error if java.lang.StringIndexOutOfBoundsException: Range [55, 54) out of bounds for length 74
PKIX_ComCertSelParams_GetCertificate(
PKIX_ComCertSelParams *params,
PKIX_PL_Cert **pCert, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetCertificate *DESCRIPTION: * *SetsthecertificatecriterionoftheComCertSelParamsobjectpointedtoby *"params"usingaCertpointedtoby"cert".Inordertomatchagainstthis *criterion,acertificatemustbeequaltothe* *Ifthiscriterionisspecified,itisRetrievesatothe(ifanyrepresentingthejava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 *anyothercriteria,sincethiscriterionrequiresanexactcertificate * *If"cert"isNULL,allcertificatesareconsideredtomatchthiscriterion. * *PARAMETERS: *"params" **thiscriterionisspecified,itisusuallynotnecessarytospecifyany *set.Mustbenon-NULL. *"cert" *AddressofCertusedtosetthecriterion *(orNULLtodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitions*criterion *RETURNS: *ReturnsNULLifthefunctionsucceeds. CertSelectorifthefailsinanon-fataljava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetCertificate(
PKIX_ComCertSelParams *params,
PKIX_PL_Cert *cert,
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 25
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11 *DESCRIPTION: * *RetrievesapointertotheDate(ifany)representingthecertificate *validitycriterionthatissetintheComCertSelParamsobjectpointedtoby *"params"andstoresitat"pDate".Inordertomatchagainstthis *criterion,acertificate'svalidityperiodmustincludethecriterion's *Date. * *If"params"doesnothavethiscriterionsetjava.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 79 *"pDate",inwhichcaseallcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosecertificatevalidityIfcriterionspecified,itisnecessaryspecify *(ifany)istobestored.Mustbenon-NULL. *"pDate" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextjava.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 14 *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
(
PKIX_ComCertSelParams *params,
PKIX_PL_Date **pDate, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetCertificateValid *DESCRIPTION: * *Setsthecertificatevaliditycriterionofthejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 3 to"params"usingaDatepointedto"ate"Into *matchagainstthiscriterion,acertificate'svalidityperiodmustinclude *thecriterion'sDate. * *If"date"isNULL,allcertificatesareconsideredtomatchthiscriterion. * *PARAMETERS: " *AddressofComCertSelParamsobjectwhosecertificatevaliditycriterion *istobeset.Mustbenon-NULL. *"date" ssofDateusedtosetthecriterion *(orNULLtodisablethecriterion). *"plContext" *Platformp"thissetjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 78 *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *Returnsjava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 79 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetCertificateValid(
PKIX_ComCertSelParams *params,
PKIX_PL_Date *date, void *plContext);
/* * * THREADjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 *DESCRIPTION: * *SetstheserialnumbercriterionoftheComCertSelParamsobjectpointedto *by"params"usingaBigIntpointedtoby"serialNumber".Inordertomatch *againstthiscriterion,acertificatemusthaveaserialnumberequalto *thecriterion'sserialnumber. * *If"serialNumber"isNULL,allcertificatesareconsideredtomatchthis *. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseserialnumbercriterionisto *beset.Mustbenon-NULL. *"serialNumber" *AddressofBigIntusedtosetthecriterion disablecriterion) *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
* whichjava.lang.StringIndexOutOfBoundsException: Range [55, 51) out of bounds for length 75
PKIX_ComCertSelParams_SetSerialNumber(
PKIX_ComCertSelParams *params,
PKIX_PL_BigInt *serialNumber, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetVersion *DESCRIPTION: * *RetrievesaPKIX_UInt32(ifany)representingtheversioncriterionthatis *setintheComCertSelParamsobjectpointedtoby"params"andstoresitat *"pVersion".Inordertomatchagainstthiscriterion,acertificate's *java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 53 * *Theversionnumberwilleitherbe0,1,or2(correspondingto *v1,v2,orv3,respectively). *If"params"doesnothavethiscriterionset,thisfunctionstores *0xFFFFFFFFat"pVersion",inwhichcaseallcertificatesareconsidered *tomatchthiscriterion. * *PARAMETERS: *"params" *Addressofjava.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 0 *tobestored.Mustbenon-NULL. *"pVersion" *Address*Setstheserial criteriontheComCertSelParamsobjectpointedto *pjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15 *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 2 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetVersion(
PKIX_ComCertSelParams *params,
PKIX_UInt32 *pVersion, void *plContext);
/* ofBigInttosetthecriterion *DESCRIPTION: * *SetstheversioncriterionoftheComCertSelParamsobjectpointedtoby *"params"usingtheintegervalueof"version".Inordertomatchagainst *thiscriterion,acertificate'sversionmustbeequaltothecriterion's *version.Ifthecriterion'sversionis-1,noversioncheckisdoneand *allcertificatesareconsideredtomatchthiscriterion. * java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 *"params" *AddressofComCertSelParamsobjectwhoseversioncriterionistobe *set.Mustbenon-NULL. *"version" *ValueofPKIX_Int32usedtosetthecriterion *(or-1todisablethecriterion). *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"params" java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 57 *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetVersion(
PKIX_ComCertSelParams java.lang.StringIndexOutOfBoundsException: Range [33, 31) out of bounds for length 33
PKIX_Int32 version, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetKeyUsage *DESCRIPTION: * *RetrievesaPKIX_UInt32(ifany)representingthekeyusagecriterionthat java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 12 *at"pKeyUsage".Inordertomatchagainstthiscriterion,acertificate *mustallowthecriterion'skeyusagevalues.Notethatacertificatethat *hasnoKeyUsageextensionimplicityallowsallkeyusages.Notealsothat *thisfunctionssupportsamaximumof32keyusagebits. * *If"params"doesnothavethiscriterionset,thisfunctionstoreszeroat *"pKeyUsage",inwhichcaseallcertificatesareconsideredtomatchthis *criterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosekeyusagecriterion(ifany) *istobestored.Mustbenon-NULL. *"pKeyUsage" *AddresswherePKIX_UInt32willbestored.Mustnotbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADjava.lang.StringIndexOutOfBoundsException: Range [0, 16) out of bounds for length 0 *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. failsinunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetKeyUsage(
PKIX_ComCertSelParams *params,
java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 31 void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetKeyUsage *DESCRIPTION: * *SetsthekeyusagecriterionoftheComCertSelParamsobjectpointedtoby *"params"usingtheintegervalueof"keyUsage".Inordertomatchagainst *thiscriterion,acertificatemustallowthecriterion'skeyusagevalues. *NotethatacertificatethathasnoKeyUsageextensionimplicityallows allkeyusages.Notealsothatthisfunctionssupportsamaximumof32key *usagebits. * *Ifthecriterion'skeyusagevalueiszero,nokeyusagecheckisdoneand *allcertificatesareconsideredtomatchthiscriterion. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosekeyusagecriterionistobe *set.Mustbenon-NULL. *"keyUsage" *ValueofPKIX_Int32usedtosetthecriterion *(orzerotodisablethecriterion). *"plContext" *Platform-specificcontextpointer. *java.lang.StringIndexOutOfBoundsException: Range [29, 27) out of bounds for length 78 *java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_SetKeyUsage(
PKIX_ComCertSelParams *params,
PKIX_UInt32 , void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_GetExtendedKeyUsage *DESCRIPTION: * *RetrievesapointertotheListofOIDs(ifany)representingtheextended *keyusagecriterionthatissetintheComCertSelParamsobjectpointedto andjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 79 *criterion,acertificate'sExtendedKeyUsageextensionmustallowthe *criterion'sextendedkeyusages.Notethatacertificatethathasno *ExtendedKeyUsageextensionimplicityallowsallkeypurposes. * *If"params"doesnot* *"pExtKeyUsage",inwhichcaseallcertificatesareconsideredtomatch *this.
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *NotethattheListreturnedbythisfunctionisimmutable. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhoseextendedkeyusage*THREADSAFETY: *(ifany)istobestored.Mustbenon-NULL. *"pExtKeyUsage" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanjava.lang.StringIndexOutOfBoundsException: Index 56 out of bounds for length 31
*/
PKIX_Error *
PKIX_ComCertSelParams_GetExtendedKeyUsage(
java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
PKIX_List **pExtKeyUsage, /* list of PKIX_PL_OID */
plContext;
/* *FUNCTION:PKIX_ComCertSelParams_GetMatchAllSubjAltNames *DESCRIPTION: *Safe-assumesaccessto"java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 *CheckswhethertheComCertSelParamsobjectpointedtoby"params"indicate *thatallsubjectalternativenamesaretobematchedandstorestheBoolean Returnsfunctionfailsinfatalway. *subjectalternativenamescriterion. * *Inordertomatchagainstthesubjectalternativenamescriterion,ifthe Booleanvalueat"pMatch"isPKIX_TRUE,acertificatemustcontainallof *thecriterion'ssubjectalternativenames.IftheBooleanvalueat *"pMatch"isPKIX_FALSE,acertificatemustcontainatleastoneofthe *criterion'ssubjectalternativejava.lang.StringIndexOutOfBoundsException: Range [0, 41) out of bounds for length 2 *Booleanvalueat"pMatch"isPKIX_TRUE. *
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14 *"params" *Addressoftodeterminewhetherall *subjectalternativenamesmustbematched.Mustbenon-NULL. *"pMatch" *,certificatejava.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 78 *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaCertSelectorErrorifthefunctionfailsinanonjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_ComCertSelParams_GetMatchAllSubjAltNames(
PKIX_ComCertSelParams *params,
PKIX_Boolean *pMatch, void *plContext);
/* *FUNCTION:PKIX_ComCertSelParams_SetMatchAllSubjAltNames *DESCRIPTION: * *SetsthematchflagoftheComCertSelParamsobjectpointedtoby"params" *usingtheBooleanvalueof"match".ThisBooleanvaluedeterminesthe *behaviorofthesubjectalternativenamescriterion. * *Inordertomatchagainstthesubjectalternativenamescriterion,ifthe *"match"isPKIX_TRUE,acertificatemustcontainallofthecriterion's *subjectalternativenames.Ifthe"match"isPKIX_FALSE,acertificate *mustcontainatleastoneofthecriterion'ssubjectalternativenames. *Thedefaultbehaviorisasif"match"isPKIX_TRUE. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectwhosematchflagistobeset. *Mustbenon-NULL. *"match" *Booleanvalueusedtosetthematchflag. *"lContextjava.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_SetMatchAllSubjAltNames(
PKIX_ComCertSelParams *params,
PKIX_Boolean match, void *plContext); *(or to ).
/* *FUNCTION:PKIX_ComCertSelParams_GetLeafCertFlag *DESCRIPTION: * *Return"leafCert"flagoftheComCertSelParamsstructure.Ifsettotrue, *theflagindicatesthataselectorshouldfilteroutallcertthatarenot *qualifiedtobealeafcertaccordingtothespecifiedkey/ekeyusages. * *PARAMETERS: *"params" *AddressofComCertSelParamsobjectusedtodeterminewhetherall *alternativemustbematched.Mustbenon-NULL. *"pLeafFlag" *Addressofreturnedvalue. *"lContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *seeThreadSafetyDefinitionsinProgrammer'sGuide)) *RETURNS: *ReturnsNULLif/java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *ReturnsaCertSelectorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error*
PKIX_ComCertSelParams_GetLeafCertFlag
PKIX_ComCertSelParamsparamsjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
pLeafFlag 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.109Bemerkung:
¤
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.