Package | Description |
---|---|
it.trento.comune.j4sign.cms |
A package for processing RFC 3369 Cryptographic Message Syntax (CMS) objects - also referred to as PKCS#7 (formerly RFC 2630);
the involved signing processes are kept external. |
it.trento.comune.j4sign.cms.utils |
Classes for building and verifying CMS documents.
|
it.trento.comune.j4sign.examples |
Usage examples.
|
Modifier and Type | Method and Description |
---|---|
void |
ExternalSignatureCMSSignedDataGenerator.addSignerInf(ExternalSignatureSignerInfoGenerator si)
adds all the information necessary to build the
org.bouncycastle.asn1.cms.SignerInfo about a signer. |
Modifier and Type | Field and Description |
---|---|
private ExternalSignatureSignerInfoGenerator |
CMSBuilder.infoGen |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.cms.CMSSignedData |
CMSBuilder.buildCMSSignedData(ExternalSignatureSignerInfoGenerator infoGen,
byte[] data,
byte[] sigBytes,
byte[] certBytes) |
Modifier and Type | Field and Description |
---|---|
private ExternalSignatureSignerInfoGenerator |
CMSServlet.SignerInfoGeneratorItem.sig |
private ExternalSignatureSignerInfoGenerator |
GUITest.signerInfoGenerator |
Modifier and Type | Method and Description |
---|---|
private ExternalSignatureSignerInfoGenerator |
CMSServlet.buildSignerInfoGenerator()
Deprecated.
Creates a
ExternalSignatureSignerInfoGenerator with a
MD5 digest algorithm and RSA encryption
algorithm. |
ExternalSignatureSignerInfoGenerator |
CMSServlet.SignerInfoGeneratorItem.getSig()
The ExternalSignatureSignerInfoGenerator getter.
|
(package private) ExternalSignatureSignerInfoGenerator |
CLITest.getSignerInfoGenerator(org.bouncycastle.cms.CMSProcessable msg,
java.lang.String digestAlg,
java.lang.String encryptionAlg,
boolean digestOnToken,
java.util.ArrayList certList)
Implements a single signature, returning the
ExternalSignatureSignerInfoGenerator that encapsulates all signer
informations. |
private ExternalSignatureSignerInfoGenerator |
CMSServlet.retriveSignerInfoGenerator(java.lang.String storeKey)
Deprecated.
Gets the
ExternalSignatureSignerInfoGenerator generator
which originally produced the given storeKey . |
Modifier and Type | Method and Description |
---|---|
private org.bouncycastle.cms.CMSSignedData |
CMSServlet.buildCMSSignedData(ExternalSignatureSignerInfoGenerator infoGen,
byte[] sigBytes,
byte[] certBytes)
Deprecated.
Builds the CMS signed data message.
|
private byte[] |
CMSServlet.getAuthenticatedAttributesBytes(ExternalSignatureSignerInfoGenerator signerGenerator)
Deprecated.
Uses the provided
ExternalSignatureSignerInfoGenerator for
calculating the authenticated attributes bytes to be digested-encrypted
by the signer. |
Constructor and Description |
---|
CMSServlet.SignerInfoGeneratorItem(ExternalSignatureSignerInfoGenerator aSig,
java.lang.String aPrintOut)
Constructor.
|