ICustomSecurityHandlerAuthenticate Method

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

Namespace:  Apitron.PDF.Rasterizer.Security
Assembly:  Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Syntax

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

Parameters

args
Type: Apitron.PDF.Rasterizer.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