1 write to ContentType
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\ContentInfo.cs (1)
27ContentType = contentType;
8 references to ContentType
Microsoft.DotNet.SignCheckLibrary (3)
Verification\AuthentiCode.cs (3)
137if (signedCms.ContentInfo.ContentType.Value != WinCrypt.SPC_INDIRECT_DATA_OBJID) 139throw new CryptographicException($"Invalid content type: {signedCms.ContentInfo.ContentType.Value}"); 258if (String.Equals(rfc3161Message.ContentInfo.ContentType.Value, WinCrypt.szOID_TIMESTAMP_TOKEN, StringComparison.OrdinalIgnoreCase))
System.Security.Cryptography.Pkcs (5)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
68ContentType = contentInfo.ContentType.Value!, 175if (contentInfo.ContentType.Value == Oids.Pkcs7Data || contentInfo.Content.Length == 0)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
332if (cms.ContentInfo.ContentType.Value != Oids.TstInfo)
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
342string contentType = _contentType ?? ContentInfo.ContentType.Value ?? Oids.Pkcs7Data; 490if ((_contentType ?? ContentInfo.ContentType.Value) != Oids.Pkcs7Data)