Package org.bouncycastle.cms
A package for processing RFC 3852 Cryptographic Message Syntax (CMS) objects - also referred to as PKCS#7 (formerly RFC 2630, 3369).
-
Interface Summary Interface Description CMSAttributeTableGenerator Note: The SIGNATURE parameter is only available when generating unsigned attributes.CMSProcessable Use CMSTypedData instead of this.CMSSignatureAlgorithmNameGenerator CMSSignatureEncryptionAlgorithmFinder Finder which is used to look up the algorithm identifiers representing the encryption algorithms that are associated with a particular signature algorithm.CMSTypedData KEKRecipient KEMRecipient KeyAgreeRecipient KeyTransRecipient PasswordRecipient Recipient RecipientInfoGenerator SignerInformationVerifierProvider -
Class Summary Class Description CMSAbsentContent a class representing null or absent content.CMSAlgorithm CMSAuthenticatedData containing class for an CMS Authenticated Data objectCMSAuthenticatedDataGenerator General class for generating a CMS authenticated-data message.CMSAuthenticatedDataParser Parsing class for an CMS Authenticated Data object from an input stream.CMSAuthenticatedDataStreamGenerator General class for generating a CMS authenticated-data message stream.CMSAuthenticatedGenerator CMSAuthEnvelopedData containing class for an CMS AuthEnveloped Data objectCMSAuthEnvelopedDataGenerator CMSAuthEnvelopedDataParser CMSAuthEnvelopedDataStreamGenerator CMSAuthEnvelopedGenerator General class for generating a CMS enveloped-data message.CMSCompressedData containing class for an CMS Compressed Data object CMSCompressedData cd = new CMSCompressedData(inputStream); process(cd.getContent(new ZlibExpanderProvider()));CMSCompressedDataGenerator General class for generating a compressed CMS message.CMSCompressedDataParser Class for reading a CMS Compressed Data stream.CMSCompressedDataStreamGenerator General class for generating a compressed CMS message stream.CMSConfig CMSContentInfoParser CMSDigestedData containing class for an CMS Digested Data object CMSDigestedData cd = new CMSDigestedData(inputStream); process(cd.getContent());CMSEncryptedData CMSEncryptedDataGenerator General class for generating a CMS encrypted-data message.CMSEncryptedGenerator General class for generating a CMS encrypted-data message.CMSEnvelopedData containing class for an CMS Enveloped Data objectCMSEnvelopedDataGenerator General class for generating a CMS enveloped-data message.CMSEnvelopedDataParser Parsing class for an CMS Enveloped Data object from an input stream.CMSEnvelopedDataStreamGenerator General class for generating a CMS enveloped-data message stream.CMSEnvelopedGenerator General class for generating a CMS enveloped-data message.CMSPatchKit Toolkit methods for dealing with common errors in CMS classes.CMSProcessableByteArray a holding class for a byte array of data to be processed.CMSProcessableFile a holding class for a file of data to be processed.CMSSignedData general class for handling a pkcs7-signature message.CMSSignedDataGenerator general class for generating a pkcs7-signature message.CMSSignedDataParser Parsing class for an CMS Signed Data object from an input stream.CMSSignedDataStreamGenerator General class for generating a pkcs7-signature message stream.CMSSignedGenerator CMSTypedStream DefaultAuthenticatedAttributeTableGenerator Default authenticated attributes generator.DefaultCMSSignatureAlgorithmNameGenerator DefaultCMSSignatureEncryptionAlgorithmFinder DefaultSignedAttributeTableGenerator Default signed attributes generator.InputStreamWithMAC KEKRecipientId KEKRecipientInfoGenerator KEKRecipientInformation the RecipientInfo class for a recipient who has been sent a message encrypted using a secret key known to the other side.KEMKeyWrapper KEMRecipientId KEMRecipientInfoGenerator KEMRecipientInformation KeyAgreeRecipientId KeyAgreeRecipientInfoGenerator KeyAgreeRecipientInformation the RecipientInfo class for a recipient who has been sent a message encrypted using key agreement.KeyTransRecipientId KeyTransRecipientInfoGenerator KeyTransRecipientInformation the KeyTransRecipientInformation class for a recipient who has been sent a secret key encrypted using their public key that needs to be used to extract the message.OriginatorInfoGenerator OriginatorInformation PasswordRecipient.PRF PasswordRecipientId PasswordRecipientInfoGenerator PasswordRecipientInformation the RecipientInfo class for a recipient who has been sent a message encrypted using a password.PKCS7ProcessableObject PKCS7TypedStream PKIXRecipientId RecipientId RecipientInformation RecipientInformationStore RecipientOperator SignerId a basic index for a signer.SignerInfoGenerator SignerInfoGeneratorBuilder Builder for SignerInfo generator objects.SignerInformation an expanded SignerInfo block from a CMS Signed messageSignerInformationStore SignerInformationVerifier SimpleAttributeTableGenerator Basic generator that just returns a preconstructed attribute table -
Exception Summary Exception Description CMSAttributeTableGenerationException CMSException CMSRuntimeException CMSSignerDigestMismatchException CMSStreamException CMSVerifierCertificateNotValidException