Package | Description |
---|---|
org.digidoc4j |
DigiDoc4J public api
|
org.digidoc4j.impl.asic.xades | |
org.digidoc4j.impl.ddoc | |
org.digidoc4j.main.xades | |
org.digidoc4j.signers |
Modifier and Type | Field and Description |
---|---|
static DigestAlgorithm |
Constant.Default.DATAFILE_DIGEST_ALGORITHM |
static DigestAlgorithm |
Constant.Default.SIGNATURE_DIGEST_ALGORITHM |
Modifier and Type | Method and Description |
---|---|
static DigestAlgorithm |
DigestAlgorithm.findByAlgorithm(String algorithm)
Find DigestAlgorithm by algorithm string.
|
DigestAlgorithm |
Configuration.getDataFileDigestAlgorithm()
Datafile digest algorithm.
|
DigestAlgorithm |
SignatureParameters.getDataFileDigestAlgorithm()
Gets data file digest type
|
DigestAlgorithm |
DataToSign.getDigestAlgorithm()
Signature digest algorithm to be used when creating the signature value.
|
DigestAlgorithm |
SignedInfo.getDigestAlgorithm() |
DigestAlgorithm |
Configuration.getSignatureDigestAlgorithm()
Signature digest algorithm.
|
DigestAlgorithm |
SignatureParameters.getSignatureDigestAlgorithm()
Gets signature digest type
|
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 |
---|---|
byte[] |
DataFile.calculateDigest(DigestAlgorithm digestType) |
void |
Configuration.setDataFileDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set datafile digest algorithm.
|
void |
SignatureParameters.setDataFileDigestAlgorithm(DigestAlgorithm algorithm)
Sets data file digest type
|
void |
Configuration.setSignatureDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set signature digest algorithm.
|
void |
SignatureParameters.setSignatureDigestAlgorithm(DigestAlgorithm algorithm)
Sets signature digest type
|
byte[] |
SignatureToken.sign(DigestAlgorithm digestAlgorithm,
byte[] dataToSign)
There must be implemented routines needed for signing
|
DetachedXadesSignatureBuilder |
DetachedXadesSignatureBuilder.withDataFileDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set signature digest algorithm used to generate a signature.
|
SignatureBuilder |
SignatureBuilder.withDataFileDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set data file digest algorithm.
|
DetachedXadesSignatureBuilder |
DetachedXadesSignatureBuilder.withSignatureDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set signature digest algorithm used to generate a signature.
|
SignatureBuilder |
SignatureBuilder.withSignatureDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set signature digest algorithm used to generate a signature.
|
Constructor and Description |
---|
DigestDataFile(String fileName,
DigestAlgorithm digestAlgorithm,
byte[] digest,
String mimeType)
Creates digest based data file.
|
Modifier and Type | Method and Description |
---|---|
void |
XadesSigningDssFacade.setDataFileDigestAlgorithm(DigestAlgorithm digestAlgorithm) |
void |
XadesSigningDssFacade.setSignatureDigestAlgorithm(DigestAlgorithm digestAlgorithm) |
Modifier and Type | Method and Description |
---|---|
DigestAlgorithm |
DDocFacade.getDigestAlgorithm() |
Modifier and Type | Method and Description |
---|---|
DigestAlgorithm |
DetachedXadesExecutionContext.getDigestAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
DetachedXadesExecutionContext.setDigestAlgorithm(DigestAlgorithm digestAlgorithm) |
Modifier and Type | Method and Description |
---|---|
byte[] |
PKCS11SignatureToken.sign(DigestAlgorithm digestAlgorithm,
byte[] dataToSign) |
byte[] |
PKCS12SignatureToken.sign(DigestAlgorithm digestAlgorithm,
byte[] dataToSign) |
Copyright © 2024. All rights reserved.