Back to the Function Reference Table of Contents

Data Analysis Functions

For analysis of key-blocks, see also:
spgpKeyImport
spgpKeyImportFile

spgpAnalyze

Analyzes data and reports as to whether the data is encrypted, signed, etc.

Visual Basic declaration:

Declare Function spgpanalyze Lib "spgp.dll" (ByVal BufferIn As String) As Long

Parameters:
BufferIn A fixed-length string which will act as a buffer for input.

Notes and Warnings:

up to the top

spgpAnalyzeFile

Analyzes a file and reports as to whether the data is encrypted, signed, etc.

Visual Basic declaration:

Declare Function spgpanalyzefile Lib "spgp.dll" (ByVal FileIn As String) As Long

Parameters:
FileIn The file to be analyzed.

Notes and Warnings:

up to the top

spgpAnalyzeEx

Like spgpAnalyze, this function analyzes data and reports as to whether the data is encrypted, signed, etc. It offers extended functionality by (i) adding return codes to identify conventionally encrypted data and data for which there are no available decryption keys, and (ii) returning via a buffer a report on the keys to which the data has been encrypted.

Visual Basic declaration:

Declare Function spgpanalyzeex Lib "spgp.dll" (
	ByVal BufferIn As String, 
	ByVal BufferOut As String, 
	ByVal BufferOutLen As Long
	) As Long

Parameters:
BufferIn A fixed-length string which will act as a buffer for input.
BufferOut A fixed-length string which will act as a buffer for output.
BufferOutLen Size of BufferOut. If output exceeds BufferOutLen the output will be discarded and the function will return a positive number indicating the size of the output (i.e. the buffer size necessary to hold it).

Notes and Warnings:

up to the top

spgpAnalyzeFileEx

Like spgpAnalyzeFile, this function analyzes a file and reports as to whether the data is encrypted, signed, etc. It offers extended functionality by (i) adding return codes to identify conventionally encrypted data and data for which there are no available decryption keys, and (ii) returning via a buffer a report on the keys to which the data has been encrypted.

Visual Basic declaration:

Declare Function spgpanalyzefileex Lib "spgp.dll" (
	ByVal FileIn As String, 
	ByVal BufferOut As String, 
	ByVal BufferOutLen As Long
	) As Long

Parameters:
FileIn The file to be analyzed.
BufferOut A fixed-length string which will act as a buffer for output.
BufferOutLen Size of BufferOut. If output exceeds BufferOutLen the output will be discarded and the function will return a positive number indicating the size of the output (i.e. the buffer size necessary to hold it).

Notes and Warnings: Please see spgpAnalyzeEx. up to the top


Back to the Function Reference Table of Contents