Skip navigation links
A C D F G I J K L M N O P S T V W X 

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.
add(File) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
Adds another data object to the ASiC archive.
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(Path) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
Adds another data object to the ASiC archive
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(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(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(Path, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
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.
addEncrypted(File) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
addEncrypted(File, String) - 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(InputStream, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
addEncrypted(File, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
addEncrypted(Path, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
addEncrypted(InputStream, String, MimeType) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
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.

C

certificateChain - Variable in class no.difi.asic.SignatureHelper
 
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.

D

detectMime(String) - Static method in class no.difi.asic.AsicUtils
 

F

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

G

getAsicManifest() - Method in interface no.difi.asic.AsicReader
 
getAsicManifest() - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
 
getMessageDigestAlgorithm() - Method in enum no.difi.asic.SignatureMethod
 
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
 

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
 

K

keyPair - Variable in class no.difi.asic.SignatureHelper
 

L

loadCertificate(KeyStore, String, String) - Method in class no.difi.asic.SignatureHelper
 
loadKeyStore(InputStream, String) - Method in class no.difi.asic.SignatureHelper
 

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
 
no.difi.asic.extras - package no.difi.asic.extras
 

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
 

P

provider - Variable in class no.difi.asic.SignatureHelper
 

S

setRootEntryName(String) - Method in interface no.difi.asic.AsicWriter
Specifies which entry (file) represents the "root" document, i.e.
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, 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.
sign(File, String, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
sign(File, String, String, String) - Method in class no.difi.asic.extras.CmsEncryptedAsicWriter
 
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(InputStream, String, String, String) - Constructor for class no.difi.asic.SignatureHelper
Loading keystore and fetching key
SignatureHelper(Provider) - Constructor for class no.difi.asic.SignatureHelper
 
SignatureMethod - Enum 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 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 interface no.difi.asic.AsicReader
Writes the contents of the current entry into a file
writeFile(Path) - Method in interface no.difi.asic.AsicReader
Writes contents of current archive entry into a file.
writeFile(OutputStream) - Method in interface no.difi.asic.AsicReader
Writes contents of current archive entry to the supplied output stream.
writeFile(File) - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
 
writeFile(Path) - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
 
writeFile(OutputStream) - Method in class no.difi.asic.extras.CmsEncryptedAsicReader
 

X

x509Certificate - Variable in class no.difi.asic.SignatureHelper
 
XML - Static variable in class no.difi.asic.MimeType
 
A C D F G I J K L M N O P S T V W X 
Skip navigation links

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