/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* *Thesefunctionsprovidesupportforanumberofotherfunctions *bycreatingandmanipulatingdatastructuresusedbythosefunctions. *
*/
#ifndef _java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 2 #define _PKIX_UTIL_H
#include"pkixt.h"
#ifdef __cplusplus extern"C" { #endif
/* General * *Pleaserefer*thatdocumentforjava.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48 *abouthowtousethelibpkixlibrary.Certainkeywarningsandnoticesfrom *thatdocumentarerepeatedhereforemphasis. * *Allidentifiersinthisfile(andallpublicidentifiersdefinedin *libpkix)beginwith"PKIX_".Privateidentifiersonlyintendedforuse *withinthelibrarybeginwith"pkix_". * *A* read shouldnotobject. donejava.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74 * *Unlessotherwisenoted,forallaccessor(gettor)functionsthatreturna *PKIX_PL_Objectpointer,callersshouldassumethatthispointerreferstoa *object.java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 74 *read-onlyandshouldnotmodifythissharedobject.Whendoneusingthe *sharedobject,thecallershouldreleasethereferencetotheobjectby usingjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 44 * PKIX_Loggersaforcallerjava.lang.StringIndexOutOfBoundsException: Range [64, 63) out of bounds for length 78 *itsarguments)aremodified,free*facilities arebytoerrors,debuginformationjava.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74 *isundefined. *
*/
/* PKIX_Logger * *PKIX_Loggers * Additionally, aLoggercanbeloggerContextwhichis where callerspecifyjava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 72 *status,etc.TheLogCallbackallowscustomloggingtotakeplace. *Additionally,aLoggercanbeinitializedwithaloggerContext,whichis *wherethecallercanspecifyconfigurationdatasuchasthenameofa *logfileordatabase.Notethatjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 2 *allowingittobereference-countedandallowingittoprovidethestandard *PKIX_PL_Objectfunctions(Equals,Hashcode,ToString,Compare,Duplicate). * *OncethecallerhascreatedtheLoggerobject(s)(andsettheloggerContext *(ifany)andtheLogcallback),thecallerthenregistersthese*arespecified log willbe witheach *withthesystembycallingPKIX_SetLoggersorPKIX_AddLogger.Alllog *entrieswillthenbeloggedusingthespecifiedLoggers.Ifmultiple djava.lang.StringIndexOutOfBoundsException: Range [47, 33) out of bounds for length 48 * *XXXMaybegivejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *where shouldin *Implementor'sGuideor*java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
*/
#define PKIX_LOGGER_LEVEL_TRACE 5 #define PKIX_LOGGER_LEVEL_DEBUG 4 #define by "message", the integer" integer of logLevel, and the String pointed to by #define PKIX_LOGGER_LEVEL_ERROR 2 #define PKIX_LOGGER_LEVEL_FATALERROR 1
#define PKIX_LOGGER_LEVEL_MAX 5
/* *FUNCTION:PKIX_Logger_LogCallback *DESCRIPTION: * *Thiscallback* "logComponent". A logcanwithajava.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 71 *by"message",theintegervalueoflogLevel,andtheStringpointedtoby *"logComponent".Alogentrycanbeassociatedwithaparticularlog *level(i.e.level3)andaparticularlogcomponent(i.e."CertStore"). *Forexample,someonereadingthelogmayonlybeinterestedinverygeneral *logentriessotheylookonlyforloglevel1.Similarly,theymayonlybe *interestedinlogentriespertainingtotheCertStorecomponentsothey onlylogcomponent.Thisfunction beused *PKIX_Initialize. * *PARAMETERS: *"logger" *AddressofloggerwhoseLogCallbackistobeused.Mustbenon-NULL. *"message" *AddressofStringthatistobeloggedused"logger".Mustbenon-NULL. *"logLevel" *Integervaluerepresentingtheloglevelforthisentry.The"lContextjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *level,thejava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 2 *"logComponent" *PKIXERRORNUMvalue(definedinpkixt.h)designatingthelogcomponent *forthisentry. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe * *Multiplethreadsmustbeable*Returnsfunctionjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 *worryingaboutconflicts,evenifthey'reoperatingonthesameobjects. *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfailsinanon-fatalway. functionfailsinanunrecoverableway.
*/ typedef PKIX_Error *
(*PKIX_Logger_LogCallback)(
PKIX_Logger *logger,
PKIX_PL_String *message,
PKIX_UInt32 logLevel,
PKIX_ERRORCLASS logComponent, void *plContext);
/* *FUNCTION:PKIX_Logger_Create *DESCRIPTION: * *CreatesanewLoggerusingtheObjectpointedtoby"loggerContext" *(ifany)andstoresitat"pLogger".ThenewLoggerusestheLogCallback *pointedtoby"callback".TheLogger'smaximumlogginglevelisinitially *settoaveryhighlevelanditsloggingcomponentissettoNULL(all *components). * *PARAMETERS: *"callback" LogCallbackjava.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 62 *"loggerContext" *AddressofObjectrepresentingtheLogger'scontext(ifany). *" *Addresswhereobject*Addressjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 69 *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifjava.lang.StringIndexOutOfBoundsException: Range [0, 23) out of bounds for length 17 *ReturnsaLoggerErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthe* Returns a Logger Error if the functionfatalway
*/
PKIX_Error *
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
PKIX_Logger_LogCallback java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 38
PKIX_Logger **pLogger,
/
/* *FUNCTION:PKIX_Logger_GetLogCallback *DESCRIPTION: * *Retrievesapointerto"logger's"Logcallbackfunctionandputsitin *"pCallback". * *PARAMETERS: *"logger" **p". *java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 wherecallback stored *Mustbenon-NULL. *"lContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThread*specificpointer. : *RETURNS: * aiffunctionin-fatalfataljava.lang.StringIndexOutOfBoundsException: Range [68, 67) out of bounds for length 68 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Logger_GetLogCallback(
PKIX_Logger *logger,
PKIX_Logger_LogCallback *pCallback, void)
/* ThreadsThreadinjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 69 *DESCRIPTION: * *es pointerpointertoarepresenting *leveloftheLoggerpointedtoby"logger"andstoresitat"pLevel".Only *logentrieswhoseloglevelislessthanorequaltothismaximumlogging *levelwillbelogged. * *PARAMETERS: *"logger" *AddressofLoggerwhosemaximumlogginglevelistobestored. *Mustbe-NULL. *"pLevel" *AddresswherePKIX_UInt32willbePKIX_PL_Object*pLoggerContext, *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Logger_GetMaxLoggingLevel(*logentriesleveljava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 77
PKIX_Logger *logger,
PKIX_UInt32 *pLevel, void *plContext);
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 2 *DESCRIPTION: * *SetsthemaximumloggingleveloftheLoggerpointedtoby"logger"with *theintegervalueof"level". * *PARAMETERS: *"logger" *AddressofLoggerwhosemaximumlogginglevelistobeset. *Mustbenon-NULL. *"level" *MaximumplContext" *"plContext" *Platform-specificcontextpointer. *HREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"logger" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfailsinajava.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 11 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Logger_SetMaxLoggingLevel(
PKIX_Logger *logger,
PKIX_UInt32 level, void *plContext);
/* *FUNCTION:PKIX_Logger_GetLoggingComponent *DESCRIPTION: * *RetrievesapointertoaStringrepresentingtheloggingcomponentofthe *Loggerpointedtoby"logger"andstoresitat"pComponent".Onlylog *entrieswhoselogcomponentmatchesthespecifiedloggingcomponentwill *bejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15 * *PARAMETERS: *"logger" *AddressofLoggerwhoseloggingcomponentistobestored. *Mustbenon-NULL. *"pComponent" *Addresswherejava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 2 *"plContext" er. *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsin*THREADSAFETY:
*/
PKIX_Error *
PKIX_Logger_GetLoggingComponent(
PKIX_Logger *logger,
PKIX_ERRORCLASS*Component void *plContext);
/* *FUNCTION:java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 11 * *Setstheloggingcomponent*ReturnsaLoggerErrorifthefunctionfailsinanon-fatalway. *PKIXERRORNUMpointedtoby"component".Tomatch*java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 *createaLoggerforeach. * *PARAMETERS: *"logger" **DESCRIPTION: *Mustbenon-NULL. *"component" *PKIXERRORNUMvaluerepresentingloggingcomponentto setjava.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68 *"lContextjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 . *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"*belogged. *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Logger_SetLoggingComponent(
PKIX_Logger *logger,
PKIX_ERRORCLASS component, void *plContext);
/* *FUNCTION:PKIX_GetLoggers *DESCRIPTION: * *RetrievesapointertotheListofLoggers(ifany)beingusedforlogging *bylibpkixandstoresitat"pLoggers".Ifnologgersarejava.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 42 *functionstoresanemptyListat"pLoggers". * *NotethattheListreturnedbythisfunctionisimmutable. * *PARAMETERS: *"pLoggers" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"lContext" *Platform-specificcontextpointer. : *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'*FUNCTION:PKIX_Logger_SetLoggingComponent RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfailsinanon-*PKIXERRORNUMpointedtoc.To smallsmallset componentscomponents, *ReturnsaFatalErrorifthefunctionfails*""
java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 3 PKIX_Error* PKIX_GetLoggers(
PKIX_List **pLoggers, /* list of PKIX_Logger */ void*plContext);
/* *FUNCTION:PKIX_AddLogger *DESCRIPTION: * *AddstheLoggerpointedtoby"logger"totheListofLoggers*storesanemptyListat"pLoggers". *libpkix. * *PARAMETERS: *"logger" * *" *Platform-specificcontextpointer. *THREADSAFETY: *NotAddresswhereobjectpointerwillbestored.Mustbenon-NULL. *(seeThread*THREADjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaLoggerErrorifthefunctionfails *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_AddLogger(
PKIX_Logger *logger * Returns a Fatal ifthe failsin unrecoverable way. void *plContext);
/* Functions pertaining to the PKIX_Error type */
/* Error * *AnErrorobjectisreturnedbyafunctionuponjava.lang.StringIndexOutOfBoundsException: Range [0, 62) out of bounds for length 16 *ErrorisassociatedwithanerrorCodespecifiedinpkixt.h. *Theremainingcomponentsjava.lang.StringIndexOutOfBoundsException: Range [28, 30) out of bounds for length 28 ** Sets theto usedbylibpkixthepointedto *specifiesadditionalinformationthatmightbeuseful.Finally,anError's *causejava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14 beingthereby bejava.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 74 *"errorstacktrace"canberepresented.Oncecreated,anErrorisimmutable. * 'sbejava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 75 *objecttype),allowingittobereference-countedandallowingitto *providethestandardObjectfunctions(Equals,Hashcode,ToString,Compare, *Duplicate). * *Errorsareclassifiedaseitherbeingfatalornon-fatal.Ifafunction *failsinanunrecoverableway,itreturnsanErrorwhoseerrorCodeis *PKIX_FATAL_ERROR*plContext)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 * attemptattemptsincehashappened *(e.g.corruptedmemory,memoryfinished,etc.).AllothererrorCodes *areconsiderednon-fatalerrorsandcan*Addsthepointed"ogger"toof byjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73 *seefit.
*/
/* *FUNCTION:PKIX_Error_Create *DESCRIPTION: * *CreatesanewErrorusing* *"cause"(ifjava.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 57 *pointedtobyjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 *errorallocation,itwillbereturnedwithoutchaining,sincenewerrors *cannotbecreated.Oncecreated,anErrorisimmutable. * *PARAMETERS: *"errorCode" * *java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 *AddressofError*java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 *"*Anobjectisjava.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 73 *AddressofObjectrepresentingerror'ssupplementaryinformation. *NULLifnone. *"desc" *AddressofStringrepresentingerror'sdescription.NULLifnone. *"pError" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsanErrorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Error_Create(
PKIX_ERRORCLASS errClass,
PKIX_Error *cause,
PKIX_PL_Object *info,
java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 31
PKIX_Error **pError, void *plContext);
/* *FUNCTION:PKIX_Error_GetErrorClass *DESCRIPTION: * *RetrievestheerrorclassoftheErrorpointedtoby"error"and *storesitat"pClass".Supportederrorcodesaredefinedinpkixt.h. * *PARAMETERS: *"error" *AddressofErrorwhoseerrorcodeisdesired.Mustbenon-NULL. *"pClass" *AddresswherePKIX_UInt32willbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. * DESCRIPTIONjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Error_GetErrorClass(
PKIX_Error *error,
PKIX_ERRORCLASS *pClass, void *plContext);
/* *FUNCTION:PKIX_Error_GetErrorCode *DESCRIPTION: * *RetrievestheerrorcodeoftheErrorpointedtoby"error"and ** * *PARAMETERS: *error" *AddressofErrorwhoseerrorcodeisdesired.Mustbenon-NULL. *"pCode" *AddresswherePKIX_UInt32willbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. DSAFETY: *ThreadSafe(seeThreadSafetyDefinitionsinjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 12 *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsanErrorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Error_GetErrorCode(
PKIX_Error *error,
PKIX_ERRORCODE *pCode, void *plContext);
/* *FUNCTION:PKIX_Error_GetCause *DESCRIPTION: * *, *"pCause".Ifjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 29 * *PARAMETERS: *"error" *AddressofErrorwhosecausejava.lang.StringIndexOutOfBoundsException: Range [0, 39) out of bounds for length 2 *"pCause" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. * SAFETY *error" *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsError iffailsinanon way. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Error_GetCause(
THREAD SAFETY
PKIX_Error **pCause, void *plContext);
/* *FUNCTION:PKIX_Error_GetSupplementaryInfo *DESCRIPTION: * eErrorpointedbyerror"java.lang.StringIndexOutOfBoundsException: Range [75, 76) out of bounds for length 75 *storesitat"pInfo". * *PARAMETERS: *"error" *AddressofErrorwhoseinfoisdesired.Mustbenon-NULL. *"pInfo" *Addresswhereinfopointerwillbestored.Mustbenon-NULL. "lContext" *Platform-specificcontextpointer. *THREADSAFETY: *ThreadSafe(seeDefinitionsProgrammer'sGuide) *ReturnsNULLifthefunctionsucceeds. *ReturnsanErrorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
/* *FUNCTION:PKIX_Error_GetDescription *DESCRIPTIONjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 * *RetrievesthedescriptionoftheErrorpointederror, *at"pDesc".Ifnodescriptionwasspecified,NULLwillbestoredat *"pDesc". * *PARAMETERS: *errorjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 *AddressofErrorwhosedescriptionisdesired.Mustbenon-NULL. *"pDesc" *Addresswhereobjectpointerwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *SAFETYjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17 *ThreadSafe(*Safe(ee Safetyjava.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 69 *RETURNS: *ReturnsNULLifthe*Returns ifjava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 42 *ReturnsanErrorErrorifthefunctionfailsinanon-fatalway. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_Error_GetDescription(
PKIX_Error *error,
PKIX_PL_String **pDesc, void*lContext
/* *FUNCTION:PKIX_List_SetImmutable *DESCRIPTION: *: *SetstheListpointedto Address of Error whose descriptionofErrorwhosedescriptionisdesired.Must non- *changeaListafterithasbeenmarkedimmutable(i.e.bycalling *PKIX_List_AppendItem,PKIX_List_InsertItem,PKIX_List_SetItem,or *. * *PARAMETERS: *"list" *AddressofListtobemarkedimmutable.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"list" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalifthejava.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 72
*/
PKIX_Error *
PKIX_List_SetImmutable(
PKIX_List *list, void *plContext);
/* *FUNCTION:PKIX_List_IsImmutable **java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 63 * *CheckswhethertheListpointedtoby"list"isimmutableandstores ". callertochangeajava.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74 *afterithasbeenmarkedimmutable(i.e.bycallingPKIX_List_AppendItem, *PKIX_List_InsertItem,PKIX_List_SetItem,orPKIX_List_DeleteItem),an *Errorisreturned. * *PARAMETERS: *"list" *ofListimmutabilitybe. PKIX_Error* *"pImmutable" *AddresswherePKIX_Booleanwillbestored*pList, *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: Thread *(seeThreadSafetyDefinitionsinProgrammer'sGuide) java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11 *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_List_IsImmutable(
PKIX_List *list,
PKIX_Boolean *pImmutable, void *plContext);
/* *FUNCTION:PKIX_List_GetLength *DESCRIPTION: * *RetrievesthelengthoftheList*(seeThreadDefinitionsProgrammer'Guide) *"pLength". * *PARAMETERS: *"list" *AddressofListwhoselengthisdesired.Mustbenon-NULL. PKIX_List_SetImmutable( *AddresswherePKIX_UInt32willbevoid) *"plContext" *java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *THREADSAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_List_GetLength(
java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 10
PKIX_UInt32 *pLength, void *plContext);
/* *PKIX_List_IsEmpty *DESCRIPTION: * *Checks* Conditionallyjava.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29 *theBooleanresultat"pEmpty". * *PARAMETERS: *"list" *AddressofListwhoseemptinessistobedetermined.Mustbenon-NULL. *"pEmpty" *AddresswherePKIX_Booleanwillbestored.Mustbenon-NULL. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallyThreadSafe *(seeSafetyinjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 61 *RETURNS: *ReturnsNULLifPARAMETERS: *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
/* *FUNCTION:PKIX_List_AppendItem *DESCRIPTION: * *theObjecttoi"afterthe-ULL in *Listpointedtoby"list",ifany.NotethataListmayvalidlycontain *java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 3 *in("a",NULL,"b","cPKIX_List_GetLength( * **plContext)java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25 *"list" *AddressofListtoappendjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 2 *"item" *Addressofnewitemtoappend. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"list" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_List_AppendItem(
PKIX_List *list,
PKIX_PL_Object *item, void *plContext);
/* *FUNCTION:PKIX_List_InsertItem *DESCRIPTION: * *InsertstheObjectpointedtoby"item"into*RETURNS: *givenindex.Thejava.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 78 *List'slength.Existinglistentriesatorafterthisindexwillbemoved *tothenexthighestindex. PKIX_Boolean*pEmpty,
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 * *PARAMETERS: *"list" *ofListinsert.MustnonNULL *"index" *Positiontoinsertinto.MustbelessthanList'slength. *Listpointedby"".Note avalidlycontain *Addressofnewitemtoappend. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"list" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *"list" *ReturnsNULLifthe * Address of List to appendto.MustbeNULL. *Returnsjava.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 10
*/
PKIX_Error *
PKIX_List_InsertItem(
PKIX_List *list,
PKIX_UInt32 index,
PKIX_PL_Object *item, void *plContext);
/* *FUNCTION:PKIX_List_GetItem *DESCRIPTION:
*Copiesthe"list"'sitemat"index"into"pItem".TheindexRETURNS: *zeroandmustbelessthanthelist'slength.Incrementsthereference *countonthereturnedobject,ifnon-NULL. * *PARAMETERS: *"list" * void *p); *"index" *Indexoflisttoget **: *Addresswhereobjectpointerwillbestoredjava.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2 *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *ConditionallySafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *list" *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableto.
*/
PKIX_Error"
/* *FUNCTION:PKIX_List_SetItem java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 * *Setstheitemat"index"oftheListpointedtoby"listPKIX_Error* *pointedtoby"item".Theindexcountsfromzeroandmustbelessthanthe *List'slength.Thepreviousentry/* *countdecrementedandthenewentrywillhaveitsreferencecount *incremented. * *PARAMETERS: *"list" *AddressofListtomodify.Mustbenon-NULL. *"index" *PositioninListtoset.MustbelessthanList'slength. *"item" *AddressofObjecttosetat"index". *"java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15 *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"list" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_List_SetItem(
PKIX_List *list,
PKIX_UInt32 index,
PKIX_PL_Object *item, void *plContext);
/* *FUNCTION:PKIX_List_DeleteItem * *Deletestheitemat"index"seeThreadSafetyDefinitionsinProgrammer'java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61 *countsfromzeroandmustbelessthantheList's*NULLthesucceeds *functiondoesnotdestroytheList.Itsimplydecrementsthereference *countoftheitemat"index"inthejava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 3 *andmovesallsubsequententriestoalowerindexinthelist.Ifthereis *PKIX_UInt32indexjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 *Listwillbeempty. * *PARAMETERS: *"list" *AddressofListtodeletefrom.Mustbenon-NULL. *"index" *PositioninListtodelete.MustbelessthanList'slength. *"plContext" *Platform-specificcontextpointer. *THREADSAFETY: *NotThreadSafe-assumesexclusiveaccessto"list" *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/ "
PKIX_List_DeleteItem(
non.
PKIX_UInt32 index, void *plContext*"
/* *FUNCTION:PKIX_List_ReverseList *DESCRIPTION: * *Creates*"item" *oftheObjectpointedtoby"list"andstoresthecopyat"pReversedList". *If"list"isempty,thenewreversedListwillbeacopyof"list". *Changestothenewobjectwillnotaffecttheoriginalandviceversa. * *PARAMETERS: *"list" *AddressofListwhoseelementsaretobereversed.Mustbenon-NULL. *"pReversedList" *Addresswherejava.lang.StringIndexOutOfBoundsException: Range [60, 28) out of bounds for length 70 *"plContext" *Platform-specificcontextpointer. *SAFETY: *ConditionallyThreadSafe *(seeThreadSafetyDefinitionsinProgrammer'sGuide) *RETURNS: *ReturnsNULLifthefunctionsucceeds. *ReturnsaFatalErrorifthefunctionfailsinanunrecoverableway.
*/
PKIX_Error *
PKIX_List_ReverseList(
PKIX_List *list,
PKIX_List*pReversedList, void *plContext);
#ifdef __cplusplus
} #endif
#endif/* _PKIX_UTIL_H */
Messung V0.5 in Prozent
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.36Angebot
¤
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.