Org.BouncyCastle.Cms.CmsSignedDataParser
Streaming parser for CMS SignedData messages, the counterpart to CmsSignedData. In streaming
mode only one signer can be verified per pass and parser methods must be called in order.
Gets the digest algorithm OIDs for which running digests are maintained.
Gets the content type OID of the signed encapsulated content.
Gets the SignedData version number.
Creates a parser from an encoded SignedData message with encapsulated content.
Creates a parser from detached content and an encoded SignedData message without encapsulated content.
Creates a parser from an encoded SignedData message with encapsulated content.
Creates a parser from optional detached content and an encoded SignedData message.
public static Stream ReplaceCertificatesAndCrls(Stream original, IStore<X509Certificate> x509Certs, IStore<X509Crl> x509Crls, IStore<X509V2AttributeCertificate> x509AttrCerts, Stream outStr)
Writes a copy of original SignedData to outStr with certificates and
CRLs replaced. The output stream is returned unclosed.
public static Stream ReplaceSigners(Stream original, SignerInformationStore signerInformationStore, Stream outStr)
Writes a copy of original SignedData to outStr with signers replaced
by signerInformationStore. The output stream is returned unclosed.
Returns a store of attribute certificates carried in the message, if any.
Returns a store of public-key certificates carried in the message, if any.
Returns a store of CRLs carried in the message, if any.
Returns a store of other revocation information entries of the given format, if any.
Returns a stream over the signed content with digest calculators attached, or null if no content is
present.
Returns a store of signers associated with the message signatures.