| Package | Description |
|---|---|
| com.entrust.toolkit.archive |
Contains classes for reading and writing files in the legacy Entrust Archive format.
|
| com.entrust.toolkit.exceptions |
| Modifier and Type | Method and Description |
|---|---|
void |
ArchiveCreator.addTrustedRecipients(X509Certificate[] recipients)
Adds each certificate in the given array as a message recipient.
|
ArchiveResults |
ArchiveInputStream.getArchiveResults()
Returns the results of processing an Entrust Archive.
|
ArchiveResultsMac |
ArchiveInputStreamMac.getArchiveResults()
Returns the results of processing an Entrust Archive.
|
PemOptions |
ArchiveInputStream.getFileProtectionOptions()
Returns the options used when protecting the Archive.
|
PemOptions |
ArchiveInputStreamMac.getFileProtectionOptions()
Returns the options used when protecting the Archive.
|
PemParsedHeader |
PemInputStream.getHeader()
Return the header parsed from the message.
|
java.lang.String |
ArchiveInputStream.getIncludedFileName()
Returns a String containing the name of the file that is protected
by the Archive.
|
java.lang.String |
ArchiveInputStreamMac.getIncludedFileName()
Returns a String containing the name of the file that is protected by the
Archive.
|
int |
ArchiveCreator.process()
This method should be called repeatedly to read data from the input file,
and protect the data.
|
int |
PemHeader.write(java.io.OutputStream os)
Writes the header to an OutputStream.
|
| Constructor and Description |
|---|
ArchiveCreator(User user,
java.io.File toProtect,
PemOptions pemOptions,
LargeFileOptions largeFileOptions,
java.io.OutputStream outStream)
This constructor provides support for protection of large files (larger
than available memory) with Entrust Archive format.
|
ArchiveCreator(User user,
java.io.File toProtect,
PemOptions options,
java.io.OutputStream outStream)
This constructor only supports protection of small files (smaller than
available memory) with Entrust Archive format.
|
PemOutputStream(java.security.PrivateKey signingKey,
X509Certificate verificationCertificate,
X509Certificate originatorCertificate,
PemOptions options,
java.io.OutputStream outStream,
java.io.OutputStream headerStream)
Creates a PEM message, signed with the given signing key, with the given
certificates used as those of the originator.
|
PemOutputStream(User user,
PemOptions options,
java.io.OutputStream outStream)
Create a PemOutputStream that does not write the header.
|
PemOutputStream(User user,
PemOptions options,
java.io.OutputStream outStream,
java.io.OutputStream headerStream)
Create a PemOutputStream that writes the protected data and header
to separate streams.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArchiveAlgorithmException
This class is used for exceptions when creating or processing
Entrust Archive format files or PEM messages that are specific to
algorithm problems.
|