| Package | Description |
|---|---|
| net.jsign | |
| 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 s)
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 |
|---|---|
PESigner |
PESigner.withDigestAlgorithm(DigestAlgorithm algorithm)
Set the digest algorithm to use (SHA-256 by default)
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
PEFile.computeDigest(DigestAlgorithm algorithm)
Compute the checksum of the file using the specified digest algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
protected CMSSignedData |
RFC3161Timestamper.timestamp(DigestAlgorithm algo,
byte[] encryptedDigest) |
protected abstract CMSSignedData |
Timestamper.timestamp(DigestAlgorithm algo,
byte[] encryptedDigest) |
protected CMSSignedData |
AuthenticodeTimestamper.timestamp(DigestAlgorithm algo,
byte[] encryptedDigest) |
CMSSignedData |
Timestamper.timestamp(DigestAlgorithm algo,
CMSSignedData sigData)
Timestamp the specified signature.
|
Copyright © 2012–2019. All rights reserved.