Skip navigation links
A B C D E F G H I K L M N O P R S T U V W X 

A

aContainer() - Static method in class org.digidoc4j.ContainerBuilder
Create a new BDoc container builder.
aContainer(String) - Static method in class org.digidoc4j.ContainerBuilder
Create a new container builder based on a container type.
addCertificate(CertificateToken, ServiceInfo) - Method in interface org.digidoc4j.TSLCertificateSource
This method allows to define (to add) any certificate as trusted.
addDataFile(String, String) - Method in interface org.digidoc4j.Container
Adds a data file from the file system to the container.
addDataFile(InputStream, String, String) - Method in interface org.digidoc4j.Container
Adds a data file from the input stream (i.e.
addDataFile(File, String) - Method in interface org.digidoc4j.Container
Adds a data file from the file system to the container.
addDataFile(DataFile) - Method in interface org.digidoc4j.Container
Adds a data file from the file system to the container.
addDataFilesToContainer(Container) - Method in class org.digidoc4j.ContainerBuilder
 
addRawSignature(byte[]) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
addRawSignature(InputStream) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
addSignature(Signature) - Method in interface org.digidoc4j.Container
Adds a new signature to the container.
addTSLCertificate(X509Certificate) - Method in interface org.digidoc4j.TSLCertificateSource
This method allows to define (to add) any certificate as trusted.
aSignature(Container) - Static method in class org.digidoc4j.SignatureBuilder
Create a new signature builder based on a container.

B

BDOC_CONTAINER_TYPE - Static variable in class org.digidoc4j.ContainerBuilder
 
build() - Method in class org.digidoc4j.ContainerBuilder
Builds a new container or opens existing container from the parameters given to the builder.
buildDataToSign() - Method in class org.digidoc4j.SignatureBuilder
Creates data to be signed externally.

C

CACHE_ALL_DATA_FILES - Static variable in class org.digidoc4j.Configuration
 
CACHE_NO_DATA_FILES - Static variable in class org.digidoc4j.Configuration
 
calculateDigest() - Method in class org.digidoc4j.DataFile
Calculates digest http://www.w3.org/2001/04/xmlenc#sha256 for the data file.
calculateDigest(URL) - Method in class org.digidoc4j.DataFile
Calculates digest for data file.
calculateDigest(DigestAlgorithm) - Method in class org.digidoc4j.DataFile
 
CertificateNotFoundException - Exception in org.digidoc4j.exceptions
 
CertificateNotFoundException(String) - Constructor for exception org.digidoc4j.exceptions.CertificateNotFoundException
 
CertificateRevokedException - Exception in org.digidoc4j.exceptions
 
CertificateRevokedException(String) - Constructor for exception org.digidoc4j.exceptions.CertificateRevokedException
 
Configuration - Class in org.digidoc4j
Possibility to create custom configurations for Container implementations.
Configuration() - Constructor for class org.digidoc4j.Configuration
Create new configuration
Configuration(Configuration.Mode) - Constructor for class org.digidoc4j.Configuration
Create new configuration for application mode specified
configuration - Variable in class org.digidoc4j.ContainerBuilder
 
Configuration.Mode - Enum in org.digidoc4j
Application mode
ConfigurationException - Exception in org.digidoc4j.exceptions
Exeptions related to digidoc4J configuration settings
ConfigurationException(String) - Constructor for exception org.digidoc4j.exceptions.ConfigurationException
Create a configuration exception with give message
Container - Interface in org.digidoc4j
Offers functionality for handling data files and signatures in a container.
container - Variable in class org.digidoc4j.SignatureBuilder
 
Container.DocumentType - Enum in org.digidoc4j
Deprecated.
will be removed in the future.
ContainerBuilder - Class in org.digidoc4j
Class for creating and opening containers.
ContainerBuilder() - Constructor for class org.digidoc4j.ContainerBuilder
 
containerFilePath - Variable in class org.digidoc4j.ContainerBuilder
 
containerImplementations - Static variable in class org.digidoc4j.ContainerBuilder
 
containerInputStream - Variable in class org.digidoc4j.ContainerBuilder
 
ContainerOpener - Class in org.digidoc4j
Helper class for opening containers.
ContainerOpener() - Constructor for class org.digidoc4j.ContainerOpener
 
ContainerWithoutFilesException - Exception in org.digidoc4j.exceptions
 
ContainerWithoutFilesException() - Constructor for exception org.digidoc4j.exceptions.ContainerWithoutFilesException
 
copy() - Method in class org.digidoc4j.Configuration
Clones configuration
copy() - Method in class org.digidoc4j.SignatureParameters
Clones signature parameters
countDataFiles() - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future. Use Container.getDataFiles() to get the size of data files in the container.
countSignatures() - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future. Use Container.getSignatures() to get the size of signatures in the container.
createNewContainer() - Method in class org.digidoc4j.ContainerBuilder
 
customSignatureBuilders - Static variable in class org.digidoc4j.SignatureBuilder
 

D

DataFile - Class in org.digidoc4j
Data file wrapper providing methods for handling signed files or files to be signed in Container.
DataFile(String, String) - Constructor for class org.digidoc4j.DataFile
Creates container.
DataFile(byte[], String, String) - Constructor for class org.digidoc4j.DataFile
Creates in memory document container.
DataFile(InputStream, String, String) - Constructor for class org.digidoc4j.DataFile
Creates in memory document container.
DataFile(DSSDocument) - Constructor for class org.digidoc4j.DataFile
 
DataFile() - Constructor for class org.digidoc4j.DataFile
 
DataFileNotFoundException - Exception in org.digidoc4j.exceptions
 
DataFileNotFoundException(String) - Constructor for exception org.digidoc4j.exceptions.DataFileNotFoundException
 
dataFiles - Variable in class org.digidoc4j.ContainerBuilder
 
DataToSign - Class in org.digidoc4j
Data to be signed externally (e.g.
DataToSign(byte[], SignatureParameters, SignatureFinalizer) - Constructor for class org.digidoc4j.DataToSign
 
DDOC_CONTAINER_TYPE - Static variable in class org.digidoc4j.ContainerBuilder
 
DEFAULT_CANONICALIZATION_FACTORY_IMPLEMENTATION - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_DATAFILE_HASHCODE_MODE - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_FACTORY_IMPLEMENTATION - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_KEY_USAGE_CHECK - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_MAX_DATAFILE_CACHED - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_NOTARY_IMPLEMENTATION - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_SECURITY_PROVIDER - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_SECURITY_PROVIDER_NAME - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_TRUESTED_TERRITORIES - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_TSL_FACTORY_IMPLEMENTATION - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_TSL_KEYSTORE_LOCATION - Static variable in class org.digidoc4j.Configuration
 
DEFAULT_USE_LOCAL_TSL - Static variable in class org.digidoc4j.Configuration
 
DigestAlgorithm - Enum in org.digidoc4j
Supported algorithms
digestInfoPrefix() - Method in enum org.digidoc4j.DigestAlgorithm
 
DigiDoc4JException - Exception in org.digidoc4j.exceptions
Generic exception for DigiDoc4J
DigiDoc4JException(int, String) - Constructor for exception org.digidoc4j.exceptions.DigiDoc4JException
Constructs a new runtime exception with the specified detail message and cause.
DigiDoc4JException(String, Throwable) - Constructor for exception org.digidoc4j.exceptions.DigiDoc4JException
Constructs a new runtime exception with the specified detail message and cause.
DigiDoc4JException(String) - Constructor for exception org.digidoc4j.exceptions.DigiDoc4JException
Constructs a new runtime exception with the specified detail message and cause.
DigiDoc4JException(Throwable) - Constructor for exception org.digidoc4j.exceptions.DigiDoc4JException
Creates new exception based on another exception
DigiDoc4JException(Exception) - Constructor for exception org.digidoc4j.exceptions.DigiDoc4JException
Creates new exception based on another exception
DigiDoc4JException() - Constructor for exception org.digidoc4j.exceptions.DigiDoc4JException
 
DuplicateDataFileException - Exception in org.digidoc4j.exceptions
 
DuplicateDataFileException(String) - Constructor for exception org.digidoc4j.exceptions.DuplicateDataFileException
 

E

enableBigFilesSupport(long) - Method in class org.digidoc4j.Configuration
Deprecated.
EncryptionAlgorithm - Enum in org.digidoc4j
 
extendSignatureProfile(SignatureProfile) - Method in interface org.digidoc4j.Container
Extends signature profile to SignatureProfile
extendTo(SignatureProfile) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
ExternalSigner - Class in org.digidoc4j.signers
Signer for external services for example in web
ExternalSigner(X509Certificate) - Constructor for class org.digidoc4j.signers.ExternalSigner
Creates new external signer

F

finalize(byte[]) - Method in class org.digidoc4j.DataToSign
Finalize the signature by adding externally created signature value in bytes.
fromExistingFile(String) - Method in class org.digidoc4j.ContainerBuilder
Open container from an existing file.
fromStream(InputStream) - Method in class org.digidoc4j.ContainerBuilder
Open container from a stream.

G

getAdESSignature() - Method in interface org.digidoc4j.Signature
Returns signature as XAdES XML
getBytes() - Method in class org.digidoc4j.DataFile
Gives file bytes
getCertificate() - Method in interface org.digidoc4j.SignatureToken
Returns signer certificate
getCertificate() - Method in class org.digidoc4j.signers.ExternalSigner
 
getCertificate() - Method in class org.digidoc4j.signers.PKCS11SignatureToken
 
getCertificate() - Method in class org.digidoc4j.signers.PKCS12SignatureToken
 
getCertificatePolicies() - Method in class org.digidoc4j.X509Cert
Returns current certificate policies or null if no policies was found.
getCertificates() - Method in interface org.digidoc4j.TSLCertificateSource
Retrieves the list of all certificate tokens from this source.
getCity() - Method in interface org.digidoc4j.Signature
Returns the signature production city.
getCity() - Method in class org.digidoc4j.SignatureParameters
 
getCity() - Method in class org.digidoc4j.SignatureProductionPlace
 
getClaimedSigningTime() - Method in interface org.digidoc4j.Signature
Returns the computer's time of signing.
getConnectionTimeout() - Method in class org.digidoc4j.Configuration
Get HTTP connection timeout
getContainerErrors() - Method in interface org.digidoc4j.ValidationResult
Get list container related errors.
getCountry() - Method in class org.digidoc4j.SignatureParameters
 
getCountry() - Method in class org.digidoc4j.SignatureProductionPlace
 
getCountryName() - Method in interface org.digidoc4j.Signature
Returns the signature production country.
getDataFile(int) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
getDataFiles() - Method in interface org.digidoc4j.Container
Returns all data files in the container.
getDigest() - Method in class org.digidoc4j.SignedInfo
 
getDigestAlgorithm() - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
getDigestAlgorithm() - Method in class org.digidoc4j.DataToSign
Signature digest algorithm to be used when creating the signature value.
getDigestAlgorithm() - Method in class org.digidoc4j.SignatureParameters
Gets container digest type
getDigestAlgorithm() - Method in class org.digidoc4j.SignedInfo
 
getDigestToSign() - Method in class org.digidoc4j.DataToSign
Data to be signed externally.
getDigestToSign() - Method in class org.digidoc4j.SignedInfo
 
getDocument() - Method in class org.digidoc4j.DataFile
 
getDocumentType() - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
getDssDigestAlgorithm() - Method in enum org.digidoc4j.DigestAlgorithm
 
getEncryptionAlgorithm() - Method in class org.digidoc4j.SignatureParameters
Get the encryption algorithm
getErrorCode() - Method in exception org.digidoc4j.exceptions.DigiDoc4JException
Get the error code of the exception
getErrors() - Method in class org.digidoc4j.SignatureValidationResult
 
getErrors() - Method in interface org.digidoc4j.ValidationResult
Return a list of errors.
getFileSize() - Method in class org.digidoc4j.DataFile
Returns the data file size.
getHttpProxyHost() - Method in class org.digidoc4j.Configuration
 
getHttpProxyPassword() - Method in class org.digidoc4j.Configuration
 
getHttpProxyPort() - Method in class org.digidoc4j.Configuration
 
getHttpProxyUser() - Method in class org.digidoc4j.Configuration
 
getId() - Method in class org.digidoc4j.DataFile
Returns file ID For BDoc it will return the filename
getId() - Method in interface org.digidoc4j.Signature
Returns the signature id.
getInstance() - Static method in class org.digidoc4j.Configuration
Getting the default Configuration object.
getJDigiDocConfiguration() - Method in class org.digidoc4j.Configuration
Returns configuration needed for JDigiDoc library
getKeyUsages() - Method in class org.digidoc4j.X509Cert
Returns the current certificate key usage.
getMaxDataFileCachedInBytes() - Method in class org.digidoc4j.Configuration
Get the maximum size of data files to be cached.
getMaxDataFileCachedInMB() - Method in class org.digidoc4j.Configuration
Get the maximum size of data files to be cached.
getMediaType() - Method in class org.digidoc4j.DataFile
Returns the file media type.
getMimeType(String) - Method in class org.digidoc4j.DataFile
 
getName() - Method in class org.digidoc4j.DataFile
Returns the data file name.
getOCSPAccessCertificateFileName() - Method in class org.digidoc4j.Configuration
Get OCSP access certificate filename
getOCSPAccessCertificatePassword() - Method in class org.digidoc4j.Configuration
Get OSCP access certificate password
getOCSPCertificate() - Method in interface org.digidoc4j.Signature
Returns the signature OCSP responder certificate.
getOCSPNonce() - Method in interface org.digidoc4j.Signature
Returns the signature OCSP response nonce.
getOCSPResponseCreationTime() - Method in interface org.digidoc4j.Signature
Returns the signature OCSP producedAt timestamp.
getOcspSource() - Method in class org.digidoc4j.Configuration
Get the OCSP Source
getPolicy() - Method in interface org.digidoc4j.Signature
Deprecated.
will be removed in the future
getPostalCode() - Method in interface org.digidoc4j.Signature
Returns the signature production postal code.
getPostalCode() - Method in class org.digidoc4j.SignatureParameters
 
getPostalCode() - Method in class org.digidoc4j.SignatureProductionPlace
 
getPrivateKeyEntries() - Method in class org.digidoc4j.signers.PKCS11SignatureToken
Fetches the private key entries from the hardware token for information purposes.
getProducedAt() - Method in interface org.digidoc4j.Signature
Deprecated.
use Signature.getOCSPResponseCreationTime() instead. Will be removed in the future.
getProductionPlace() - Method in class org.digidoc4j.SignatureParameters
Deprecated. 
getProfile() - Method in interface org.digidoc4j.Signature
Returns the signature profile.
getRawSignature() - Method in interface org.digidoc4j.Signature
Deprecated.
getReport() - Method in interface org.digidoc4j.ValidationResult
Get validation report.
getRevocationAndTimestampDeltaInMinutes() - Method in class org.digidoc4j.Configuration
 
getRoles() - Method in class org.digidoc4j.SignatureParameters
Get signing roles.
getSerial() - Method in class org.digidoc4j.X509Cert
Reads serial number from X.509 certificate.
getSignature(int) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
getSignatureId() - Method in class org.digidoc4j.SignatureParameters
Get signature id.
getSignatureMethod() - Method in interface org.digidoc4j.Signature
Returns the signature method that was used for signing.
getSignatureParameters() - Method in class org.digidoc4j.DataToSign
Signature parameters used to create the signature.
getSignatureParameters() - Method in class org.digidoc4j.SignedInfo
 
getSignaturePolicyURI() - Method in interface org.digidoc4j.Signature
Deprecated.
will be removed in the future
getSignatureProfile() - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
getSignatureProfile() - Method in class org.digidoc4j.SignatureParameters
 
getSignatures() - Method in interface org.digidoc4j.Container
Returns a list of all signatures in the container.
getSignerRoles() - Method in interface org.digidoc4j.Signature
Returns the signer's roles.
getSigningCertificate() - Method in interface org.digidoc4j.Signature
Returns the signature certificate that was used for signing.
getSigningCertificate() - Method in class org.digidoc4j.SignatureParameters
 
getSigningTime() - Method in interface org.digidoc4j.Signature
Deprecated.
use Signature.getClaimedSigningTime() instead. Will be removed in the future.
getSocketTimeout() - Method in class org.digidoc4j.Configuration
Get HTTP socket timeout
getSslKeystorePassword() - Method in class org.digidoc4j.Configuration
 
getSslKeystorePath() - Method in class org.digidoc4j.Configuration
 
getSslKeystoreType() - Method in class org.digidoc4j.Configuration
 
getSslTruststorePassword() - Method in class org.digidoc4j.Configuration
 
getSslTruststorePath() - Method in class org.digidoc4j.Configuration
 
getSslTruststoreType() - Method in class org.digidoc4j.Configuration
 
getStateOrProvince() - Method in interface org.digidoc4j.Signature
Returns the signature production state or province.
getStateOrProvince() - Method in class org.digidoc4j.SignatureParameters
 
getStateOrProvince() - Method in class org.digidoc4j.SignatureProductionPlace
 
getStream() - Method in class org.digidoc4j.DataFile
Gives data file as stream
getSubjectName(X509Cert.SubjectName) - Method in class org.digidoc4j.X509Cert
Returns part of the subject name (for example if set to CN it returns the Common Name part).
getSubjectName() - Method in class org.digidoc4j.X509Cert
Returns the whole subject name.
getTimeStampCreationTime() - Method in interface org.digidoc4j.Signature
Returns the signature timestamp generation time.
getTimeStampTokenCertificate() - Method in interface org.digidoc4j.Signature
Returns the signature TimeStampToken certificate.
getTrustedSigningTime() - Method in interface org.digidoc4j.Signature
Returns signature creation time confirmed by OCSP or TimeStamp authority.
getTrustedTerritories() - Method in class org.digidoc4j.Configuration
 
getTSL() - Method in class org.digidoc4j.Configuration
Loads TSL certificates If configuration mode is TEST then TSL signature is not checked.
getTslCacheExpirationTime() - Method in class org.digidoc4j.Configuration
Returns TSL cache expiration time in milliseconds.
getTslKeyStoreLocation() - Method in class org.digidoc4j.Configuration
Get the Location to Keystore that holds potential TSL Signing certificates
getTslKeyStorePassword() - Method in class org.digidoc4j.Configuration
Get the password for Keystore that holds potential TSL Signing certificates
getTslLocation() - Method in class org.digidoc4j.Configuration
 
getTspSource() - Method in class org.digidoc4j.Configuration
Get the TSP Source
getType() - Method in interface org.digidoc4j.Container
Returns container type "BDOC" or "DDOC"
getValidationPolicy() - Method in class org.digidoc4j.Configuration
Get the validation policy
getVersion() - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
getWarnings() - Method in class org.digidoc4j.SignatureValidationResult
 
getWarnings() - Method in interface org.digidoc4j.ValidationResult
Return a list of warnings.
getX509Certificate() - Method in class org.digidoc4j.X509Cert
Returns the internal X509 Certificate of the certificate.

H

hasErrors() - Method in interface org.digidoc4j.ValidationResult
Deprecated.
hasToBeOCSPRequestSigned() - Method in class org.digidoc4j.Configuration
Returns configuration item must be OCSP request signed.
hasWarnings() - Method in interface org.digidoc4j.ValidationResult
Are there any validation warnings.

I

invalidateCache() - Method in interface org.digidoc4j.TSLCertificateSource
Invalidates cache Only applicable when cache is used.
InvalidDataFileException - Exception in org.digidoc4j.exceptions
 
InvalidDataFileException(String) - Constructor for exception org.digidoc4j.exceptions.InvalidDataFileException
 
InvalidDataFileException(Throwable) - Constructor for exception org.digidoc4j.exceptions.InvalidDataFileException
 
InvalidOcspNonceException - Exception in org.digidoc4j.exceptions
 
InvalidOcspNonceException() - Constructor for exception org.digidoc4j.exceptions.InvalidOcspNonceException
 
InvalidSignatureException - Exception in org.digidoc4j.exceptions
 
InvalidSignatureException() - Constructor for exception org.digidoc4j.exceptions.InvalidSignatureException
 
InvalidTimestampException - Exception in org.digidoc4j.exceptions
 
InvalidTimestampException() - Constructor for exception org.digidoc4j.exceptions.InvalidTimestampException
 
invokeSigning() - Method in class org.digidoc4j.SignatureBuilder
Invokes a signing process on the container with a signature token (See SignatureToken).
invokeSigningProcess() - Method in class org.digidoc4j.SignatureBuilder
Signing process implementation that is called by SignatureBuilder.invokeSigning() method.
isBigFilesSupportEnabled() - Method in class org.digidoc4j.Configuration
Deprecated.
obnoxious naming. Use Configuration.storeDataFilesOnlyInMemory() instead.
isNetworkProxyEnabled() - Method in class org.digidoc4j.Configuration
 
isOCSPSigningConfigurationAvailable() - Method in class org.digidoc4j.Configuration
Are requirements met for signing OCSP certificate?
isSslConfigurationEnabled() - Method in class org.digidoc4j.Configuration
 
issuerName(X509Cert.Issuer) - Method in class org.digidoc4j.X509Cert
Retrieves part of the issuer name (for example if set to CN it returns the Common Name part).
issuerName() - Method in class org.digidoc4j.X509Cert
Reads the the whole issuer name from the X.509 certificate.
isTest() - Method in class org.digidoc4j.Configuration
 
isValid() - Method in class org.digidoc4j.SignatureValidationResult
 
isValid() - Method in interface org.digidoc4j.ValidationResult
 
isValid(Date) - Method in class org.digidoc4j.X509Cert
Validates if the certificate is in a valid time slot.
isValid() - Method in class org.digidoc4j.X509Cert
Validates if the current time is between the certificate's validity start date and expiration date.

K

keyEntry - Variable in class org.digidoc4j.signers.PKCS12SignatureToken
 

L

LargeDataFile - Class in org.digidoc4j
Handling large files from a stream to be stored temporarily on disk.
LargeDataFile(InputStream, String, String) - Constructor for class org.digidoc4j.LargeDataFile
Creates a data file from a stream that is going to be stored as a temporary file on the file system.
loadConfiguration(InputStream) - Method in class org.digidoc4j.Configuration
Add configuration settings from a stream.
loadConfiguration(String) - Method in class org.digidoc4j.Configuration
Add configuration settings from a file

M

MESSAGE - Static variable in exception org.digidoc4j.exceptions.ContainerWithoutFilesException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.InvalidOcspNonceException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.InvalidSignatureException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.InvalidTimestampException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.OCSPRequestFailedException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.RemovingDataFileException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.SignedWithExpiredCertificateException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.TimestampAfterOCSPResponseTimeException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.TimestampAndOcspResponseTimeDeltaTooLargeException
 
MESSAGE - Static variable in exception org.digidoc4j.exceptions.UntrustedRevocationSourceException
 
MiltipleSignedPropertiesException - Exception in org.digidoc4j.exceptions
 
MiltipleSignedPropertiesException(String) - Constructor for exception org.digidoc4j.exceptions.MiltipleSignedPropertiesException
 

N

NotSupportedException - Exception in org.digidoc4j.exceptions
Exception is thrown when not supported container configuration is created
NotSupportedException(String) - Constructor for exception org.digidoc4j.exceptions.NotSupportedException
Creates exception
NotYetImplementedException - Exception in org.digidoc4j.exceptions
Exception is thrown when method or class is not yet implemented.
NotYetImplementedException() - Constructor for exception org.digidoc4j.exceptions.NotYetImplementedException
 

O

OCSPRequestFailedException - Exception in org.digidoc4j.exceptions
 
OCSPRequestFailedException(Throwable) - Constructor for exception org.digidoc4j.exceptions.OCSPRequestFailedException
 
OCSPRequestFailedException() - Constructor for exception org.digidoc4j.exceptions.OCSPRequestFailedException
 
ONE_MB_IN_BYTES - Static variable in class org.digidoc4j.Configuration
 
open(String, Configuration) - Static method in class org.digidoc4j.ContainerOpener
Open container from a file.
open(String) - Static method in class org.digidoc4j.ContainerOpener
Open container from a file.
open(InputStream, boolean) - Static method in class org.digidoc4j.ContainerOpener
Open container from a stream.
open(InputStream, Configuration) - Static method in class org.digidoc4j.ContainerOpener
Open container from a stream.
openAdESSignature(byte[]) - Method in class org.digidoc4j.SignatureBuilder
Open signature from an existing signature document (XAdES, PAdES, CAdES etc.) The signature document must be complete, containing all the necessary data (e.g.
openContainerFromFile() - Method in class org.digidoc4j.ContainerBuilder
 
openContainerFromStream() - Method in class org.digidoc4j.ContainerBuilder
 
org.digidoc4j - package org.digidoc4j
DigiDoc4J public api
org.digidoc4j.exceptions - package org.digidoc4j.exceptions
Exception classes for DigiDoc4J.
org.digidoc4j.signers - package org.digidoc4j.signers
 

P

PKCS11SignatureToken - Class in org.digidoc4j.signers
Implements PKCS#11 interface for Smart Cards and hardware tokens.
PKCS11SignatureToken(String, char[], int) - Constructor for class org.digidoc4j.signers.PKCS11SignatureToken
Initializes the PKCS#11 token.
PKCS11SignatureToken(String, PasswordInputCallback, int) - Constructor for class org.digidoc4j.signers.PKCS11SignatureToken
Initializes the PKCS#11 token with password callback.
PKCS12SignatureToken - Class in org.digidoc4j.signers
Implements PKCS12 signer.
PKCS12SignatureToken(String, char[]) - Constructor for class org.digidoc4j.signers.PKCS12SignatureToken
Constructs PKCS12 signer object.
PKCS12Signer - Class in org.digidoc4j.signers
Deprecated. 
PKCS12Signer(String, char[]) - Constructor for class org.digidoc4j.signers.PKCS12Signer
Deprecated. 
prepareSigning(X509Certificate) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
PROD_OCSP_URL - Static variable in class org.digidoc4j.Configuration
 

R

refresh() - Method in interface org.digidoc4j.TSLCertificateSource
 
removeCustomContainerImplementations() - Static method in class org.digidoc4j.ContainerBuilder
Clear the list of custom container implementations and types and continue using the default container types and implementations.
removeCustomSignatureBuilders() - Static method in class org.digidoc4j.SignatureBuilder
Clears all custom signature builders to use only default signature builders.
removeDataFile(DataFile) - Method in interface org.digidoc4j.Container
Removes the data file from the container.
removeDataFile(String) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future. Use Container.removeDataFile(DataFile) instead.
removeSignature(Signature) - Method in interface org.digidoc4j.Container
Removes the signature from the container
removeSignature(int) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
RemovingDataFileException - Exception in org.digidoc4j.exceptions
 
RemovingDataFileException() - Constructor for exception org.digidoc4j.exceptions.RemovingDataFileException
 

S

save(String) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
save(OutputStream) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
saveAs(OutputStream) - Method in class org.digidoc4j.DataFile
Saves a copy of the data file as a file to the specified stream.
saveAs(String) - Method in class org.digidoc4j.DataFile
Saves a copy of the data file as a file with the specified file name.
saveAsFile(String) - Method in interface org.digidoc4j.Container
Saves the container to the specified location.
saveAsStream() - Method in interface org.digidoc4j.Container
Saves the container as a stream.
setCity(String) - Method in class org.digidoc4j.SignatureParameters
 
setCity(String) - Method in class org.digidoc4j.SignatureProductionPlace
 
setConnectionTimeout(int) - Method in class org.digidoc4j.Configuration
Set HTTP connection timeout
setContainer(Container) - Method in class org.digidoc4j.SignatureBuilder
 
setContainerImplementation(String, Class<T>) - Static method in class org.digidoc4j.ContainerBuilder
Set a custom container implementation class to be used for the container type.
setCountry(String) - Method in class org.digidoc4j.SignatureParameters
 
setCountry(String) - Method in class org.digidoc4j.SignatureProductionPlace
 
setDigestAlgorithm(DigestAlgorithm) - Method in class org.digidoc4j.SignatureParameters
Sets container digest type
setDocument(DSSDocument) - Method in class org.digidoc4j.DataFile
 
setEncryptionAlgorithm(EncryptionAlgorithm) - Method in class org.digidoc4j.SignatureParameters
Set the encryption algorithm
setErrors(List<DigiDoc4JException>) - Method in class org.digidoc4j.SignatureValidationResult
 
setHttpProxyHost(String) - Method in class org.digidoc4j.Configuration
 
setHttpProxyPassword(String) - Method in class org.digidoc4j.Configuration
 
setHttpProxyPort(int) - Method in class org.digidoc4j.Configuration
 
setHttpProxyUser(String) - Method in class org.digidoc4j.Configuration
 
setId(String) - Method in class org.digidoc4j.DataFile
Set id for the dataFile (DDoc usage only)
setMaxFileSizeCachedInMemoryInMB(long) - Method in class org.digidoc4j.Configuration
Sets limit in MB when handling files are creating temporary file for streaming in container creation and adding data files.
setMediaType(String) - Method in class org.digidoc4j.DataFile
 
setOCSPAccessCertificateFileName(String) - Method in class org.digidoc4j.Configuration
Set OCSP access certificate filename
setOCSPAccessCertificatePassword(char[]) - Method in class org.digidoc4j.Configuration
Set OCSP access certificate password
setOcspSource(String) - Method in class org.digidoc4j.Configuration
Set the OCSP source
setPostalCode(String) - Method in class org.digidoc4j.SignatureParameters
 
setPostalCode(String) - Method in class org.digidoc4j.SignatureProductionPlace
 
setProductionPlace(SignatureProductionPlace) - Method in class org.digidoc4j.SignatureParameters
Deprecated. 
setRevocationAndTimestampDeltaInMinutes(int) - Method in class org.digidoc4j.Configuration
 
setRoles(List<String>) - Method in class org.digidoc4j.SignatureParameters
Set signing roles.
setSignatureBuilderForContainerType(String, Class<T>) - Static method in class org.digidoc4j.SignatureBuilder
Setting custom signature builder implementation used when creating signatures for the particular container type.
setSignatureId(String) - Method in class org.digidoc4j.SignatureParameters
Set signature id.
setSignatureParameters(SignatureParameters) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
setSignatureProfile(SignatureProfile) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
setSignatureProfile(SignatureProfile) - Method in class org.digidoc4j.SignatureParameters
 
setSigningCertificate(X509Certificate) - Method in class org.digidoc4j.SignatureParameters
 
setSignOCSPRequests(boolean) - Method in class org.digidoc4j.Configuration
 
setSocketTimeout(int) - Method in class org.digidoc4j.Configuration
Set HTTP socket timeout
setSslKeystorePassword(String) - Method in class org.digidoc4j.Configuration
 
setSslKeystorePath(String) - Method in class org.digidoc4j.Configuration
 
setSslKeystoreType(String) - Method in class org.digidoc4j.Configuration
 
setSslTruststorePassword(String) - Method in class org.digidoc4j.Configuration
 
setSslTruststorePath(String) - Method in class org.digidoc4j.Configuration
 
setSslTruststoreType(String) - Method in class org.digidoc4j.Configuration
 
setStateOrProvince(String) - Method in class org.digidoc4j.SignatureParameters
 
setStateOrProvince(String) - Method in class org.digidoc4j.SignatureProductionPlace
 
setTrustedTerritories(String...) - Method in class org.digidoc4j.Configuration
 
setTSL(TSLCertificateSource) - Method in class org.digidoc4j.Configuration
Set the TSL certificate source.
setTslCacheExpirationTime(long) - Method in class org.digidoc4j.Configuration
Sets the expiration time for TSL cache in milliseconds.
setTslKeyStoreLocation(String) - Method in class org.digidoc4j.Configuration
Set the KeyStore Location that holds potential TSL Signing certificates
setTslKeyStorePassword(String) - Method in class org.digidoc4j.Configuration
Set the password for Keystore that holds potential TSL Signing certificates
setTslLocation(String) - Method in class org.digidoc4j.Configuration
Set the TSL location.
setTspSource(String) - Method in class org.digidoc4j.Configuration
Set the TSP Source
setValidationPolicy(String) - Method in class org.digidoc4j.Configuration
Set the validation policy
setWarnings(List<DigiDoc4JException>) - Method in class org.digidoc4j.SignatureValidationResult
 
shouldOpenContainerFromFile() - Method in class org.digidoc4j.ContainerBuilder
 
shouldOpenContainerFromStream() - Method in class org.digidoc4j.ContainerBuilder
 
shouldValidateTslSignature() - Method in class org.digidoc4j.Configuration
 
sign(SignatureToken) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
sign(DigestAlgorithm, byte[]) - Method in interface org.digidoc4j.SignatureToken
There must be implemented routines needed for signing
sign(DigestAlgorithm, byte[]) - Method in class org.digidoc4j.signers.PKCS11SignatureToken
 
sign(DigestAlgorithm, byte[]) - Method in class org.digidoc4j.signers.PKCS12SignatureToken
 
Signature - Interface in org.digidoc4j
Signature interface.
SignatureBuilder - Class in org.digidoc4j
Creating signatures on a container.
SignatureBuilder() - Constructor for class org.digidoc4j.SignatureBuilder
 
SignatureNotFoundException - Exception in org.digidoc4j.exceptions
 
SignatureNotFoundException() - Constructor for exception org.digidoc4j.exceptions.SignatureNotFoundException
 
signatureParameters - Variable in class org.digidoc4j.SignatureBuilder
 
SignatureParameters - Class in org.digidoc4j
Signature parameters.
SignatureParameters() - Constructor for class org.digidoc4j.SignatureParameters
 
SignatureProductionPlace - Class in org.digidoc4j
Optional additional information about the signer Use SignatureParameters instead.
SignatureProductionPlace() - Constructor for class org.digidoc4j.SignatureProductionPlace
empty constructor
SignatureProductionPlace(String, String, String, String) - Constructor for class org.digidoc4j.SignatureProductionPlace
 
SignatureProfile - Enum in org.digidoc4j
Signature profile format.
signatureToken - Variable in class org.digidoc4j.SignatureBuilder
 
SignatureToken - Interface in org.digidoc4j
Signing interface.
signatureTokenConnection - Variable in class org.digidoc4j.signers.PKCS12SignatureToken
 
SignatureTokenMissingException - Exception in org.digidoc4j.exceptions
 
SignatureTokenMissingException() - Constructor for exception org.digidoc4j.exceptions.SignatureTokenMissingException
 
SignatureValidationResult - Class in org.digidoc4j
 
SignatureValidationResult() - Constructor for class org.digidoc4j.SignatureValidationResult
 
SignedInfo - Class in org.digidoc4j
 
SignedInfo() - Constructor for class org.digidoc4j.SignedInfo
 
SignedInfo(byte[], SignatureParameters) - Constructor for class org.digidoc4j.SignedInfo
 
SignedPropertiesMissingException - Exception in org.digidoc4j.exceptions
 
SignedPropertiesMissingException(String) - Constructor for exception org.digidoc4j.exceptions.SignedPropertiesMissingException
 
SignedWithExpiredCertificateException - Exception in org.digidoc4j.exceptions
 
SignedWithExpiredCertificateException() - Constructor for exception org.digidoc4j.exceptions.SignedWithExpiredCertificateException
 
Signer - Interface in org.digidoc4j
Deprecated. 
SignerCertificateRequiredException - Exception in org.digidoc4j.exceptions
 
SignerCertificateRequiredException() - Constructor for exception org.digidoc4j.exceptions.SignerCertificateRequiredException
 
signRaw(byte[]) - Method in interface org.digidoc4j.Container
Deprecated.
will be removed in the future.
storeDataFilesOnlyInMemory() - Method in class org.digidoc4j.Configuration
If all the data files should be stored in memory.

T

TechnicalException - Exception in org.digidoc4j.exceptions
 
TechnicalException(String) - Constructor for exception org.digidoc4j.exceptions.TechnicalException
 
TechnicalException(String, Throwable) - Constructor for exception org.digidoc4j.exceptions.TechnicalException
 
TEST_OCSP_URL - Static variable in class org.digidoc4j.Configuration
 
TimestampAfterOCSPResponseTimeException - Exception in org.digidoc4j.exceptions
 
TimestampAfterOCSPResponseTimeException() - Constructor for exception org.digidoc4j.exceptions.TimestampAfterOCSPResponseTimeException
 
TimestampAndOcspResponseTimeDeltaTooLargeException - Exception in org.digidoc4j.exceptions
 
TimestampAndOcspResponseTimeDeltaTooLargeException() - Constructor for exception org.digidoc4j.exceptions.TimestampAndOcspResponseTimeDeltaTooLargeException
 
toString() - Method in enum org.digidoc4j.Container.DocumentType
Deprecated.
 
toString() - Method in enum org.digidoc4j.DigestAlgorithm
Get uri string
toString() - Method in exception org.digidoc4j.exceptions.DigiDoc4JException
 
TSLCertificateSource - Interface in org.digidoc4j
Trusted List certificates
TslCertificateSourceInitializationException - Exception in org.digidoc4j.exceptions
 
TslCertificateSourceInitializationException(String) - Constructor for exception org.digidoc4j.exceptions.TslCertificateSourceInitializationException
 
TslKeyStoreNotFoundException - Exception in org.digidoc4j.exceptions
 
TslKeyStoreNotFoundException(String) - Constructor for exception org.digidoc4j.exceptions.TslKeyStoreNotFoundException
 

U

UnsupportedFormatException - Exception in org.digidoc4j.exceptions
Exception what describes unsupported container formats
UnsupportedFormatException(String) - Constructor for exception org.digidoc4j.exceptions.UnsupportedFormatException
Constructs new exception
UntrustedRevocationSourceException - Exception in org.digidoc4j.exceptions
 
UntrustedRevocationSourceException() - Constructor for exception org.digidoc4j.exceptions.UntrustedRevocationSourceException
 
uri() - Method in enum org.digidoc4j.DigestAlgorithm
Get uri
usePrivateKeyEntry(DSSPrivateKeyEntry) - Method in class org.digidoc4j.signers.PKCS11SignatureToken
For selecting a particular private key to be used for signing.
usingTempDirectory(String) - Method in class org.digidoc4j.ContainerBuilder
 

V

validate() - Method in interface org.digidoc4j.Container
Validate container
validate() - Method in interface org.digidoc4j.Signature
Deprecated.
use instead.
validateSignature() - Method in interface org.digidoc4j.Signature
Validates the signature.
ValidationResult - Interface in org.digidoc4j
Validation result information.
valueOf(String) - Static method in enum org.digidoc4j.Configuration.Mode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.Container.DocumentType
Deprecated.
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.DigestAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.EncryptionAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.SignatureProfile
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.X509Cert.Issuer
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.X509Cert.KeyUsage
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.digidoc4j.X509Cert.SubjectName
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.digidoc4j.Configuration.Mode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.Container.DocumentType
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.DigestAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.EncryptionAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.SignatureProfile
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.X509Cert.Issuer
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.X509Cert.KeyUsage
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.digidoc4j.X509Cert.SubjectName
Returns an array containing the constants of this enum type, in the order they are declared.
Version - Class in org.digidoc4j
 
Version() - Constructor for class org.digidoc4j.Version
 
VERSION - Static variable in class org.digidoc4j.Version
 

W

withCity(String) - Method in class org.digidoc4j.SignatureBuilder
Set a city to the signature production place.
withConfiguration(Configuration) - Method in class org.digidoc4j.ContainerBuilder
Specify configuration for the container.
withCountry(String) - Method in class org.digidoc4j.SignatureBuilder
Set a country name to the signature production place.
withDataFile(String, String) - Method in class org.digidoc4j.ContainerBuilder
Add a data file to the container.
withDataFile(InputStream, String, String) - Method in class org.digidoc4j.ContainerBuilder
Add a data file from a stream to the container.
withDataFile(File, String) - Method in class org.digidoc4j.ContainerBuilder
Add a data file to the container.
withDataFile(DataFile) - Method in class org.digidoc4j.ContainerBuilder
Add a data file to the container.
withEncryptionAlgorithm(EncryptionAlgorithm) - Method in class org.digidoc4j.SignatureBuilder
 
withPostalCode(String) - Method in class org.digidoc4j.SignatureBuilder
Set a postal code to the signature production place.
withRoles(String...) - Method in class org.digidoc4j.SignatureBuilder
Set roles to the signer.
withSignatureDigestAlgorithm(DigestAlgorithm) - Method in class org.digidoc4j.SignatureBuilder
Set signature digest algorithm used to generate a signature.
withSignatureId(String) - Method in class org.digidoc4j.SignatureBuilder
Set signature ID.
withSignatureProfile(SignatureProfile) - Method in class org.digidoc4j.SignatureBuilder
Set a signature profile: Time Mark, Time Stamp, Archive Time Stamp or no profile.
withSignatureToken(SignatureToken) - Method in class org.digidoc4j.SignatureBuilder
Set signature token to be used in the signing process.
withSigningCertificate(X509Certificate) - Method in class org.digidoc4j.SignatureBuilder
Set a signing certificate to be used when creating data to be signed.
withStateOrProvince(String) - Method in class org.digidoc4j.SignatureBuilder
Set a state or province to the signature production place.
WrongPolicyIdentifierException - Exception in org.digidoc4j.exceptions
 
WrongPolicyIdentifierException(String) - Constructor for exception org.digidoc4j.exceptions.WrongPolicyIdentifierException
 
WrongPolicyIdentifierQualifierException - Exception in org.digidoc4j.exceptions
 
WrongPolicyIdentifierQualifierException(String) - Constructor for exception org.digidoc4j.exceptions.WrongPolicyIdentifierQualifierException
 

X

X509Cert - Class in org.digidoc4j
Wrapper for java.security.cert.X509Certificate object.
X509Cert(X509Certificate) - Constructor for class org.digidoc4j.X509Cert
Creates a copy of the X509Certificate.
X509Cert.Issuer - Enum in org.digidoc4j
Issuer parts.
X509Cert.KeyUsage - Enum in org.digidoc4j
Key usage.
X509Cert.SubjectName - Enum in org.digidoc4j
Subject Name parts.
A B C D E F G H I K L M N O P R S T U V W X 
Skip navigation links