Uses of Interface
no.difi.asic.AsicWriter
Packages that use AsicWriter
-
Uses of AsicWriter in no.difi.asic
Methods in no.difi.asic that return AsicWriterModifier and TypeMethodDescriptionAdds another data object to the ASiC archive.Adds another data object to the ASiC container, using the supplied name as the zip entry nameAdds the contents of a file into the ASiC archive using the supplied entry name and MIME type.AsicWriter.add(InputStream inputStream, String filename) Adds the data provided by the stream into the ASiC archive, using the name of the supplied file as the entry name.AsicWriter.add(InputStream inputStream, String filename, MimeType mimeType) Adds the contents of an input stream into the ASiC archive, under a given entry name and explicitly identifying the MIME type.Adds another data object to the ASiC archiveAdds another data object to the ASiC container under the entry name provided.AsicWriterFactory.newContainer(File file) Creates a new AsicWriter, which will create an ASiC archive in the supplied file.AsicWriterFactory.newContainer(File outputDir, String filename) Factory method creating a new AsicWriter, which will create an ASiC archive in the supplied directory with the supplied file nameAsicWriterFactory.newContainer(OutputStream outputStream) Creates a new AsicWriter, which will write the container contents to the supplied output stream.AsicWriterFactory.newContainer(Path path) AsicWriter.setRootEntryName(String name) Specifies which entry (file) represents the "root" document, i.e. which business document to read first.Signs and closes the ASiC archive.Signs and closes the ASiC archive using the private and public key stored in the supplied key store under the supplied alias name.AsicWriter.sign(File keyStoreFile, String keyStorePassword, KeyStoreType keyStoreType, String keyAlias, String keyPassword) Signs and closes the ASiC archive using the private and public key stored in the supplied key store under the supplied alias name.AsicWriter.sign(SignatureHelper signatureHelper) Allows re-use of the same SignatureHelper object when creating multiple ASiC archive and hence the need to create multiple signatures. -
Uses of AsicWriter in no.difi.asic.extras
Classes in no.difi.asic.extras that implement AsicWriterModifier and TypeClassDescriptionclassWrapper to seamlessly encode specific files.Methods in no.difi.asic.extras that return AsicWriterModifier and TypeMethodDescriptionAdds another data object to the ASiC archive.Adds another data object to the ASiC container, using the supplied name as the zip entry nameAdds the contents of a file into the ASiC archive using the supplied entry name and MIME type.CmsEncryptedAsicWriter.add(InputStream inputStream, String filename) Adds the data provided by the stream into the ASiC archive, using the name of the supplied file as the entry name.CmsEncryptedAsicWriter.add(InputStream inputStream, String filename, MimeType mimeType) Adds the contents of an input stream into the ASiC archive, under a given entry name and explicitly identifying the MIME type.Adds another data object to the ASiC archiveAdds another data object to the ASiC container under the entry name provided.CmsEncryptedAsicWriter.addEncrypted(File file) CmsEncryptedAsicWriter.addEncrypted(File file, String entryName) CmsEncryptedAsicWriter.addEncrypted(File file, String entryName, MimeType mimeType) CmsEncryptedAsicWriter.addEncrypted(InputStream inputStream, String filename) CmsEncryptedAsicWriter.addEncrypted(InputStream inputStream, String filename, MimeType mimeType) CmsEncryptedAsicWriter.addEncrypted(Path path) CmsEncryptedAsicWriter.addEncrypted(Path path, String entryName) CmsEncryptedAsicWriter.addEncrypted(Path path, String entryName, MimeType mimeType) CmsEncryptedAsicWriter.setRootEntryName(String name) CmsEncryptedAsicWriter.sign(File keyStoreFile, String keyStorePassword, String keyAlias, String keyPassword) CmsEncryptedAsicWriter.sign(File keyStoreFile, String keyStorePassword, KeyStoreType keyStoreType, String keyAlias, String keyPassword) CmsEncryptedAsicWriter.sign(SignatureHelper signatureHelper) Constructors in no.difi.asic.extras with parameters of type AsicWriterModifierConstructorDescriptionCmsEncryptedAsicWriter(AsicWriter asicWriter, X509Certificate certificate) CmsEncryptedAsicWriter(AsicWriter asicWriter, X509Certificate certificate, org.bouncycastle.asn1.ASN1ObjectIdentifier cmsAlgorithm)