ResourceCallbackArgs.computeSha256 Method

Module: ResourceCallbackArgs

Definition

Computes the SHA-256 of the external resource’s data.

compute_sha256(self) -> str

Returns

str
A string that contains the SHA-256.

Exceptions

An error has occurred during Bioseal Library execution.
String computeSha256()

Returns

String
A string that contains the SHA-256.

Exceptions

An error has occurred during Bioseal Library execution.
public string ComputeSha256()

Returns

string
A string that contains the SHA-256.

Exceptions

An error has occurred during Bioseal Library execution.
public String computeSha256() throws BiosealException

Returns

String
A string that contains the SHA-256.

Exceptions

An error has occurred during Bioseal Library execution.
public func computeSha256() throws -> String

Returns

String
A string that contains the SHA-256.

Exceptions

An error has occurred during Bioseal Library execution.
int id3BiosealResourceCallbackArgs_ComputeSha256 (
    ID3_BIOSEAL_RESOURCE_CALLBACK_ARGS hResourceCallbackArgs,
    char * result,
    int * resultSize)

Parameters

in Handle to the ResourceCallbackArgs object.

result char *
out A string that contains the SHA-256.

resultSize int *
in Size of the ‘result’ buffer. Receives the minimum required buffer size to hold the ‘result’ string if the given one is too small (including the terminating NULL character), otherwise receives the number of characters in ‘result’ (excluding terminating NULL character).

Returns

int
An error code.
See id3BiosealError file for the list of possible error codes.