java.lang.Object | |
↳ | org.bouncycastle.cms.CMSSignedGenerator |
Known Direct Subclasses |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DATA | Default type for the signed data. | ||||||||||
DIGEST_GOST3411 | |||||||||||
DIGEST_MD5 | |||||||||||
DIGEST_RIPEMD128 | |||||||||||
DIGEST_RIPEMD160 | |||||||||||
DIGEST_RIPEMD256 | |||||||||||
DIGEST_SHA1 | |||||||||||
DIGEST_SHA224 | |||||||||||
DIGEST_SHA256 | |||||||||||
DIGEST_SHA384 | |||||||||||
DIGEST_SHA512 | |||||||||||
ENCRYPTION_DSA | |||||||||||
ENCRYPTION_ECDSA | |||||||||||
ENCRYPTION_ECGOST3410 | |||||||||||
ENCRYPTION_GOST3410 | |||||||||||
ENCRYPTION_RSA | |||||||||||
ENCRYPTION_RSA_PSS | |||||||||||
_signers | |||||||||||
certs | |||||||||||
crls | |||||||||||
digests | |||||||||||
rand | |||||||||||
signerGens |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
base constructor
| |||||||||||
constructor allowing specific source of randomness
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
use basic Store method
| |||||||||||
This method is deprecated.
use addCertificates and addCRLs
| |||||||||||
Add a store of precalculated signers to the generator.
| |||||||||||
Return a map of oids and byte arrays representing the digests calculated on the content during
the last generate.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
base constructor
constructor allowing specific source of randomness
rand | instance of SecureRandom to use |
---|
This method is deprecated.
use basic Store method
Add the attribute certificates contained in the passed in store to the generator.
store | a store of Version 2 attribute certificates |
---|
CMSException | if an error occurse processing the store. |
---|
This method is deprecated.
use addCertificates and addCRLs
add the certificates and CRLs contained in the given CertStore to the pool that will be included in the encoded signature block.
Note: this assumes the CertStore will support null in the get methods.
certStore | CertStore containing the public key certificates and CRLs |
---|
CertStoreException | if an issue occurs processing the CertStore |
---|---|
CMSException | if an issue occurse transforming data from the CertStore into the message |
Add a store of precalculated signers to the generator.
signerStore | store of signers |
---|
Return a map of oids and byte arrays representing the digests calculated on the content during the last generate.
IOException |
---|