Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(File) - Method in interface no.difi.asic.AsicWriter
-
Adds another data object to the ASiC archive.
- add(File) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds another data object to the ASiC archive.
- add(File, String) - Method in interface no.difi.asic.AsicWriter
-
Adds another data object to the ASiC container, using the supplied name as the zip entry name
- add(File, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds another data object to the ASiC container, using the supplied name as the zip entry name
- add(File, String, MimeType) - Method in interface no.difi.asic.AsicWriter
-
Adds the contents of a file into the ASiC archive using the supplied entry name and MIME type.
- add(File, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds the contents of a file into the ASiC archive using the supplied entry name and MIME type.
- add(InputStream, String) - Method in interface no.difi.asic.AsicWriter
-
Adds the data provided by the stream into the ASiC archive, using the name of the supplied file as the entry name.
- add(InputStream, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds the data provided by the stream into the ASiC archive, using the name of the supplied file as the entry name.
- add(InputStream, String, MimeType) - Method in interface no.difi.asic.AsicWriter
-
Adds the contents of an input stream into the ASiC archive, under a given entry name and explicitly identifying the MIME type.
- add(InputStream, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds the contents of an input stream into the ASiC archive, under a given entry name and explicitly identifying the MIME type.
- add(Path) - Method in interface no.difi.asic.AsicWriter
-
Adds another data object to the ASiC archive
- add(Path) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds another data object to the ASiC archive
- add(Path, String) - Method in interface no.difi.asic.AsicWriter
-
Adds another data object to the ASiC container under the entry name provided.
- add(Path, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
-
Adds another data object to the ASiC container under the entry name provided.
- add(Path, String, MimeType) - Method in interface no.difi.asic.AsicWriter
- add(Path, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(File) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(File, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(File, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(InputStream, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(InputStream, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(Path) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(Path, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- addEncrypted(Path, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- allNodesBelow(Node) - Static method in class no.difi.asic.DomUtils
- ASIC_MANIFEST_BASENAME - Static variable in class no.difi.asic.AsicUtils
- AsicReader - Interface in no.difi.asic
- AsicReaderFactory - Class in no.difi.asic
- AsicUtils - Class in no.difi.asic
- AsicVerifier - Class in no.difi.asic
- AsicVerifierFactory - Class in no.difi.asic
- AsicWriter - Interface in no.difi.asic
- AsicWriterFactory - Class in no.difi.asic
-
Creates AsicWriter instances according to the supplied parameters.
B
- BC - Static variable in class no.difi.asic.extras.CmsEncryptedAsicReader
- BC - Static variable in class no.difi.asic.extras.CmsEncryptedAsicWriter
C
- CAdES - Enum constant in enum class no.difi.asic.SignatureMethod
- certificateChain - Variable in class no.difi.asic.SignatureHelper
- close() - Method in class no.difi.asic.AsicVerifier
- close() - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
- CmsEncryptedAsicReader - Class in no.difi.asic.extras
-
Wrapper to seamlessly decode encoded files.
- CmsEncryptedAsicReader(AsicReader, PrivateKey) - Constructor for class no.difi.asic.extras.CmsEncryptedAsicReader
- CmsEncryptedAsicWriter - Class in no.difi.asic.extras
-
Wrapper to seamlessly encode specific files.
- CmsEncryptedAsicWriter(AsicWriter, X509Certificate) - Constructor for class no.difi.asic.extras.CmsEncryptedAsicWriter
- CmsEncryptedAsicWriter(AsicWriter, X509Certificate, ASN1ObjectIdentifier) - Constructor for class no.difi.asic.extras.CmsEncryptedAsicWriter
- combine(OutputStream, InputStream...) - Static method in class no.difi.asic.AsicUtils
-
Combine multiple containers to one container.
- CreateXadesArtifacts - Class in no.difi.asic
- CreateXadesArtifacts() - Constructor for class no.difi.asic.CreateXadesArtifacts
D
- DEFAULT_KEY_STORE_TYPE - Static variable in class no.difi.asic.SignatureHelper
- detectMime(String) - Static method in class no.difi.asic.AsicUtils
- DomUtils - Class in no.difi.asic
F
- forString(String) - Static method in class no.difi.asic.MimeType
G
- getAsicManifest() - Method in class no.difi.asic.AsicVerifier
-
Property getter for the AsicManifest of the ASiC archive.
- getAsicManifest() - Method in interface no.difi.asic.AsicReader
- getAsicManifest() - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
- getDocument() - Method in class no.difi.asic.XadesArtifacts
- getMessageDigestAlgorithm() - Method in enum class no.difi.asic.SignatureMethod
- getNextFile() - Method in class no.difi.asic.AsicVerifier
- getNextFile() - Method in interface no.difi.asic.AsicReader
-
Provides the name of the next entry in the ASiC archive and positions the inputstream at the beginning of the data.
- getNextFile() - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
- getOasisManifest() - Method in class no.difi.asic.AsicVerifier
-
Property getter for the OpenDocument manifest.
- getSignableProperties() - Method in class no.difi.asic.XadesArtifacts
- getSignablePropertiesReferenceUri() - Method in class no.difi.asic.XadesArtifacts
I
- inputStream() - Method in interface no.difi.asic.AsicReader
-
Returns InputStream to read the content.
- inputStream() - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
J
- jcaContentSignerBuilder - Variable in class no.difi.asic.SignatureHelper
- jcaDigestCalculatorProviderBuilder - Variable in class no.difi.asic.SignatureHelper
- JKS - Enum constant in enum class no.difi.asic.KeyStoreType
-
The proprietary keystore implementation provided by the SUN provider.
K
- keyPair - Variable in class no.difi.asic.SignatureHelper
- KeyStoreType - Enum Class in no.difi.asic
L
- loadCertificate(KeyStore, String, String) - Method in class no.difi.asic.SignatureHelper
- loadKeyStore(InputStream, String, KeyStoreType) - Method in class no.difi.asic.SignatureHelper
M
- MaxSizeProtectedOutputStream - Class in no.difi.asic.zipbomb
-
Use this as a simplified replacement for ByteArrayOutputStream.
- MaxSizeProtectedOutputStream() - Constructor for class no.difi.asic.zipbomb.MaxSizeProtectedOutputStream
-
Default limit is set to 1 MiB
- MaxSizeProtectedOutputStream(long) - Constructor for class no.difi.asic.zipbomb.MaxSizeProtectedOutputStream
-
Set any limit you want as long as it's more than 1024 bytes
- MimeType - Class in no.difi.asic
- MIMETYPE_ASICE - Static variable in class no.difi.asic.AsicUtils
-
The MIME type, which should be the very first entry in the container
N
- newContainer(File) - Method in class no.difi.asic.AsicWriterFactory
-
Creates a new AsicWriter, which will create an ASiC archive in the supplied file.
- newContainer(File, String) - Method in class no.difi.asic.AsicWriterFactory
-
Factory method creating a new AsicWriter, which will create an ASiC archive in the supplied directory with the supplied file name
- newContainer(OutputStream) - Method in class no.difi.asic.AsicWriterFactory
-
Creates a new AsicWriter, which will write the container contents to the supplied output stream.
- newContainer(Path) - Method in class no.difi.asic.AsicWriterFactory
- newEmptyXmlDocument() - Static method in class no.difi.asic.DomUtils
- newFactory() - Static method in class no.difi.asic.AsicReaderFactory
- newFactory() - Static method in class no.difi.asic.AsicVerifierFactory
- newFactory() - Static method in class no.difi.asic.AsicWriterFactory
-
Creates an AsicWriterFactory, which utilises the default signature method, which is currently CAdES.
- newFactory(SignatureMethod) - Static method in class no.difi.asic.AsicReaderFactory
- newFactory(SignatureMethod) - Static method in class no.difi.asic.AsicVerifierFactory
- newFactory(SignatureMethod) - Static method in class no.difi.asic.AsicWriterFactory
-
Creates an AsicWriterFactory using the supplied signature method.
- no.difi.asic - package no.difi.asic
- no.difi.asic.extras - package no.difi.asic.extras
- no.difi.asic.zipbomb - package no.difi.asic.zipbomb
O
- open(File) - Method in class no.difi.asic.AsicReaderFactory
- open(InputStream) - Method in class no.difi.asic.AsicReaderFactory
- open(Path) - Method in class no.difi.asic.AsicReaderFactory
P
- PATTERN_CADES_MANIFEST - Static variable in class no.difi.asic.AsicUtils
- PKCS12 - Enum constant in enum class no.difi.asic.KeyStoreType
-
The transfer syntax for personal identity information as defined in PKCS #12.
- provider - Variable in class no.difi.asic.SignatureHelper
S
- serializeToXml(Node) - Static method in class no.difi.asic.DomUtils
- setRootEntryName(String) - Method in interface no.difi.asic.AsicWriter
-
Specifies which entry (file) represents the "root" document, i.e. which business document to read first.
- setRootEntryName(String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- sign(File, String, String) - Method in interface no.difi.asic.AsicWriter
-
Signs and closes the ASiC archive.
- sign(File, String, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- sign(File, String, String, String) - Method in interface no.difi.asic.AsicWriter
-
Signs and closes the ASiC archive using the private and public key stored in the supplied key store under the supplied alias name.
- sign(File, String, String, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- sign(File, String, KeyStoreType, String, String) - Method in interface no.difi.asic.AsicWriter
-
Signs and closes the ASiC archive using the private and public key stored in the supplied key store under the supplied alias name.
- sign(File, String, KeyStoreType, String, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- sign(SignatureHelper) - Method in interface no.difi.asic.AsicWriter
-
Allows re-use of the same SignatureHelper object when creating multiple ASiC archive and hence the need to create multiple signatures.
- sign(SignatureHelper) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
- SignatureHelper - Class in no.difi.asic
-
Helper class to assist when creating a signature.
- SignatureHelper(File, String, String) - Constructor for class no.difi.asic.SignatureHelper
-
Loads the keystore and obtains the private key, the public key and the associated certificate
- SignatureHelper(File, String, String, String) - Constructor for class no.difi.asic.SignatureHelper
-
Loads the keystore and obtains the private key, the public key and the associated certificate referenced by the alias.
- SignatureHelper(File, String, KeyStoreType, String, String) - Constructor for class no.difi.asic.SignatureHelper
-
Loads the keystore and obtains the private key, the public key and the associated certificate referenced by the alias.
- SignatureHelper(InputStream, String, String, String) - Constructor for class no.difi.asic.SignatureHelper
-
Loading keystore and fetching key
- SignatureHelper(InputStream, String, KeyStoreType, String, String) - Constructor for class no.difi.asic.SignatureHelper
-
Loading keystore and fetching key
- SignatureHelper(KeyStore, String, String) - Constructor for class no.difi.asic.SignatureHelper
-
Obtains the private key, the public key and the associated certificate referenced by the alias from the given keystore
- SignatureHelper(Provider) - Constructor for class no.difi.asic.SignatureHelper
- SignatureMethod - Enum Class in no.difi.asic
- SignatureVerifier - Class in no.difi.asic
- SignatureVerifier() - Constructor for class no.difi.asic.SignatureVerifier
T
- toString() - Method in class no.difi.asic.MimeType
V
- validate(byte[], byte[]) - Static method in class no.difi.asic.SignatureVerifier
- valueOf(String) - Static method in enum class no.difi.asic.KeyStoreType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class no.difi.asic.SignatureMethod
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class no.difi.asic.KeyStoreType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class no.difi.asic.SignatureMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verify(File) - Method in class no.difi.asic.AsicVerifierFactory
- verify(InputStream) - Method in class no.difi.asic.AsicVerifierFactory
- verify(Path) - Method in class no.difi.asic.AsicVerifierFactory
W
- write(byte[], int, int) - Method in class no.difi.asic.zipbomb.MaxSizeProtectedOutputStream
- write(int) - Method in class no.difi.asic.zipbomb.MaxSizeProtectedOutputStream
- writeFile(File) - Method in interface no.difi.asic.AsicReader
-
Writes the contents of the current entry into a file
- writeFile(File) - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
- writeFile(OutputStream) - Method in interface no.difi.asic.AsicReader
-
Writes contents of current archive entry to the supplied output stream.
- writeFile(OutputStream) - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
- writeFile(Path) - Method in interface no.difi.asic.AsicReader
-
Writes contents of current archive entry into a file.
- writeFile(Path) - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
X
- x509Certificate - Variable in class no.difi.asic.SignatureHelper
- XAdES - Enum constant in enum class no.difi.asic.SignatureMethod
- XadesArtifacts - Class in no.difi.asic
- XadesArtifacts(Document, Element, String) - Constructor for class no.difi.asic.XadesArtifacts
- XML - Static variable in class no.difi.asic.MimeType
All Classes and Interfaces|All Packages|Constant Field Values