public abstract class CustomSign
extends com.aspose.ms.System.MulticastDelegate
Delegate for custom sign the document (Beta).
| Constructor and Description |
|---|
CustomSign() |
| Modifier and Type | Method and Description |
|---|---|
com.aspose.ms.System.IAsyncResult |
beginInvoke(byte[] hash,
DigestHashAlgorithm digestHashAlgorithm,
com.aspose.ms.System.AsyncCallback callback,
Object state) |
byte[] |
endInvoke(com.aspose.ms.System.IAsyncResult result) |
abstract byte[] |
invoke(byte[] data,
DigestHashAlgorithm digestHashAlgorithm)
Delegate for custom hash and sign the document (Beta).
|
getInvocationList, op_Equality, op_Inequalitypublic abstract byte[] invoke(byte[] data,
DigestHashAlgorithm digestHashAlgorithm)
Delegate for custom hash and sign the document (Beta).
data - Input data of the document (not hash).digestHashAlgorithm - The digest algorithm used to create the hash. The value will never be equal to {DigestHashAlgorithm#Auto}.
Note that whether the digital signature is detached or not, the data argument will always be the final data to be hashed and signed.
public final com.aspose.ms.System.IAsyncResult beginInvoke(byte[] hash,
DigestHashAlgorithm digestHashAlgorithm,
com.aspose.ms.System.AsyncCallback callback,
Object state)
public final byte[] endInvoke(com.aspose.ms.System.IAsyncResult result)
Copyright © 2025 Aspose. All Rights Reserved.