Class CmsSignedDataParser
- Namespace
- Enterprises.Org.BouncyCastle.Cms
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class CmsSignedDataParser : CmsContentInfoParser
- Inheritance
-
CmsSignedDataParser
- Inherited Members
-
Constructors
CmsSignedDataParser(CmsTypedStream, byte[])
public CmsSignedDataParser(CmsTypedStream signedContent, byte[] sigBlock)
Parameters
signedContent CmsTypedStream
sigBlock byte[]
CmsSignedDataParser(CmsTypedStream, Stream)
public CmsSignedDataParser(CmsTypedStream signedContent, Stream sigData)
Parameters
signedContent CmsTypedStream
sigData Stream
CmsSignedDataParser(byte[])
public CmsSignedDataParser(byte[] sigBlock)
Parameters
sigBlock byte[]
CmsSignedDataParser(Stream)
public CmsSignedDataParser(Stream sigData)
Parameters
sigData Stream
Properties
DigestOids
public ISet DigestOids { get; }
Property Value
- ISet
SignedContentType
public DerObjectIdentifier SignedContentType { get; }
Property Value
- DerObjectIdentifier
Version
public int Version { get; }
Property Value
- int
Methods
GetAttributeCertificates(string)
public IX509Store GetAttributeCertificates(string type)
Parameters
type string
Returns
- IX509Store
GetCertificates(string)
public IX509Store GetCertificates(string type)
Parameters
type string
Returns
- IX509Store
GetCrls(string)
public IX509Store GetCrls(string type)
Parameters
type string
Returns
- IX509Store
GetSignedContent()
public CmsTypedStream GetSignedContent()
Returns
- CmsTypedStream
GetSignerInfos()
public SignerInformationStore GetSignerInfos()
Returns
- SignerInformationStore
ReplaceCertificatesAndCrls(Stream, IX509Store, IX509Store, IX509Store, Stream)
public static Stream ReplaceCertificatesAndCrls(Stream original, IX509Store x509Certs, IX509Store x509Crls, IX509Store x509AttrCerts, Stream outStr)
Parameters
original Stream
x509Certs IX509Store
x509Crls IX509Store
x509AttrCerts IX509Store
outStr Stream
Returns
- Stream
public static Stream ReplaceSigners(Stream original, SignerInformationStore signerInformationStore, Stream outStr)
Parameters
original Stream
signerInformationStore SignerInformationStore
outStr Stream
Returns
- Stream