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