39 references to Oid
Aspire.Hosting.Tests (1)
ExecutionConfigurationGathererTests.cs (1)
489
var trustAnchorOid = new
Oid
("2.16.840.1.113894.746875.1.1");
Microsoft.AspNetCore.Testing (2)
FakeSslCertificateFactory.cs (2)
36
new
("1.3.6.1.5.5.7.3.1"), // serverAuth Object ID - indicates that the certificate is an SSL server certificate
37
new
("1.3.6.1.5.5.7.3.2") // clientAuth Object ID - indicates that the certificate is an SSL client certificate
NuGet.Common (1)
CryptoHashUtility.cs (1)
287
return new
Oid
(oidString);
NuGet.Packaging (9)
Signing\DerEncoding\DerSequenceReader.cs (1)
331
return new
Oid
(ReadOidAsString());
Signing\Signatures\EssCertIdV2.cs (1)
76
algorithm = new AlgorithmIdentifier(new
Oid
(Oids.Sha256));
Signing\Utility\AttributeUtility.cs (5)
26
var commitmentTypeIndication = CommitmentTypeIndication.Create(new
Oid
(oid));
30
new
Oid
(Oids.CommitmentTypeIndication),
99
new
Oid
(Oids.NuGetV3ServiceIndexUrl),
169
new
Oid
(Oids.NuGetPackageOwners),
263
new
Oid
(Oids.SigningCertificateV2),
Signing\Utility\CertificateChainUtility.cs (2)
200
policy.ApplicationPolicy.Add(new
Oid
(Oids.TimeStampingEku));
204
policy.ApplicationPolicy.Add(new
Oid
(Oids.CodeSigningEku));
System.Security.Cryptography (12)
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
274
Oid type = new
Oid
(attribute.AttrType);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
72
_certTypeOid ??= new
Oid
(_decoded.CertId);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
62
_bagOid ??= new
Oid
(_bagIdValue);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SecretBag.cs (1)
45
_secretTypeOid ??= new
Oid
(_decoded.SecretTypeId);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9ContentType.cs (1)
62
return new
Oid
(contentTypeValue);
System\Security\Cryptography\AsnEncodedData.cs (2)
46
public AsnEncodedData(string oid, byte[] rawData) : this(new
Oid
(oid), rawData, skipCopy: false)
77
Reset(new
Oid
(oid), rawData);
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (1)
92
_ => new
Oid
(friendlyName).Value,
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (1)
324
Oid oid = new
Oid
(keyAlgorithmOid);
System\Security\Cryptography\X509Certificates\X509Extension.cs (2)
46
: this(new
Oid
(oid), rawData, critical)
64
: this(new
Oid
(oid), rawData, critical)
System\Security\Cryptography\X509Certificates\X509ExtensionCollection.cs (1)
54
string? oidValue = new
Oid
(oid).Value;
System.Security.Cryptography.Pkcs (14)
Internal\Cryptography\Pal\AnyOS\AsnHelpers.cs (1)
151
return new AlgorithmIdentifier(new
Oid
(asn.Algorithm), keyLength)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Asn.cs (1)
27
return new
Oid
(contentInfo.ContentType);
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decode.cs (1)
34
new
Oid
(data.EncryptedContentInfo.ContentType),
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (2)
104
new
Oid
(contentType),
122
new
Oid
(contentType),
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyAgree.cs (1)
78
Oid oid = new
Oid
(rid.RKeyId.Value.Other.Value.KeyAttrId);
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (2)
118
Oid contentType = new
Oid
(oidValue);
487
Oid oid = new
Oid
(oidValue);
src\runtime\src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (1)
274
Oid type = new
Oid
(attribute.AttrType);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
72
_certTypeOid ??= new
Oid
(_decoded.CertId);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
62
_bagOid ??= new
Oid
(_bagIdValue);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SecretBag.cs (1)
45
_secretTypeOid ??= new
Oid
(_decoded.SecretTypeId);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9ContentType.cs (1)
62
return new
Oid
(contentTypeValue);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
200
ContentInfo = new ContentInfo(new
Oid
(_contentType), contentValue.ToArray());