| Package | Description |
|---|---|
| net.jsign | |
| net.jsign.msi | |
| net.jsign.pe | |
| net.jsign.timestamp |
| Modifier and Type | Method and Description |
|---|---|
static DigestAlgorithm |
DigestAlgorithm.getDefault()
Return the default algorithm (currently SHA-256, SHA-1 has been deprecated since January 1st 2016).
|
static DigestAlgorithm |
DigestAlgorithm.of(ASN1ObjectIdentifier oid)
Return the algorithm matching the specified object identifier.
|
static DigestAlgorithm |
DigestAlgorithm.of(String name)
Parse the specified value and returns the corresponding digest algorithm.
|
static DigestAlgorithm |
DigestAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DigestAlgorithm[] |
DigestAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ASN1Object |
Signable.createIndirectData(DigestAlgorithm digestAlgorithm)
Creates the SpcIndirectDataContent structure containing the digest of the file.
|
net.jsign.PESigner |
PESigner.withDigestAlgorithm(DigestAlgorithm algorithm)
Deprecated.
Set the digest algorithm to use (SHA-256 by default)
|
AuthenticodeSigner |
AuthenticodeSigner.withDigestAlgorithm(DigestAlgorithm algorithm)
Set the digest algorithm to use (SHA-256 by default)
|
| Modifier and Type | Method and Description |
|---|---|
ASN1Object |
MSIFile.createIndirectData(DigestAlgorithm digestAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
PEFile.computeDigest(DigestAlgorithm algorithm)
Compute the checksum of the file using the specified digest algorithm.
|
ASN1Object |
PEFile.createIndirectData(DigestAlgorithm digestAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
CMSSignedData |
Timestamper.timestamp(DigestAlgorithm algo,
CMSSignedData sigData)
Timestamp the specified signature.
|
Copyright © 2012–2020. All rights reserved.