1 write to Content
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\ContentInfo.cs (1)
34
Content
= content;
13 references to Content
Microsoft.DotNet.SignCheckLibrary (1)
Verification\AuthentiCode.cs (1)
291
var timestampToken = NuGet.Packaging.Signing.TstInfo.Read(rfc3161Message.ContentInfo.
Content
);
System.Security.Cryptography.Pkcs (12)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (5)
173
byte[] toEncrypt = contentInfo.
Content
;
175
if (contentInfo.ContentType.Value == Oids.Pkcs7Data || contentInfo.
Content
.Length == 0)
177
return EncryptOneShot(alg, contentInfo.
Content
);
184
contentInfo.
Content
,
190
ReadOnlySpan<byte> content = contentInfo.
Content
.AsSpan(contentOffset, contentLength);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (2)
180
_encodedMessage = contentInfo.
Content
.CloneByteArray();
325
_encodedMessage = contentInfo.
Content
.CloneByteArray();
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
399
if (Rfc3161TimestampTokenInfo.TryDecode(cms.ContentInfo.
Content
, out Rfc3161TimestampTokenInfo? tokenInfo, out _))
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
51
if (contentInfo.
Content
== null)
211
_heldContent = ContentInfo.
Content
.CloneByteArray();
317
if (ContentInfo.
Content
.Length == 0)
350
ReadOnlyMemory<byte> content = _heldContent ?? ContentInfo.
Content
;