Vanilla.PDF  2.2.0
Cross-platform toolkit for creating and modifying PDF documents
List of all members
ByteRangeCollectionHandle Class Reference

Represents a collection of ByteRangeHandle. More...

Inheritance diagram for ByteRangeCollectionHandle:
IUnknownHandle
error_type CALLING_CONVENTION ByteRangeCollection_Create (ByteRangeCollectionHandle **result)
 Create an empty ByteRangeCollection.
 
error_type CALLING_CONVENTION ByteRangeCollection_Append (ByteRangeCollectionHandle *handle, ByteRangeHandle *byte_range)
 Append a ByteRange to the end of the collection.
 
error_type CALLING_CONVENTION ByteRangeCollection_Insert (ByteRangeCollectionHandle *handle, size_type at, ByteRangeHandle *byte_range)
 Insert a ByteRange at a specific position in the collection.
 
error_type CALLING_CONVENTION ByteRangeCollection_Remove (ByteRangeCollectionHandle *handle, size_type at)
 Remove a ByteRange at a specific position.
 
error_type CALLING_CONVENTION ByteRangeCollection_Clear (ByteRangeCollectionHandle *handle)
 Remove all ByteRanges from the collection.
 
error_type CALLING_CONVENTION ByteRangeCollection_GetSize (ByteRangeCollectionHandle *handle, size_type *result)
 Get size of byte range collection.
 
error_type CALLING_CONVENTION ByteRangeCollection_GetValue (ByteRangeCollectionHandle *handle, size_type at, ByteRangeHandle **result)
 Get single byte range from array at specific position.
 
error_type CALLING_CONVENTION ByteRangeCollection_Release (ByteRangeCollectionHandle *handle)
 Decrement the internal reference counter.
 

Additional Inherited Members

- Public Member Functions inherited from IUnknownHandle
error_type CALLING_CONVENTION IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

Represents a collection of ByteRangeHandle.

ByteRangeCollection is used to specify exact byte ranges for digest calculation in digital signatures. Multiple discontiguous byte ranges are used to describe a digest that does not include the signature value itself.

Member Function Documentation

◆ ByteRangeCollection_Create()

error_type CALLING_CONVENTION ByteRangeCollection_Create ( ByteRangeCollectionHandle **  result)

Create an empty ByteRangeCollection.

Parameters
resultOutput ByteRangeCollection handle

Friends And Related Symbol Documentation

◆ ByteRangeCollection_Append()

error_type CALLING_CONVENTION ByteRangeCollection_Append ( ByteRangeCollectionHandle handle,
ByteRangeHandle byte_range 
)
related

Append a ByteRange to the end of the collection.

Parameters
handleByteRangeCollection handle
byte_rangeByteRange to append

◆ ByteRangeCollection_Insert()

error_type CALLING_CONVENTION ByteRangeCollection_Insert ( ByteRangeCollectionHandle handle,
size_type  at,
ByteRangeHandle byte_range 
)
related

Insert a ByteRange at a specific position in the collection.

Parameters
handleByteRangeCollection handle
atPosition to insert at
byte_rangeByteRange to insert

◆ ByteRangeCollection_Remove()

error_type CALLING_CONVENTION ByteRangeCollection_Remove ( ByteRangeCollectionHandle handle,
size_type  at 
)
related

Remove a ByteRange at a specific position.

Parameters
handleByteRangeCollection handle
atPosition to remove from

◆ ByteRangeCollection_Clear()

error_type CALLING_CONVENTION ByteRangeCollection_Clear ( ByteRangeCollectionHandle handle)
related

Remove all ByteRanges from the collection.

Parameters
handleByteRangeCollection handle

◆ ByteRangeCollection_Release()

error_type CALLING_CONVENTION ByteRangeCollection_Release ( ByteRangeCollectionHandle handle)
related

Decrement the internal reference counter.

When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.

See also
IUnknown_Release

The documentation for this class was generated from the following file: