private static ReadContentInfo ( |
||
aIn | ||
Результат |
public CmsAuthEnvelopedData( Stream authEnvData) : this(CmsUtilities.ReadContentInfo(authEnvData)) { }
public CmsEnvelopedData( byte[] envelopedData) : this(CmsUtilities.ReadContentInfo(envelopedData)) { }
public CmsEnvelopedData( Stream envelopedData) : this(CmsUtilities.ReadContentInfo(envelopedData)) { }
public CmsCompressedData( Stream compressedDataStream) : this(CmsUtilities.ReadContentInfo(compressedDataStream)) { }
public CmsAuthenticatedData( Stream authData) : this(CmsUtilities.ReadContentInfo(authData)) { }
/** * Content with detached signature, digests precomputed * * @param hashes a map of precomputed digests for content indexed by name of hash. * @param sigBlock the signature object. */ public CmsSignedData( IDictionary hashes, byte[] sigBlock) : this(hashes, CmsUtilities.ReadContentInfo(sigBlock)) { }
public CmsCompressedData( byte[] compressedData) : this(CmsUtilities.ReadContentInfo(compressedData)) { }
public CmsSignedData( byte[] sigBlock) : this(CmsUtilities.ReadContentInfo(new MemoryStream(sigBlock, false))) { }
public CmsSignedData( CmsProcessable signedContent, byte[] sigBlock) : this(signedContent, CmsUtilities.ReadContentInfo(new MemoryStream(sigBlock, false))) { }
/** * base constructor - content with detached signature. * * @param signedContent the content that was signed. * @param sigData the signature object. */ public CmsSignedData( CmsProcessable signedContent, Stream sigData) : this(signedContent, CmsUtilities.ReadContentInfo(sigData)) { }
/** * base constructor - with encapsulated content */ public CmsSignedData( Stream sigData) : this(CmsUtilities.ReadContentInfo(sigData)) { }
internal static ContentInfo ReadContentInfo(Stream input) { return(CmsUtilities.ReadContentInfo(new Asn1InputStream(input, CmsUtilities.MaximumMemory))); }
internal static ContentInfo ReadContentInfo(byte[] input) { return(CmsUtilities.ReadContentInfo(new Asn1InputStream(input))); }
/// <summary> /// Stream constructor - with detached signature. /// </summary> /// <param name="signedContent">The content that was signed.</param> /// <param name="sigData">A stream representing a ContentInfo containing a signedData object.</param> public CmsSignedData( ICmsTypedData signedContent, Stream sigData) : this(signedContent, CmsUtilities.ReadContentInfo(sigData)) { }
/// <summary> /// Content with detached signature, digests precomputed in hashes. /// </summary> /// <param name="hashes">A map of precomputed digests for content indexed by name of hash.</param> /// <param name="sigBlock">The content info signature object.</param> public CmsSignedData( IDictionary <DerObjectIdentifier, byte[]> hashes, byte[] sigBlock) : this(hashes, CmsUtilities.ReadContentInfo(sigBlock)) { }
} //IL_0003: Unknown result type (might be due to invalid IL or missing references) //IL_000d: Expected O, but got Unknown public CmsSignedData(CmsProcessable signedContent, byte[] sigBlock) : this(signedContent, CmsUtilities.ReadContentInfo((Stream) new MemoryStream(sigBlock, false))) { } //IL_0004: Unknown result type (might be due to invalid IL or missing references)