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