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