Skip navigation links
A C F G M N O S T V W 

A

add(File) - Method in interface no.difi.asic.AsicWriter
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(Path) - Method in interface no.difi.asic.AsicWriter
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(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(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(Path, String, MimeType) - Method in interface no.difi.asic.AsicWriter
 
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.
AsicReader - Class 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.

C

close() - Method in class no.difi.asic.AsicReader
Closes the underlying zip input stream.
combine(OutputStream, InputStream...) - Static method in class no.difi.asic.AsicUtils
Combine multiple containers to one container.

F

forString(String) - Static method in class no.difi.asic.MimeType
 

G

getMessageDigestAlgorithm() - Method in enum no.difi.asic.SignatureMethod
 
getNextFile() - Method in class 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.

M

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, 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(File) - Method in class no.difi.asic.AsicWriterFactory
Creates a new AsicWriter, which will create an ASiC archive in the supplied file.
newContainer(Path) - Method in class no.difi.asic.AsicWriterFactory
 
newContainer(OutputStream) - Method in class no.difi.asic.AsicWriterFactory
Creates a new AsicWriter, which will write the container contents to the supplied output stream.
newFactory() - Static method in class no.difi.asic.AsicReaderFactory
 
newFactory(SignatureMethod) - Static method in class no.difi.asic.AsicReaderFactory
 
newFactory() - Static method in class no.difi.asic.AsicVerifierFactory
 
newFactory(SignatureMethod) - 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.AsicWriterFactory
Creates an AsicWriterFactory using the supplied signature method.
no.difi.asic - package no.difi.asic
 

O

open(File) - Method in class no.difi.asic.AsicReaderFactory
 
open(Path) - Method in class no.difi.asic.AsicReaderFactory
 
open(InputStream) - Method in class no.difi.asic.AsicReaderFactory
 

S

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.
sign(File, String, String) - Method in interface no.difi.asic.AsicWriter
Signs and closes the ASiC archive.
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(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.
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(InputStream, String, String, String) - Constructor for class no.difi.asic.SignatureHelper
Loading keystore and fetching key
SignatureMethod - Enum in no.difi.asic
 

T

toString() - Method in class no.difi.asic.MimeType
 

V

valueOf(String) - Static method in enum no.difi.asic.SignatureMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum no.difi.asic.SignatureMethod
Returns an array containing the constants of this enum type, in the order they are declared.
verify(File) - Method in class no.difi.asic.AsicVerifierFactory
 
verify(Path) - Method in class no.difi.asic.AsicVerifierFactory
 
verify(InputStream) - Method in class no.difi.asic.AsicVerifierFactory
 

W

writeFile(File) - Method in class no.difi.asic.AsicReader
Writes the contents of the current entry into a file
writeFile(Path) - Method in class no.difi.asic.AsicReader
Writes contents of current archive entry into a file.
writeFile(OutputStream) - Method in class no.difi.asic.AsicReader
Writes contents of current archive entry to the supplied output stream.
A C F G M N O S T V W 
Skip navigation links

Copyright © 2015 Norwegian Agency for Public Management and eGovernment (Difi). All rights reserved.