Uses of Class
org.bouncycastle.cms.CMSException
Packages that use CMSException
Package
Description
-
Uses of CMSException in org.bouncycastle.cert.cmp
Methods in org.bouncycastle.cert.cmp that throw CMSException -
Uses of CMSException in org.bouncycastle.cert.crmf
Methods in org.bouncycastle.cert.crmf that throw CMSExceptionModifier and TypeMethodDescriptionPKIArchiveControlBuilder.build(OutputEncryptor contentEncryptor) Build the PKIArchiveControl using the passed in encryptor to encrypt its contents.org.bouncycastle.asn1.cmp.CMPCertificateCertificateResponse.getCertificate()Return the CMPCertificate representing the plaintext certificate in the response.org.bouncycastle.asn1.cmp.CMPCertificateCertificateResponse.getCertificate(Recipient recipient) Return the CMPCertificate representing the plaintext certificate in the response.CertificateResponse.getEncryptedCertificate()Return a CMSEnvelopedData representing the encrypted certificate contained in the response. -
Uses of CMSException in org.bouncycastle.cms
Subclasses of CMSException in org.bouncycastle.cmsModifier and TypeClassDescriptionclassclassMethods in org.bouncycastle.cms that throw CMSExceptionModifier and TypeMethodDescriptionvoidCMSSignedGenerator.addAttributeCertificate(X509AttributeCertificateHolder attrCert) Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message.voidCMSSignedGenerator.addAttributeCertificates(Store attrStore) Add the attribute certificates in attrStore to the certificate set to be included with the generated SignedData message.voidCMSSignedGenerator.addCertificate(X509CertificateHolder certificate) Add a certificate to the certificate set to be included with the generated SignedData message.voidCMSSignedGenerator.addCertificates(Store certStore) Add the certificates in certStore to the certificate set to be included with the generated SignedData message.voidAdd the CRLs in crlStore to the CRL set to be included with the generated SignedData message.byte[]PasswordRecipient.calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) protected abstract byte[]PasswordRecipientInfoGenerator.calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) CMSAuthenticatedDataGenerator.generate(CMSTypedData typedData, MacCalculator macCalculator) Generate an authenticated data object from the passed in typedData and MacCalculator.CMSAuthenticatedDataGenerator.generate(CMSTypedData typedData, MacCalculator macCalculator, DigestCalculator digestCalculator) Generate an authenticated data object from the passed in typedData and MacCalculator.CMSAuthEnvelopedDataGenerator.generate(CMSTypedData content, OutputAEADEncryptor contentEncryptor) generate an auth-enveloped object that contains an CMS Enveloped Data object using the given provider.CMSCompressedDataGenerator.generate(CMSTypedData content, OutputCompressor compressor) generate an object that contains an CMS Compressed DataCMSEncryptedDataGenerator.generate(CMSTypedData content, OutputEncryptor contentEncryptor) generate an encrypted object that contains an CMS Encrypted Data structure.CMSEnvelopedDataGenerator.generate(CMSTypedData content, OutputEncryptor contentEncryptor) generate an enveloped object that contains an CMS Enveloped Data object using the given provider.CMSSignedDataGenerator.generate(CMSTypedData content) Generate a CMS Signed Data object carrying a detached CMS signature.CMSSignedDataGenerator.generate(CMSTypedData content, boolean encapsulate) Generate a CMS Signed Data object which can be carrying a detached CMS signature, or have encapsulated data, depending on the value of the encapsulated parameter.final org.bouncycastle.asn1.cms.RecipientInfoKEKRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) final org.bouncycastle.asn1.cms.RecipientInfoKEMRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) org.bouncycastle.asn1.cms.RecipientInfoKeyAgreeRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) final org.bouncycastle.asn1.cms.RecipientInfoKeyTransRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) org.bouncycastle.asn1.cms.RecipientInfoPasswordRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) org.bouncycastle.asn1.cms.RecipientInfoRecipientInfoGenerator.generate(GenericKey contentEncryptionKey) org.bouncycastle.asn1.cms.SignerInfoSignerInfoGenerator.generate(ASN1ObjectIdentifier contentType) CMSSignedDataGenerator.generateCounterSigners(SignerInformation signer) generate a set of one or more SignerInformation objects representing counter signatures on the passed in SignerInformation object.protected abstract byte[]PasswordRecipientInfoGenerator.generateEncryptedBytes(AlgorithmIdentifier algorithm, byte[] derivedKey, GenericKey contentEncryptionKey) protected abstract ASN1SequenceKeyAgreeRecipientInfoGenerator.generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncAlgorithm, GenericKey contentEncryptionKey) CMSSignedDataParser.getAttributeCertificates()Return any X.509 attribute certificate objects in this SignedData structure as a Store of X509AttributeCertificateHolder objects.CMSSignedDataParser.getCertificates()Return any X.509 certificate objects in this SignedData structure as a Store of X509CertificateHolder objects.byte[]CMSCompressedData.getContent(InputExpanderProvider expanderProvider) Return the uncompressed content.CMSCompressedDataParser.getContent(InputExpanderProvider expanderProvider) Return a typed stream which will allow the reading of the compressed content in expanded form.byte[]CMSEncryptedData.getContent(InputDecryptorProvider inputDecryptorProvider) byte[]RecipientInformation.getContent(Recipient recipient) Return the decrypted/encapsulated content in the EnvelopedData after recovering the content encryption/MAC key using the passed in Recipient.CMSEncryptedData.getContentStream(InputDecryptorProvider inputDecryptorProvider) RecipientInformation.getContentStream(Recipient recipient) Return a CMSTypedStream representing the content in the EnvelopedData after recovering the content encryption/MAC key using the passed in Recipient.CMSSignedDataParser.getCRLs()Return any X.509 CRL objects in this SignedData structure as a Store of X509CRLHolder objects.CMSDigestedData.getDigestedContent()Return the digested contentCMSProcessableFile.getInputStream()CMSSignedDataParser.getOtherRevocationInfo(ASN1ObjectIdentifier otherRevocationInfoFormat) Return any OtherRevocationInfo OtherRevInfo objects of the type indicated by otherRevocationInfoFormat in this SignedData structure.KEKRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentKey) protected RecipientOperatorKEKRecipientInformation.getRecipientOperator(Recipient recipient) KEMRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentKey) protected RecipientOperatorKEMRecipientInformation.getRecipientOperator(Recipient recipient) KeyAgreeRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderPublicKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey) protected RecipientOperatorKeyAgreeRecipientInformation.getRecipientOperator(Recipient recipient) KeyTransRecipient.getRecipientOperator(AlgorithmIdentifier keyEncAlg, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentKey) protected RecipientOperatorKeyTransRecipientInformation.getRecipientOperator(Recipient recipient) PasswordRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedEncryptedContentKey) protected RecipientOperatorPasswordRecipientInformation.getRecipientOperator(Recipient recipient) protected abstract RecipientOperatorRecipientInformation.getRecipientOperator(Recipient recipient) CMSSignedDataParser.getSignerInfos()return the collection of signers that are associated with the signatures for the message.protected abstract byte[]KeyAgreeRecipientInfoGenerator.getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlgorithm) CMSAuthenticatedDataStreamGenerator.open(OutputStream out, MacCalculator macCalculator) generate an authenticated data structure with the encapsulated bytes marked as DATA.CMSAuthenticatedDataStreamGenerator.open(OutputStream out, MacCalculator macCalculator, DigestCalculator digestCalculator) CMSAuthenticatedDataStreamGenerator.open(ASN1ObjectIdentifier dataType, OutputStream out, MacCalculator macCalculator) generate an authenticated data structure with the encapsulated bytes marked as type dataType.CMSAuthenticatedDataStreamGenerator.open(ASN1ObjectIdentifier dataType, OutputStream out, MacCalculator macCalculator, DigestCalculator digestCalculator) generate an authenticated data structure with the encapsulated bytes marked as type dataType.protected OutputStreamCMSAuthEnvelopedDataStreamGenerator.open(OutputStream out, ASN1EncodableVector recipientInfos, OutputAEADEncryptor encryptor) CMSAuthEnvelopedDataStreamGenerator.open(OutputStream out, OutputAEADEncryptor encryptor) generate an enveloped object that contains an CMS Enveloped Data object using the given encryptor.protected OutputStreamCMSEnvelopedDataStreamGenerator.open(OutputStream out, ASN1EncodableVector recipientInfos, OutputEncryptor encryptor) CMSEnvelopedDataStreamGenerator.open(OutputStream out, OutputEncryptor encryptor) generate an enveloped object that contains an CMS Enveloped Data object using the given encryptor.CMSEnvelopedDataStreamGenerator.open(ASN1ObjectIdentifier dataType, OutputStream out, OutputEncryptor encryptor) generate an enveloped object that contains an CMS Enveloped Data object using the given encryptor and marking the data as being of the passed in type.static CMSSignedDataCMSSignedData.replaceCertificatesAndCRLs(CMSSignedData signedData, Store certificates, Store attrCerts, Store revocations) Replace the certificate and CRL information associated with this CMSSignedData object with the new one passed in.static OutputStreamCMSSignedDataParser.replaceCertificatesAndCRLs(InputStream original, Store certs, Store crls, Store attrCerts, OutputStream out) Replace the certificate and CRL information associated with this CMSSignedData object with the new one passed in.static OutputStreamCMSSignedDataParser.replaceSigners(InputStream original, SignerInformationStore signerInformationStore, OutputStream out) Replace the signerinformation store associated with the passed in message contained in the stream original with the new one passed in.booleanCMSDigestedData.verify(DigestCalculatorProvider calculatorProvider) booleanSignerInformation.verify(SignerInformationVerifier verifier) Verify that the given verifier can successfully verify the signature on this SignerInformation object.booleanCMSSignedData.verifySignatures(SignerInformationVerifierProvider verifierProvider) Verify all the SignerInformation objects and their associated counter signatures attached to this CMS SignedData object.booleanCMSSignedData.verifySignatures(SignerInformationVerifierProvider verifierProvider, boolean ignoreCounterSignatures) Verify all the SignerInformation objects and optionally their associated counter signatures attached to this CMS SignedData object.voidCMSAbsentContent.write(OutputStream zOut) voidCMSProcessable.write(OutputStream out) generic routine to copy out the data we want processed - the OutputStream passed in will do the handling on it's own.voidCMSProcessableByteArray.write(OutputStream zOut) voidCMSProcessableFile.write(OutputStream zOut) voidPKCS7ProcessableObject.write(OutputStream cOut) Constructors in org.bouncycastle.cms that throw CMSExceptionModifierConstructorDescriptionCMSAuthenticatedData(byte[] authData) CMSAuthenticatedData(byte[] authData, DigestCalculatorProvider digestCalculatorProvider) CMSAuthenticatedData(InputStream authData) CMSAuthenticatedData(InputStream authData, DigestCalculatorProvider digestCalculatorProvider) CMSAuthenticatedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) CMSAuthenticatedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo, DigestCalculatorProvider digestCalculatorProvider) CMSAuthenticatedDataParser(byte[] envelopedData) CMSAuthenticatedDataParser(byte[] envelopedData, DigestCalculatorProvider digestCalculatorProvider) CMSAuthenticatedDataParser(InputStream envelopedData) CMSAuthenticatedDataParser(InputStream envelopedData, DigestCalculatorProvider digestCalculatorProvider) CMSAuthEnvelopedData(byte[] authEnvData) CMSAuthEnvelopedData(InputStream authEnvData) CMSAuthEnvelopedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) CMSAuthEnvelopedDataParser(byte[] envelopedData) CMSAuthEnvelopedDataParser(InputStream envelopedData) CMSCompressedData(byte[] compressedData) CMSCompressedData(InputStream compressedData) CMSCompressedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) CMSCompressedDataParser(byte[] compressedData) CMSCompressedDataParser(InputStream compressedData) protectedCMSDigestedData(byte[] compressedData) CMSDigestedData(InputStream compressedData) CMSDigestedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) CMSEnvelopedData(byte[] envelopedData) CMSEnvelopedData(InputStream envelopedData) CMSEnvelopedData(org.bouncycastle.asn1.cms.ContentInfo contentInfo) Construct a CMSEnvelopedData object from a content info object.CMSEnvelopedDataParser(byte[] envelopedData) CMSEnvelopedDataParser(InputStream envelopedData) CMSSignedData(byte[] sigBlock) CMSSignedData(InputStream sigData) base constructor - with encapsulated contentCMSSignedData(Map hashes, byte[] sigBlock) Content with detached signature, digests precomputedCMSSignedData(Map hashes, org.bouncycastle.asn1.cms.ContentInfo sigData) CMSSignedData(org.bouncycastle.asn1.cms.ContentInfo sigData) CMSSignedData(CMSProcessable signedContent, byte[] sigBlock) CMSSignedData(CMSProcessable signedContent, InputStream sigData) base constructor - content with detached signature.CMSSignedData(CMSProcessable signedContent, org.bouncycastle.asn1.cms.ContentInfo sigData) CMSSignedDataParser(DigestCalculatorProvider digestCalculatorProvider, byte[] sigBlock) CMSSignedDataParser(DigestCalculatorProvider digestCalculatorProvider, InputStream sigData) base constructor - with encapsulated contentCMSSignedDataParser(DigestCalculatorProvider digestCalculatorProvider, CMSTypedStream signedContent, byte[] sigBlock) CMSSignedDataParser(DigestCalculatorProvider digestCalculatorProvider, CMSTypedStream signedContent, InputStream sigData) base constructorOriginatorInfoGenerator(Store origCerts) OriginatorInfoGenerator(Store origCerts, Store origCRLs) -
Uses of CMSException in org.bouncycastle.cms.bc
Methods in org.bouncycastle.cms.bc that throw CMSExceptionModifier and TypeMethodDescriptionBcCMSContentEncryptorBuilder.build()byte[]BcPasswordRecipient.calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) protected byte[]BcPasswordRecipientInfoGenerator.calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) protected CipherParametersBcKEKRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) protected CipherParametersBcKeyTransRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedEncryptionKey) protected KeyParameterBcPasswordRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) byte[]BcPasswordRecipientInfoGenerator.generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) BcKEKEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) BcPasswordEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) BcRSAKeyTransEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) -
Uses of CMSException in org.bouncycastle.cms.jcajce
Methods in org.bouncycastle.cms.jcajce that throw CMSExceptionModifier and TypeMethodDescriptionJceCMSContentEncryptorBuilder.build()JceCMSMacCalculatorBuilder.build()byte[]JcePasswordRecipient.calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) protected byte[]JcePasswordRecipientInfoGenerator.calculateDerivedKey(int schemeID, AlgorithmIdentifier derivationAlgorithm, int keySize) EnvelopedDataHelper.createContentCipher(Key sKey, AlgorithmIdentifier encryptionAlgID) EnvelopedDataHelper.createKeyFactory(ASN1ObjectIdentifier algorithm) EnvelopedDataHelper.createKeyGenerator(ASN1ObjectIdentifier algorithm) protected KeyJceKEKRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedContentEncryptionKey) protected KeyJceKEMRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedEncryptionKey) protected KeyJceKeyAgreeRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentEncryptionKey) protected KeyJceKeyTransRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedEncryptionKey) protected KeyJceKTSKeyTransRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier encryptedKeyAlgorithm, byte[] encryptedEncryptionKey) protected KeyJcePasswordRecipient.extractSecretKey(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) byte[]JcePasswordRecipientInfoGenerator.generateEncryptedBytes(AlgorithmIdentifier keyEncryptionAlgorithm, byte[] derivedKey, GenericKey contentEncryptionKey) JceKeyAgreeRecipientInfoGenerator.generateRecipientEncryptedKeys(AlgorithmIdentifier keyAgreeAlgorithm, AlgorithmIdentifier keyEncryptionAlgorithm, GenericKey contentEncryptionKey) JceAlgorithmIdentifierConverter.getAlgorithmParameters(AlgorithmIdentifier algorithmIdentifier) EnvelopedDataHelper.getJceKey(AlgorithmIdentifier algId, GenericKey key) JceKEKAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentMacAlgorithm, byte[] encryptedContentEncryptionKey) JceKEKEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) JceKEMEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) JceKeyAgreeAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentMacAlgorithm, SubjectPublicKeyInfo senderPublicKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey) JceKeyAgreeEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, SubjectPublicKeyInfo senderPublicKey, ASN1OctetString userKeyingMaterial, byte[] encryptedContentKey) JceKeyTransAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentMacAlgorithm, byte[] encryptedContentEncryptionKey) JceKeyTransAuthEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) JceKeyTransEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) JceKTSKeyTransAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentMacAlgorithm, byte[] encryptedContentEncryptionKey) JceKTSKeyTransEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) JcePasswordAuthenticatedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentMacAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) JcePasswordEnvelopedRecipient.getRecipientOperator(AlgorithmIdentifier keyEncryptionAlgorithm, AlgorithmIdentifier contentEncryptionAlgorithm, byte[] derivedKey, byte[] encryptedContentEncryptionKey) protected byte[]JceKeyAgreeRecipientInfoGenerator.getUserKeyingMaterial(AlgorithmIdentifier keyAgreeAlg) voidEnvelopedDataHelper.keySizeCheck(AlgorithmIdentifier keyAlgorithm, Key key) protected KeyJceKeyAgreeRecipient.unwrapSessionKey(ASN1ObjectIdentifier wrapAlg, SecretKey agreedKey, ASN1ObjectIdentifier contentEncryptionAlgorithm, byte[] encryptedContentEncryptionKey) -
Uses of CMSException in org.bouncycastle.mime.smime
Methods in org.bouncycastle.mime.smime that throw CMSExceptionModifier and TypeMethodDescriptionSMIMESignedWriter.Builder.addCertificate(X509CertificateHolder certificate) SMIMESignedWriter.Builder.addCertificates(Store certificates) voidSMimeParserListener.envelopedData(MimeParserContext parserContext, Headers headers, OriginatorInformation originatorInformation, RecipientInformationStore recipients) voidSMimeParserListener.signedData(MimeParserContext parserContext, Headers headers, Store certificates, Store CRLs, Store attributeCertificates, SignerInformationStore signers) -
Uses of CMSException in org.bouncycastle.tsp.cms
Methods in org.bouncycastle.tsp.cms that throw CMSExceptionModifier and TypeMethodDescriptionCMSTimeStampedData.addTimeStamp(TimeStampToken token) Return a new timeStampedData object with the additional token attached.byte[]CMSTimeStampedData.calculateNextHash(DigestCalculator calculator) byte[]CMSTimeStampedDataParser.calculateNextHash(DigestCalculator calculator) CMSTimeStampedDataGenerator.generate(TimeStampToken timeStamp) CMSTimeStampedDataGenerator.generate(TimeStampToken timeStamp, byte[] content) CMSTimeStampedDataGenerator.generate(TimeStampToken timeStamp, InputStream content) CMSTimeStampedData.getTimeStampTokens()CMSTimeStampedDataParser.getTimeStampTokens()voidCMSTimeStampedData.initialiseMessageImprintDigestCalculator(DigestCalculator calculator) Initialise the passed in calculator with the MetaData for this message, if it is required as part of the initial message imprint calculation.voidCMSTimeStampedDataParser.initialiseMessageImprintDigestCalculator(DigestCalculator calculator) Initialise the passed in calculator with the MetaData for this message, if it is required as part of the initial message imprint calculation.voidCMSTimeStampedGenerator.initialiseMessageImprintDigestCalculator(DigestCalculator calculator) Initialise the passed in calculator with the MetaData for this message, if it is required as part of the initial message imprint calculation.voidCMSTimeStampedData.validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest) Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData.voidCMSTimeStampedData.validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest, TimeStampToken timeStampToken) Validate the passed in timestamp token against the tokens and data present in the message.voidCMSTimeStampedDataParser.validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest) Validate the digests present in the TimeStampTokens contained in the CMSTimeStampedData.voidCMSTimeStampedDataParser.validate(DigestCalculatorProvider calculatorProvider, byte[] dataDigest, TimeStampToken timeStampToken) Validate the passed in timestamp token against the tokens and data present in the message.Constructors in org.bouncycastle.tsp.cms that throw CMSException