1 write to Content
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\ContentInfo.cs (1)
28Content = content;
13 references to Content
Microsoft.DotNet.SignCheckLibrary (1)
Verification\AuthentiCode.cs (1)
260var 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)
165_encodedMessage = contentInfo.Content.CloneByteArray(); 295_encodedMessage = contentInfo.Content.CloneByteArray();
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
393if (Rfc3161TimestampTokenInfo.TryDecode(cms.ContentInfo.Content, out Rfc3161TimestampTokenInfo? tokenInfo, out _))
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
48if (contentInfo.Content == null) 205_heldContent = ContentInfo.Content.CloneByteArray(); 308if (ContentInfo.Content.Length == 0) 341ReadOnlyMemory<byte> content = _heldContent ?? ContentInfo.Content;