1 write to Content
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\ContentInfo.cs (1)
34Content = content;
14 references to Content
Microsoft.DotNet.SignCheckLibrary (2)
Verification\AuthentiCode.cs (1)
77var timestampToken = NuGet.Packaging.Signing.TstInfo.Read(rfc3161Message.ContentInfo.Content);
Verification\Jar\JarSignatureFile.cs (1)
264TstInfo timestampToken = TstInfo.Read(timestampCms.ContentInfo.Content);
System.Security.Cryptography.Pkcs (12)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (5)
172byte[] toEncrypt = contentInfo.Content; 174if (contentInfo.ContentType.Value == Oids.Pkcs7Data || contentInfo.Content.Length == 0) 176return EncryptOneShot(alg, contentInfo.Content); 183contentInfo.Content, 189ReadOnlySpan<byte> content = contentInfo.Content.AsSpan(contentOffset, contentLength);
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (2)
175_encodedMessage = contentInfo.Content.CloneByteArray(); 315_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) 206_heldContent = ContentInfo.Content.CloneByteArray(); 312if (ContentInfo.Content.Length == 0) 345ReadOnlyMemory<byte> content = _heldContent ?? ContentInfo.Content;