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