Signature.SignHash

Inheritance: java.lang.Object, com.aspose.ms.System.Delegate, com.aspose.ms.System.MulticastDelegate

public abstract class Signature.SignHash extends System.MulticastDelegate

Delegate for custom sign the document hash (Beta).

Constructors

ConstructorDescription
SignHash()

Methods

MethodDescription
invoke(byte[] hash)Delegate for custom sign the document hash (Beta).
beginInvoke(byte[] hash, System.AsyncCallback callback, Object state)
endInvoke(System.IAsyncResult result)

SignHash()

public SignHash()

invoke(byte[] hash)

public abstract byte[] invoke(byte[] hash)

Delegate for custom sign the document hash (Beta).

Parameters:

ParameterTypeDescription
hashbyte[]Input hash of the document.

Returns: byte[] - Output signature.

beginInvoke(byte[] hash, System.AsyncCallback callback, Object state)

public final System.IAsyncResult beginInvoke(byte[] hash, System.AsyncCallback callback, Object state)

Parameters:

ParameterTypeDescription
hashbyte[]
callbackcom.aspose.ms.System.AsyncCallback
statejava.lang.Object

Returns: com.aspose.ms.System.IAsyncResult

endInvoke(System.IAsyncResult result)

public final byte[] endInvoke(System.IAsyncResult result)

Parameters:

ParameterTypeDescription
resultcom.aspose.ms.System.IAsyncResult

Returns: byte[]