Skip to content
Back to top

# DecryptionCallbackHandler Callback

## Definition

Represents the method that will handle a decryption callback.

    decryption_callback_handler(context: object, args: DecryptionArgs) -> int

Parameters

`context` object
in The callback context.
`args` DecryptionArgs
in The decryption callback arguments. See DecryptionArgs for details.

Returns

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

    typedef DecryptionCallbackHandler = int Function(Object context, DecryptionArgs args)

Parameters

`context` Object
in The callback context.
`args` DecryptionArgs
in The decryption callback arguments. See DecryptionArgs for details.

Returns

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

    public delegate int _DecryptionCallbackHandler(IntPtr context, IntPtr args);

Parameters

`context` IntPtr
in The callback context.
`args` DecryptionArgs
in The decryption callback arguments. See DecryptionArgs for details.

Returns

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

    @FunctionalInterface
    public interface DecryptionCallbackHandler {
        int callback(Object context, DecryptionArgs args)
    }

Parameters

`context` Object
in The callback context.
`args` DecryptionArgs
in The decryption callback arguments. See DecryptionArgs for details.

Returns

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

    public func decryptionCallbackHandler(context: void, args: DecryptionArgs) throws

Parameters

`context` void
in The callback context.
`args` DecryptionArgs
in The decryption callback arguments. See DecryptionArgs for details.

Returns

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

    typedef int (* id3BiosealDecryptionCallbackHandler) (
        void * context,
        ID3_BIOSEAL_DECRYPTION_ARGS hArgs)

Parameters

`context` void *
in The callback context.
`hArgs` ID3_BIOSEAL_DECRYPTION_ARGS
in The decryption callback arguments. See DecryptionArgs for details.

Returns

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