1 write to ContentType
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\ContentInfo.cs (1)
27
ContentType
= contentType;
9 references to ContentType
NuGet.Packaging (1)
Signing\Timestamp\Rfc3161TimestampVerificationUtility.cs (1)
33
if (timestampCms.ContentInfo.
ContentType
.Value!.Equals(Oids.TSTInfoContentType, StringComparison.Ordinal))
System.Security.Cryptography.Pkcs (8)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
68
ContentType = contentInfo.
ContentType
.Value!,
175
if (contentInfo.
ContentType
.Value == Oids.Pkcs7Data || contentInfo.Content.Length == 0)
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs (1)
60
contentInfo.
ContentType
.Value!,
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (2)
21
using (SafeCryptMsgHandle hCryptMsg = EncodeHelpers.CreateCryptMsgHandleToEncode(recipients, contentInfo.
ContentType
, contentEncryptionAlgorithm, originatorCerts, unprotectedAttributes))
24
if (contentInfo.
ContentType
.Value!.Equals(Oids.Pkcs7Data, StringComparison.OrdinalIgnoreCase))
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
332
if (cms.ContentInfo.
ContentType
.Value != Oids.TstInfo)
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
330
string contentType = _contentType ?? ContentInfo.
ContentType
.Value ?? Oids.Pkcs7Data;
477
if ((_contentType ?? ContentInfo.
ContentType
.Value) != Oids.Pkcs7Data)