Package | Description |
---|---|
com.aspose.pdf |
The com.aspose.pdf is a root package for all classes of Aspose.PDF for Java library
which are either directly in it like
Document or indirectly through several
subpackages. |
Modifier and Type | Method and Description |
---|---|
static DigestHashAlgorithm |
DigestHashAlgorithm.getByValue(int value) |
DigestHashAlgorithm |
TimestampSettings.getDigestHashAlgorithm()
Gets/sets the digest algorithm for internal hash functions.
|
static DigestHashAlgorithm |
DigestHashAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigestHashAlgorithm[] |
DigestHashAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
com.aspose.ms.System.IAsyncResult |
CustomSign.beginInvoke(byte[] hash,
DigestHashAlgorithm digestHashAlgorithm,
com.aspose.ms.System.AsyncCallback callback,
Object state) |
com.aspose.ms.System.IAsyncResult |
SignHash.beginInvoke(byte[] hash,
DigestHashAlgorithm digestHashAlgorithm,
com.aspose.ms.System.AsyncCallback callback,
Object state) |
abstract byte[] |
CustomSign.invoke(byte[] data,
DigestHashAlgorithm digestHashAlgorithm)
Delegate for custom hash and sign the document (Beta).
|
abstract byte[] |
SignHash.invoke(byte[] hash,
DigestHashAlgorithm digestHashAlgorithm)
Delegate for custom sign the document hash (Beta).
|
void |
TimestampSettings.setDigestHashAlgorithm(DigestHashAlgorithm value)
Gets/sets the digest algorithm for internal hash functions.
|
Constructor and Description |
---|
ExternalSignature(String base64,
DigestHashAlgorithm digestHashAlgorithm)
Creates a PKCS#7
(detached) signature using a X509Certificate2 as base64 string. |
ExternalSignature(com.aspose.ms.System.Security.Cryptography.X509Certificates.X509Certificate2 certificate,
DigestHashAlgorithm digestHashAlgorithm)
Creates a detached PKCS#7
(detached) signature using a X509Certificate2. |
ExternalSignature(X509Certificate certificate,
PrivateKey privateKey,
DigestHashAlgorithm digestHashAlgorithm)
Creates a detached PKCS#7
(detached) signature using a java.security.cert.X509Certificate and java.security.PrivateKey. |
PKCS7Detached(DigestHashAlgorithm digestHashAlgorithm)
Initializes new instance of the
PKCS7Detached class. |
PKCS7Detached(InputStream image,
DigestHashAlgorithm digestHashAlgorithm)
Initializes new instance of the
PKCS7Detached class. |
PKCS7Detached(String pfx,
String password,
DigestHashAlgorithm digestHashAlgorithm)
Inititalizes new instance of the
PKCS7Detached class. |
TimestampSettings(String serverUrl,
String basicAuthCredentials,
DigestHashAlgorithm digestHashAlgorithm)
Initializes a new instance of the
TimestampSettings class. |
Copyright © 2025 Aspose. All Rights Reserved.