SubjectIdentifier.LoadSignedOrEnvelopedData Method
Namespace: Rebex.Security.Cryptography.Pkcs
Assembly: Rebex.Common.dll (version 7.0.9147)
LoadSignedOrEnvelopedData(Stream, ICertificateFinder, Boolean)
Loads a CMS/PKCS #7 signed or enveloped message from a stream.
Returns an instance of Signed
Declaration
public static PkcsBase LoadSignedOrEnvelopedData(Stream input, ICertificateFinder finder, bool silent)
Parameters
Type | Name | Description |
---|---|---|
Stream | input | A stream from which to load the message. |
ICertificate |
finder | Gets or sets the ICertificate |
Boolean | silent | A value indicating whether cryptographic providers are permitted to display a user interface. |
Returns
Type | Description |
---|---|
Pkcs |
An instance of Signed |