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