| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| protected List | |
| protected List | |
| public static final String | DATA
Default type for the signed data. |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| protected DigestAlgorithmIdentifierFinder | |
| protected Map | |
| private static final Map | |
| public static final String | |
| public static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final Set | |
| protected List |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAttributeCertificate(X509AttributeCertificateHolder
the store containing the certificates to be included. attrCert)Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message. |
| public void | addAttributeCertificates(Store<T>
the store containing the certificates to be included. attrStore)Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message. |
| public void | addCertificate(X509CertificateHolder
the certificate to be included. certificate)Add a certificate to the certificate set to be included with the generated SignedData message. |
| public void | addCertificates(Store<T>
the store containing the certificates to be included. certStore)Add the certificates in certStore to the certificate set to be included with the generated SignedData message. |
| public void | addCRL(X509CRLHolder
the CRL to be included. crl)Add a CRL to the CRL set to be included with the generated SignedData message. |
| public void | |
| public void | addOtherRevocationInfo(ASN1ObjectIdentifier
the OID specifying the format of the otherRevocationInfo data. otherRevocationInfoFormat, ASN1Encodable the otherRevocationInfo ASN.1 structure. otherRevocationInfo)Add a single instance of otherRevocationData to the CRL set to be included with the generated SignedData message. |
| public void | addOtherRevocationInfo(ASN1ObjectIdentifier
the OID specifying the format of the otherRevocationInfo data. otherRevocationInfoFormat, Store<T> a Store of otherRevocationInfo data to add. otherRevocationInfos)Add a Store of otherRevocationData to the CRL set to be included with the generated SignedData message. |
| public void | addSignerInfoGenerator(SignerInfoGenerator
the generator representing the particular signer. infoGen)Add a generator for a particular signer to this CMS SignedData generator. |
| public void | addSigners(SignerInformationStore
store of signers signerStore)Add a store of pre-calculated signers to the generator. |
| protected Map | |
| public Map | Returns: a map of oids (as String objects) and byte[] representing digests.Return a map of oids and byte arrays representing the digests calculated on the content during the last generate. |
| _signers | back to summary |
|---|---|
| protected List<E> _signers | |
| certs | back to summary |
|---|---|
| protected List<E> certs | |
| crls | back to summary |
|---|---|
| protected List<E> crls | |
| DATA | back to summary |
|---|---|
| public static final String DATA Default type for the signed data. | |
| DIGEST_GOST3411 | back to summary |
|---|---|
| public static final String DIGEST_GOST3411 | |
| DIGEST_MD5 | back to summary |
|---|---|
| public static final String DIGEST_MD5 | |
| DIGEST_RIPEMD128 | back to summary |
|---|---|
| public static final String DIGEST_RIPEMD128 | |
| DIGEST_RIPEMD160 | back to summary |
|---|---|
| public static final String DIGEST_RIPEMD160 | |
| DIGEST_RIPEMD256 | back to summary |
|---|---|
| public static final String DIGEST_RIPEMD256 | |
| DIGEST_SHA1 | back to summary |
|---|---|
| public static final String DIGEST_SHA1 | |
| DIGEST_SHA224 | back to summary |
|---|---|
| public static final String DIGEST_SHA224 | |
| DIGEST_SHA256 | back to summary |
|---|---|
| public static final String DIGEST_SHA256 | |
| DIGEST_SHA384 | back to summary |
|---|---|
| public static final String DIGEST_SHA384 | |
| DIGEST_SHA512 | back to summary |
|---|---|
| public static final String DIGEST_SHA512 | |
| digestAlgIdFinder | back to summary |
|---|---|
| protected DigestAlgorithmIdentifierFinder digestAlgIdFinder | |
| digests | back to summary |
|---|---|
| protected Map<K, V> digests | |
| EC_ALGORITHMS | back to summary |
|---|---|
| private static final Map<K, V> EC_ALGORITHMS | |
| ENCRYPTION_DSA | back to summary |
|---|---|
| public static final String ENCRYPTION_DSA | |
| ENCRYPTION_ECDSA | back to summary |
|---|---|
| public static final String ENCRYPTION_ECDSA | |
| ENCRYPTION_ECDSA_WITH_SHA1 | back to summary |
|---|---|
| private static final String ENCRYPTION_ECDSA_WITH_SHA1 | |
| ENCRYPTION_ECDSA_WITH_SHA224 | back to summary |
|---|---|
| private static final String ENCRYPTION_ECDSA_WITH_SHA224 | |
| ENCRYPTION_ECDSA_WITH_SHA256 | back to summary |
|---|---|
| private static final String ENCRYPTION_ECDSA_WITH_SHA256 | |
| ENCRYPTION_ECDSA_WITH_SHA384 | back to summary |
|---|---|
| private static final String ENCRYPTION_ECDSA_WITH_SHA384 | |
| ENCRYPTION_ECDSA_WITH_SHA512 | back to summary |
|---|---|
| private static final String ENCRYPTION_ECDSA_WITH_SHA512 | |
| ENCRYPTION_ECGOST3410 | back to summary |
|---|---|
| public static final String ENCRYPTION_ECGOST3410 | |
| ENCRYPTION_GOST3410 | back to summary |
|---|---|
| public static final String ENCRYPTION_GOST3410 | |
| ENCRYPTION_RSA | back to summary |
|---|---|
| public static final String ENCRYPTION_RSA | |
| ENCRYPTION_RSA_PSS | back to summary |
|---|---|
| public static final String ENCRYPTION_RSA_PSS | |
| NO_PARAMS | back to summary |
|---|---|
| private static final Set<E> NO_PARAMS | |
| signerGens | back to summary |
|---|---|
| protected List<E> signerGens | |
| CMSSignedGenerator | back to summary |
|---|---|
| protected CMSSignedGenerator() base constructor | |
| CMSSignedGenerator | back to summary |
|---|---|
| protected CMSSignedGenerator(DigestAlgorithmIdentifierFinder digestAlgIdFinder) | |
| addAttributeCertificate | back to summary |
|---|---|
| public void addAttributeCertificate(X509AttributeCertificateHolder attrCert) throws CMSException Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message.
| |
| addAttributeCertificates | back to summary |
|---|---|
| public void addAttributeCertificates(Store<T> attrStore) throws CMSException Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message.
| |
| addCertificate | back to summary |
|---|---|
| public void addCertificate(X509CertificateHolder certificate) throws CMSException Add a certificate to the certificate set to be included with the generated SignedData message.
| |
| addCertificates | back to summary |
|---|---|
| public void addCertificates(Store<T> certStore) throws CMSException Add the certificates in certStore to the certificate set to be included with the generated SignedData message.
| |
| addCRL | back to summary |
|---|---|
| public void addCRL(X509CRLHolder crl) Add a CRL to the CRL set to be included with the generated SignedData message.
| |
| addCRLs | back to summary |
|---|---|
| public void addCRLs(Store<T> crlStore) throws CMSException Add the CRLs in crlStore to the CRL set to be included with the generated SignedData message.
| |
| addOtherRevocationInfo | back to summary |
|---|---|
| public void addOtherRevocationInfo(ASN1ObjectIdentifier otherRevocationInfoFormat, ASN1Encodable otherRevocationInfo) Add a single instance of otherRevocationData to the CRL set to be included with the generated SignedData message.
| |
| addOtherRevocationInfo | back to summary |
|---|---|
| public void addOtherRevocationInfo(ASN1ObjectIdentifier otherRevocationInfoFormat, Store<T> otherRevocationInfos) Add a Store of otherRevocationData to the CRL set to be included with the generated SignedData message.
| |
| addSignerInfoGenerator | back to summary |
|---|---|
| public void addSignerInfoGenerator(SignerInfoGenerator infoGen) Add a generator for a particular signer to this CMS SignedData generator.
| |
| addSigners | back to summary |
|---|---|
| public void addSigners(SignerInformationStore signerStore) Add a store of pre-calculated signers to the generator.
| |
| getBaseParameters | back to summary |
|---|---|
| protected Map | |
| getGeneratedDigests | back to summary |
|---|---|
| public Map Return a map of oids and byte arrays representing the digests calculated on the content during the last generate.
| |