3 writes to ContentInfo
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\SignedCms.cs (3)
68ContentInfo = contentInfo; 200ContentInfo = new ContentInfo(new Oid(_contentType), contentValue.ToArray()); 460ContentInfo = 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)
205_heldContent = ContentInfo.Content.CloneByteArray(); 296if (ContentInfo.Content.Length == 0) 329ReadOnlyMemory<byte> content = _heldContent ?? ContentInfo.Content; 330string contentType = _contentType ?? ContentInfo.ContentType.Value ?? Oids.Pkcs7Data; 443ContentInfo save = ContentInfo; 477if ((_contentType ?? ContentInfo.ContentType.Value) != Oids.Pkcs7Data)