17 references to Pkcs7Data
System.Security.Cryptography.Pkcs (17)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Asn.cs (1)
26case Oids.Pkcs7Data:
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
115if (contentType != Oids.Pkcs7Data)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (1)
175if (contentInfo.ContentType.Value == Oids.Pkcs7Data || contentInfo.Content.Length == 0)
src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (1)
20internal static Oid Pkcs7DataOid => field ??= InitializeOid(Pkcs7Data);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (2)
235writer.WriteObjectIdentifierForCrypto(Oids.Pkcs7Data); 335writer.WriteObjectIdentifierForCrypto(Oids.Pkcs7Data);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Info.cs (2)
72if (pfx.AuthSafe.ContentType == Oids.Pkcs7Data) 91if (signedData.EncapContentInfo.ContentType == Oids.Pkcs7Data)
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (4)
54case Oids.Pkcs7Data: 226if (encryptedData.EncryptedContentInfo.ContentType != Oids.Pkcs7Data) 404writer.WriteObjectIdentifierForCrypto(Oids.Pkcs7Data); 475ContentType = Oids.Pkcs7Data,
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
321if (SignedAttributes?.Count > 0 || contentTypeOid != Oids.Pkcs7Data)
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
276catch (Exception) when (contentType != Oids.Pkcs7Data) 292Debug.Assert(contentType != Oids.Pkcs7Data); 342string contentType = _contentType ?? ContentInfo.ContentType.Value ?? Oids.Pkcs7Data; 489if ((_contentType ?? ContentInfo.ContentType.Value) != Oids.Pkcs7Data)