| |
|
| java.lang.Object org.bouncycastle.cms.CMSSignedGenerator
All known Subclasses: org.bouncycastle.cms.CMSSignedDataGenerator, org.bouncycastle.cms.CMSSignedDataStreamGenerator,
CMSSignedGenerator | public class CMSSignedGenerator (Code) | | |
DATA | final public static String DATA(Code) | | Default type for the signed data.
|
DIGEST_GOST3411 | final public static String DIGEST_GOST3411(Code) | | |
DIGEST_RIPEMD128 | final public static String DIGEST_RIPEMD128(Code) | | |
DIGEST_RIPEMD160 | final public static String DIGEST_RIPEMD160(Code) | | |
DIGEST_RIPEMD256 | final public static String DIGEST_RIPEMD256(Code) | | |
ENCRYPTION_DSA | final public static String ENCRYPTION_DSA(Code) | | |
ENCRYPTION_ECDSA | final public static String ENCRYPTION_ECDSA(Code) | | |
ENCRYPTION_ECGOST3410 | final public static String ENCRYPTION_ECGOST3410(Code) | | |
ENCRYPTION_GOST3410 | final public static String ENCRYPTION_GOST3410(Code) | | |
ENCRYPTION_RSA | final public static String ENCRYPTION_RSA(Code) | | |
ENCRYPTION_RSA_PSS | final public static String ENCRYPTION_RSA_PSS(Code) | | |
CMSSignedGenerator | protected CMSSignedGenerator()(Code) | | |
addAttributeCertificates | public void addAttributeCertificates(X509Store store) throws CMSException(Code) | | Add the attribute certificates contained in the passed in store to the
generator.
Parameters: store - a store of Version 2 attribute certificates throws: CMSException - if an error occurse processing the store. |
addCertificatesAndCRLs | public void addCertificatesAndCRLs(CertStore certStore) throws CertStoreException, CMSException(Code) | | 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.
Parameters: certStore - CertStore containing the public key certificates and CRLs throws: java.security.cert.CertStoreException - if an issue occurs processing the CertStore throws: CMSException - if an issue occurse transforming data from the CertStore into the message |
addSigners | public void addSigners(SignerInformationStore signerStore)(Code) | | Add a store of precalculated signers to the generator.
Parameters: signerStore - store of signers |
getGeneratedDigests | public Map getGeneratedDigests()(Code) | | Return a map of oids and byte arrays representing the digests calculated on the content during
the last generate.
a map of oids (as String objects) and byte[] representing digests. |
|
|
|