Click or drag to resize
SignDocVerificationResultgetBiometricData Method
Get the biometric data of the field.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public byte[] getBiometricData(
	byte[] key,
	string keyPath,
	byte[] passphrase
)

Parameters

key
Type: SystemByte
The key (must be null if @a aKeyPath is not null).
keyPath
Type: SystemString
Pathname of the file containing the key (must be null if @a aKey is not null).
passphrase
Type: SystemByte
Passphrase for decrypting the key contained in the file named by @a aKeyPath. If this argument is null or the empty string, it will be assumed that the key file is not protected by a passphrase. @a aPassphrase is used only when reading the key from a file for @ref SignDocSignatureParameters.be_rsa. The passphrase should contain ASCII characters only.

Return Value

Type: Byte
The decrypted biometric data.
Remarks
Don't forget to overwrite the biometric data in memory after use!
See Also