3 writes to ContentInfo
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\SignedCms.cs (3)
69ContentInfo = contentInfo; 209ContentInfo = new ContentInfo(new Oid(_contentType), contentValue.ToArray()); 469ContentInfo = save;
11 references to ContentInfo
NuGet.Packaging (3)
Signing\Signatures\PrimarySignature.cs (1)
115SignatureContent = SignatureContent.Load(SignedCms.ContentInfo.Content, SigningSpecifications.V1);
Signing\Timestamp\Rfc3161TimestampVerificationUtility.cs (2)
33if (timestampCms.ContentInfo.ContentType.Value!.Equals(Oids.TSTInfoContentType, StringComparison.Ordinal)) 35tstInfo = Rfc3161TimestampTokenInfoFactory.Create(timestampCms.ContentInfo.Content);
System.Security.Cryptography.Pkcs (8)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (2)
332if (cms.ContentInfo.ContentType.Value != Oids.TstInfo) 393if (Rfc3161TimestampTokenInfo.TryDecode(cms.ContentInfo.Content, out Rfc3161TimestampTokenInfo? tokenInfo, out _))
System\Security\Cryptography\Pkcs\SignedCms.cs (6)
214_heldContent = ContentInfo.Content.CloneByteArray(); 305if (ContentInfo.Content.Length == 0) 338ReadOnlyMemory<byte> content = _heldContent ?? ContentInfo.Content; 339string contentType = _contentType ?? ContentInfo.ContentType.Value ?? Oids.Pkcs7Data; 452ContentInfo save = ContentInfo; 486if ((_contentType ?? ContentInfo.ContentType.Value) != Oids.Pkcs7Data)