ICustomSecurityHandlerAuthenticate Method

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Gets the encryption key. This method is invoked when login information are recieved.

Namespace:  Apitron.PDF.Kit.Security
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

byte[] Authenticate(
	UserDefinedAuthEventArgs args,
	IDictionary<string, Object> privateData,
	string filterName
)

Parameters

args
Type: Apitron.PDF.Kit.SecurityUserDefinedAuthEventArgs
The AuthEventArgs instance containing the event data that has been filled during AuthEventHandler call.
privateData
Type: System.Collections.GenericIDictionaryString, Object
The private data. This data may be used as an additional information to authentificate.
filterName
Type: SystemString
Name of the filter.

Return Value

Type: Byte
The encryption key that will be used for encryption. Returns null if the authentification is failure.
See Also

Reference