3 writes to ContentInfo
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\SignedCms.cs (3)
69
ContentInfo
= contentInfo;
209
ContentInfo
= new ContentInfo(new Oid(_contentType), contentValue.ToArray());
469
ContentInfo
= save;
11 references to ContentInfo
NuGet.Packaging (3)
Signing\Signatures\PrimarySignature.cs (1)
115
SignatureContent = SignatureContent.Load(SignedCms.
ContentInfo
.Content, SigningSpecifications.V1);
Signing\Timestamp\Rfc3161TimestampVerificationUtility.cs (2)
33
if (timestampCms.
ContentInfo
.ContentType.Value!.Equals(Oids.TSTInfoContentType, StringComparison.Ordinal))
35
tstInfo = Rfc3161TimestampTokenInfoFactory.Create(timestampCms.
ContentInfo
.Content);
System.Security.Cryptography.Pkcs (8)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (2)
332
if (cms.
ContentInfo
.ContentType.Value != Oids.TstInfo)
393
if (Rfc3161TimestampTokenInfo.TryDecode(cms.
ContentInfo
.Content, out Rfc3161TimestampTokenInfo? tokenInfo, out _))
System\Security\Cryptography\Pkcs\SignedCms.cs (6)
214
_heldContent =
ContentInfo
.Content.CloneByteArray();
305
if (
ContentInfo
.Content.Length == 0)
338
ReadOnlyMemory<byte> content = _heldContent ??
ContentInfo
.Content;
339
string contentType = _contentType ??
ContentInfo
.ContentType.Value ?? Oids.Pkcs7Data;
452
ContentInfo save =
ContentInfo
;
486
if ((_contentType ??
ContentInfo
.ContentType.Value) != Oids.Pkcs7Data)