3 writes to ContentInfo
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\SignedCms.cs (3)
71ContentInfo = contentInfo; 207ContentInfo = new ContentInfo(new Oid(_contentType), contentValue.ToArray()); 486ContentInfo = save;
11 references to ContentInfo
Microsoft.DotNet.SignCheckLibrary (3)
Verification\AuthentiCode.cs (2)
75if (String.Equals(rfc3161Message.ContentInfo.ContentType.Value, WinCrypt.szOID_TIMESTAMP_TOKEN, StringComparison.OrdinalIgnoreCase)) 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 (8)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (2)
338if (cms.ContentInfo.ContentType.Value != Oids.TstInfo) 399if (Rfc3161TimestampTokenInfo.TryDecode(cms.ContentInfo.Content, out Rfc3161TimestampTokenInfo? tokenInfo, out _))
System\Security\Cryptography\Pkcs\SignedCms.cs (6)
212_heldContent = ContentInfo.Content.CloneByteArray(); 318if (ContentInfo.Content.Length == 0) 351ReadOnlyMemory<byte> content = _heldContent ?? ContentInfo.Content; 352string contentType = _contentType ?? ContentInfo.ContentType.Value ?? Oids.Pkcs7Data; 469ContentInfo save = ContentInfo; 503if ((_contentType ?? ContentInfo.ContentType.Value) != Oids.Pkcs7Data)