2 writes to Value
System.Security.Cryptography (1)
System\Security\Cryptography\Oid.cs (1)
18this.Value = OidLookup.ToOid(oid, OidGroup.All, fallBackToAllGroups: false) ?? oid;
System.Security.Cryptography.Pkcs (1)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
27testOid.Value = Oids.Sha384;
212 references to Value
aspire (6)
Certificates\CertificateGeneration\CertificateManager.cs (4)
123if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 210.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 230.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 960if (!request.CertificateExtensions.Any(ext => ext.Oid?.Value is SubjectKeyIdentifierOid or AuthorityKeyIdentifierOid))
src\Shared\X509Certificate2Extensions.cs (2)
31if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 49.Single(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal))
Aspire.Hosting (2)
src\Shared\X509Certificate2Extensions.cs (2)
31if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 49.Single(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal))
Aspire.Hosting.Tests (1)
ExecutionConfigurationGathererTests.cs (1)
546if (attr.Oid.Value == "2.16.840.1.113894.746875.1.1")
Aspire.Playground.Tests (2)
src\Shared\X509Certificate2Extensions.cs (2)
31if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 49.Single(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal))
Aspire.TestUtilities (2)
src\Shared\X509Certificate2Extensions.cs (2)
31if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 49.Single(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal))
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
61if (AspNetHttpsOid.Equals(extension.Oid?.Value))
dotnet-dev-certs (4)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (4)
125if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 212.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 232.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 963if (!request.CertificateExtensions.Any(ext => ext.Oid?.Value is SubjectKeyIdentifierOid or AuthorityKeyIdentifierOid))
dotnet-svcutil-lib (2)
CmdCredentialsProvider.cs (1)
104if (oid.Value == OidClientAuthValue)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
304if (ext.Oid.Value == X509SubjectAlternativeNameConstants.Oid)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (4)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (4)
125if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 212.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 232.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 963if (!request.CertificateExtensions.Any(ext => ext.Oid?.Value is SubjectKeyIdentifierOid or AuthorityKeyIdentifierOid))
Microsoft.AspNetCore.Server.Kestrel.Core (7)
CertificateLoader.cs (1)
96if (string.Equals(oid.Value, ServerAuthenticationOid, StringComparison.Ordinal))
Internal\Certificates\CertificateConfigLoader.cs (2)
138switch (certificate.PublicKey.Oid.Value) 254throw new InvalidOperationException(string.Format(CultureInfo.InvariantCulture, CoreStrings.UnrecognizedCertificateKeyOid, certificate.PublicKey.Oid.Value));
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (4)
125if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 212.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 232.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 963if (!request.CertificateExtensions.Any(ext => ext.Oid?.Value is SubjectKeyIdentifierOid or AuthorityKeyIdentifierOid))
NuGet.Packaging (25)
Signing\Cms\NativeCms.cs (1)
203commitmentTypeIndication.CommitmentTypeId.Value,
Signing\Cms\NativeUtility.cs (2)
120signerInfo.HashAlgorithm.pszObjId = cmsSigner.DigestAlgorithm.Value!; 176currentAttribute->pszObjId = hb.AllocAsciiString(attribute.Oid.Value!);
Signing\DerEncoding\DerEncoder.cs (1)
433string oidValue = oid.Value!;
Signing\Signatures\PolicyInformation.cs (3)
43var isAnyPolicy = policyIdentifier.Value == Oids.AnyPolicy; 67if (policyQualifier.PolicyQualifierId.Value != Oids.IdQtCps && 68policyQualifier.PolicyQualifierId.Value != Oids.IdQtUnotice)
Signing\Signatures\Signature.cs (1)
399if (string.Equals(attribute.Oid.Value, Oids.SignatureTimeStampTokenAttribute, StringComparison.Ordinal))
Signing\Timestamp\Rfc3161TimestampProvider.cs (2)
176if (!spec.AllowedHashAlgorithmOids.Contains(signerInfo.DigestAlgorithm.Value)) 220return oid.FriendlyName?.ToUpper(CultureInfo.InvariantCulture) ?? oid.Value!;
Signing\Timestamp\Rfc3161TimestampVerificationUtility.cs (1)
33if (timestampCms.ContentInfo.ContentType.Value!.Equals(Oids.TSTInfoContentType, StringComparison.Ordinal))
Signing\Utility\AttributeUtility.cs (3)
280if (StringComparer.Ordinal.Equals(oid, attribute.Oid.Value)) 300var signatureType = GetSignatureType(indication.CommitmentTypeId.Value!); 366.Where(attribute => attribute.Oid.Value == oid);
Signing\Utility\CertificateUtility.cs (5)
158switch (certificate.SignatureAlgorithm.Value) 209if (string.Equals(extension.Oid!.Value, Oids.EnhancedKeyUsage, StringComparison.Ordinal)) 215if (eku.Value == ekuOid) 242if (string.Equals(extension.Oid!.Value, Oids.EnhancedKeyUsage, StringComparison.Ordinal)) 253if (eku.Value == ekuOid)
Signing\Utility\SignatureUtility.cs (4)
432switch (attribute.Oid.Value) 525essCertIdV2.HashAlgorithm.Algorithm.Value, 597var hashAlgorithmName = CryptoHashUtility.OidToHashAlgorithmName(essCertIdV2.HashAlgorithm.Algorithm.Value!); 687throw new SignatureException(string.Format(CultureInfo.CurrentCulture, Strings.SignatureContainsInvalidAttribute, attribute.Oid.Value));
Signing\Utility\VerificationUtility.cs (2)
144if (!spec.AllowedHashAlgorithmOids.Contains(signerInfo.DigestAlgorithm.Value)) 152var hashAlgorithm = CryptoHashUtility.OidToHashAlgorithmName(timestamp.TstInfo!.HashAlgorithmId.Value!);
RepoTasks (4)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (4)
125if (string.Equals(AspNetHttpsOid, extension.Oid?.Value, StringComparison.Ordinal)) 212.Any(e => string.Equals(oid, e.Oid?.Value, StringComparison.Ordinal)); 232.Where(e => string.Equals(AspNetHttpsOid, e.Oid?.Value, StringComparison.Ordinal)) 963if (!request.CertificateExtensions.Any(ext => ext.Oid?.Value is SubjectKeyIdentifierOid or AuthorityKeyIdentifierOid))
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (1)
93if (oid.Value == ClientAuthenticationOID)
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (1)
93if (oid.Value == ClientAuthenticationOID)
System.Net.Security (2)
System\Net\Security\Pal.Managed\EndpointChannelBindingToken.cs (2)
31switch (signatureAlgorithm.Value) 56throw new ArgumentException(signatureAlgorithm.Value);
System.Security.Cryptography (86)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (2)
50AttrType = attributeObject.Oid!.Value!, 342return oid.Value switch
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
17AttrType = attribute.Oid!.Value!;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.manual.cs (1)
14ExtnId = extension.Oid!.Value!;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.cs (2)
744internal string CurveOidValue => CurveOid.Value!; 770Debug.Assert(CurveOid.Value is not null);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.ECDsa.cs (1)
197(ecParameters.Curve.Oid.Value != _algorithm.CurveOidValue && ecParameters.Curve.Oid.FriendlyName != _algorithm.CurveOid.FriendlyName))
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObject.cs (4)
43if (!string.Equals(asn.Oid.Value, oid.Value, StringComparison.Ordinal)) 45throw new InvalidOperationException(SR.Format(SR.InvalidOperation_WrongOidInAsnCollection, oid.Value, asn.Oid.Value));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (2)
46string? szOid1 = attribute.Oid.Value; 56string? szOid2 = existing.Oid.Value;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanCng.ImportExport.cs (1)
42SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECDsaCng.ImportExport.cs (1)
56throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value!.ToString()));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (3)
142return oid.Value is not null && oid.Value.Equals(other.Value);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (2)
94if (certificateType.Value == null) 97return EncodeBagValue(certificateType.Value, encodedCertificate);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SecretBag.cs (2)
52Debug.Assert(secretTypeOid != null && secretTypeOid.Value != null); 56SecretTypeId = secretTypeOid.Value,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
241Algorithm = AlgorithmId.Value!,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (1)
41string? szOid = base.Oid!.Value;
System\Security\Cryptography\CngAsnFormatter.cs (2)
16if (oid != null && oid.Value != null) 18oidValue = oid.Value;
System\Security\Cryptography\CryptoConfig.cs (1)
558oidName = oid.Value;
System\Security\Cryptography\EccKeyFormatHelper.cs (2)
515if (string.IsNullOrEmpty(oid.Value)) 521writer.WriteObjectIdentifier(oid.Value!);
System\Security\Cryptography\ECCurve.cs (4)
80if (string.IsNullOrEmpty(value.Value) && string.IsNullOrEmpty(value.FriendlyName)) 81throw new ArgumentException(SR.Format(SR.Cryptography_InvalidCurveOid, value.Value)); 193(string.IsNullOrEmpty(Oid.FriendlyName) && string.IsNullOrEmpty(Oid.Value))) 195throw new CryptographicException(SR.Format(SR.Cryptography_InvalidCurveOid, Oid?.Value));
System\Security\Cryptography\ECDiffieHellmanCng.Key.cs (1)
59throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value));
System\Security\Cryptography\ECDsaCng.Key.cs (1)
48throw new PlatformNotSupportedException(SR.Format(SR.Cryptography_InvalidCurveOid, curve.Oid.Value));
System\Security\Cryptography\Helpers.cs (2)
217return aCurve.Oid.Value == bCurve.Oid.Value &&
System\Security\Cryptography\OidCollection.cs (1)
59if (entry.Value == oidValue)
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (2)
21if (oidValue != algorithmOid.Value) 54if (!certificate.HasPrivateKey || oidValue != certificate.PublicKey.Oid.Value)
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (12)
510Helpers.HashAlgorithmRequired(signatureGenerator.PublicKey.Oid.Value)) 533if (attr.Oid is null || attr.Oid.Value is null) 539if (attr.Oid.Value == Oids.Pkcs9ExtensionRequest) 545attributes[attrCount] = new X501Attribute(attr.Oid.Value, attr.RawData); 835if (issuerCertificate.PublicKey.Oid.Value != PublicKey.Oid.Value) 840issuerCertificate.PublicKey.Oid.Value, 841PublicKey.Oid.Value), 1022Helpers.HashAlgorithmRequired(generator.PublicKey.Oid.Value)) 1049Algorithm = PublicKey.Oid!.Value!, 1070if (!usedOids.Add(extension.Oid!.Value)) 1073SR.Format(SR.Cryptography_CertReq_DuplicateExtension, extension.Oid.Value));
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (2)
342if (Helpers.HashAlgorithmRequired(generator.PublicKey.Oid.Value)) 415writer.WriteObjectIdentifier(authorityKeyIdentifier.Oid!.Value!);
System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (1)
57if (extension.Oid!.Value == Oids.KeyUsage)
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
78string? curveOid = ecParameters.Curve.Oid.Value; 92_ => new Oid(friendlyName).Value,
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (1)
57Algorithm = PublicKey.Oid!.Value!,
System\Security\Cryptography\X509Certificates\PublicKey.cs (10)
153switch (_oid.Value) 239if (_oid.Value != Oids.Rsa) 270if (_oid.Value != Oids.Dsa) 299if (_oid.Value != Oids.EcPublicKey) 329if (_oid.Value != Oids.EcPublicKey) 362if (MLKemAlgorithm.FromOid(_oid.Value) is null) 384if (MLDsaAlgorithm.GetMLDsaAlgorithmFromOid(_oid.Value) is null) 406Helpers.IsSlhDsaOid(_oid.Value) 427if (CompositeMLDsaAlgorithm.GetAlgorithmFromOid(_oid.Value) is null) 439Algorithm = _oid.Value ?? string.Empty,
System\Security\Cryptography\X509Certificates\WindowsHelpers.cs (1)
36oidStrings[i] = oids[i].Value!;
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (2)
100ArgumentException.ThrowIfNullOrEmpty(oid.Value); 103EncodeComponent(oid.Value, value, tag);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (3)
161/// The <see cref="Oid.Value"/> property of the <paramref name="accessMethodOid"/> parameter is 172ArgumentException.ThrowIfNullOrEmpty(accessMethodOid.Value); 174return EnumerateUris(accessMethodOid.Value);
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (1)
122if (Oid!.Value == Oids.BasicConstraints)
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (5)
558sb.Append(SignatureAlgorithm.Value); 627sb.Append(extension.Oid.Value); 1729if (extension.Oid!.Value == Oids.SubjectAltName) 1960CreateCustomExtensionIfAny(oid.Value); 1980if (extension.Oid?.Value == Oids.KeyUsage && extension is X509KeyUsageExtension ext)
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (1)
73writer.WriteObjectIdentifierForCrypto(usage.Value!);
System\Security\Cryptography\X509Certificates\X509Extension.cs (2)
41ArgumentException.ThrowIfNullOrEmpty(base.Oid?.Value, "oid.Value"); 71ArgumentException.ThrowIfNullOrEmpty(base.Oid?.Value, "oid.Value");
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (2)
54string? oidValue = new Oid(oid).Value; 57if (string.Equals(extension.Oid!.Value, oidValue, StringComparison.OrdinalIgnoreCase))
System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs (1)
51int algId = Interop.Crypt32.FindOidInfo(CryptOidInfoKeyType.CRYPT_OID_INFO_OID_KEY, oid.Value!, OidGroup.PublicKeyAlgorithm, fallBackToAllGroups: true).AlgId;
System.Security.Cryptography.Pkcs (59)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
144SymmetricAlgorithm alg = OpenAlgorithm(algorithmIdentifier.Oid.Value!);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (3)
68ContentType = contentInfo.ContentType.Value!, 72Algorithm = contentEncryptionAlgorithm.Oid.Value!, 175if (contentInfo.ContentType.Value == Oids.Pkcs7Data || contentInfo.Content.Length == 0)
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decode.cs (1)
59contentEncryptionAlgorithmAsn.Algorithm = contentEncryptionAlgorithm.Oid.Value!;
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs (2)
44recipientInfo.KeyEncryptionAlgorithm.Oid.Value, 60contentInfo.ContentType.Value!,
Internal\Cryptography\Pal\Windows\PkcsPalWindows.Encrypt.cs (6)
24if (contentInfo.ContentType.Value!.Equals(Oids.Pkcs7Data, StringComparison.OrdinalIgnoreCase)) 120SafeCryptMsgHandle hCryptMsg = Interop.Crypt32.CryptMsgOpenToEncode(MsgEncodingType.All, 0, CryptMsgType.CMSG_ENVELOPED, pEnvelopedEncodeInfo, innerContentType.Value!, IntPtr.Zero); 142string algorithmOidValue = contentEncryptionAlgorithm.Oid.Value!; 193pCryptAttribute[i].pszObjId = hb.AllocAsciiString(attribute.Oid.Value!); 354AlgId algId = contentEncryptionAlgorithm.Oid.Value!.ToAlgId(); 435string algorithmOidValue = contentEncryptionAlgorithm.Oid.Value!;
Internal\Cryptography\PkcsHelpers.cs (1)
33return GetDigestAlgorithm(oid.Value);
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (2)
50AttrType = attributeObject.Oid!.Value!, 342return oid.Value switch
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
17AttrType = attribute.Oid!.Value!;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.manual.cs (1)
14ExtnId = extension.Oid!.Value!;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObject.cs (4)
43if (!string.Equals(asn.Oid.Value, oid.Value, StringComparison.Ordinal)) 45throw new InvalidOperationException(SR.Format(SR.InvalidOperation_WrongOidInAsnCollection, oid.Value, asn.Oid.Value));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (2)
46string? szOid1 = attribute.Oid.Value; 56string? szOid2 = existing.Oid.Value;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Oids.Shared.cs (3)
142return oid.Value is not null && oid.Value.Equals(other.Value);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (2)
94if (certificateType.Value == null) 97return EncodeBagValue(certificateType.Value, encodedCertificate);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SecretBag.cs (2)
52Debug.Assert(secretTypeOid != null && secretTypeOid.Value != null); 56SecretTypeId = secretTypeOid.Value,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (1)
241Algorithm = AlgorithmId.Value!,
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (1)
41string? szOid = base.Oid!.Value;
System\Security\Cryptography\Pkcs\CmsHash.cs (2)
11oid.Value switch 96_incrementalHash = Helpers.CreateIncrementalHash(PkcsHelpers.GetDigestAlgorithm(oid.Value, forVerification));
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
349newSignerInfo.DigestAlgorithm.Algorithm = DigestAlgorithm.Value!; 418DigestAlgorithm.Value,
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (3)
303Algorithm = hashAlgorithmId.Value!, 309ReqPolicy = requestedPolicyId?.Value, 392if (!token.VerifyHash(GetMessageHash().Span, HashAlgorithmId.Value))
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (9)
138if (VerifyHash(hash, hashAlgorithmId.Value)) 168hashAlgorithmId == TokenInfo.HashAlgorithmId.Value; 185return VerifyHash(stackSpan.Slice(0, bytesWritten), hashAlgorithmId.Value); 191$"TryGetHashAndReset did not fit in {stackSpan.Length} for hash {hashAlgorithmId.Value}"); 193return VerifyHash(hasher.GetHashAndReset(), hashAlgorithmId.Value); 262if (oid.Value == Oids.TimeStampingPurpose) 332if (cms.ContentInfo.ContentType.Value != Oids.TstInfo) 575string? setOid = attrSet.Oid?.Value; 586string? attrOid = attr.Oid?.Value;
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (2)
333Policy = policyId.Value!, 338Algorithm = hashAlgorithmId.Value!,
System\Security\Cryptography\Pkcs\SignedCms.cs (2)
330string contentType = _contentType ?? ContentInfo.ContentType.Value ?? Oids.Pkcs7Data; 477if ((_contentType ?? ContentInfo.ContentType.Value) != Oids.Pkcs7Data)
System\Security\Cryptography\Pkcs\SignerInfo.cs (6)
844SignatureAlgorithm.Value!, 850throw new CryptographicException(SR.Cryptography_Cms_UnknownAlgorithm, SignatureAlgorithm.Value); 894if (ext.Oid!.Value == Oids.KeyUsage) 937state.info.DigestAlgorithm.Value, 955state.info.DigestAlgorithm.Value, 967if (attributes[i].AttrType == oid.Value)
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\SignedXml.cs (1)
334if (string.Equals(extension.Oid!.Value, "2.5.29.15" /* szOID_KEY_USAGE */, StringComparison.OrdinalIgnoreCase))
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
269friendlyName = oid.Value;
System.ServiceModel.Primitives (1)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
324if (ext.Oid.Value == X509SubjectAlternativeNameConstants.Oid)