4 types derived from AsnEncodedData
System.Security.Cryptography (3)
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
10public sealed class X500DistinguishedName : AsnEncodedData
System\Security\Cryptography\X509Certificates\X501Attribute.cs (1)
6internal class X501Attribute : AsnEncodedData
System\Security\Cryptography\X509Certificates\X509Extension.cs (1)
8public class X509Extension : AsnEncodedData
System.Security.Cryptography.Pkcs (1)
System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (1)
9public class Pkcs9AttributeObject : AsnEncodedData
22 instantiations of AsnEncodedData
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
System.Security.Cryptography (11)
System\Security\Cryptography\X509Certificates\CertificateRequest.Load.cs (1)
272new AsnEncodedData(attr.AttrType, val.Span));
System\Security\Cryptography\X509Certificates\ECDsaX509SignatureGenerator.cs (2)
113new AsnEncodedData(ecPublicKey, curveOidEncoded, skipCopy: true), 114new AsnEncodedData(ecPublicKey, uncompressedPoint, skipCopy: true));
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
33EncodedParameters = new AsnEncodedData(parameters); 34EncodedKeyValue = new AsnEncodedData(keyValue); 339parameters = new AsnEncodedData(spki.Algorithm.Parameters.GetValueOrDefault().Span); 340keyValue = new AsnEncodedData(spki.SubjectPublicKey.Span);
System\Security\Cryptography\X509Certificates\RSAPkcs1X509SignatureGenerator.cs (2)
43new AsnEncodedData(oid, asnNull), 44new AsnEncodedData(oid, rsa.ExportRSAPublicKey(), skipCopy: true));
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
325publicKey = _lazyPublicKey = new PublicKey(oid, new AsnEncodedData(oid, parameters), new AsnEncodedData(oid, keyValue), skipCopy: true);
System.Security.Cryptography.Pkcs (3)
System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (3)
21: this(new AsnEncodedData(oid, encodedData)) 26: this(new AsnEncodedData(oid, encodedData)) 44: this(new AsnEncodedData(oid, encodedData))
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
681new AsnEncodedData(
77 references to AsnEncodedData
Microsoft.DotNet.SignCheckLibrary (1)
Verification\AuthentiCode.cs (1)
66public static IEnumerable<Timestamp> GetTimestampsFromCounterSignature(AsnEncodedData unsignedAttribute)
netstandard (1)
netstandard.cs (1)
1845[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.AsnEncodedData))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
850[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.AsnEncodedData))]
System.Security.Cryptography (55)
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
8public AttributeAsn(AsnEncodedData attribute)
System\Security\Cryptography\AsnEncodedData.cs (5)
25/// Initializes a new instance of the <see cref="AsnEncodedData"/> class from existing encoded data. 35public AsnEncodedData(AsnEncodedData asnEncodedData) 51/// Initializes a new instance of the <see cref="AsnEncodedData"/> class from an object identifier 66/// Initializes a new instance of the <see cref="AsnEncodedData"/> class from an object identifier 117public virtual void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\AsnEncodedDataCollection.cs (7)
15_list = new List<AsnEncodedData>(); 18public AsnEncodedDataCollection(AsnEncodedData asnEncodedData) 24public int Add(AsnEncodedData asnEncodedData) 33public void Remove(AsnEncodedData asnEncodedData) 40public AsnEncodedData this[int index] 84public void CopyTo(AsnEncodedData[] array, int index) 113private readonly List<AsnEncodedData> _list;
System\Security\Cryptography\AsnEncodedDataEnumerator.cs (1)
19public AsnEncodedData Current
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (11)
45public Collection<AsnEncodedData> OtherRequestAttributes { get; } = new Collection<AsnEncodedData>(); 253/// <see cref="AsnEncodedData.Oid" /> value. 267/// <see cref="AsnEncodedData.Oid" /> value. 303/// <see cref="AsnEncodedData.Oid" /> value. 317/// <see cref="AsnEncodedData.Oid" /> value. 347foreach (AsnEncodedData attr in OtherRequestAttributes) 391/// <see cref="AsnEncodedData.Oid" /> value. 405/// <see cref="AsnEncodedData.Oid" /> value. 439/// <see cref="AsnEncodedData.Oid" /> value. 453/// <see cref="AsnEncodedData.Oid" /> value.
System\Security\Cryptography\X509Certificates\PublicKey.cs (16)
17public PublicKey(Oid oid, AsnEncodedData parameters, AsnEncodedData keyValue) 22internal PublicKey(Oid oid, AsnEncodedData parameters, AsnEncodedData keyValue, bool skipCopy) 60out AsnEncodedData localParameters, 61out AsnEncodedData localKeyValue); 71public AsnEncodedData EncodedKeyValue { get; } 73public AsnEncodedData EncodedParameters { get; } 149out AsnEncodedData localParameters, 150out AsnEncodedData localKeyValue); 295out AsnEncodedData parameters, 296out AsnEncodedData keyValue) 326out AsnEncodedData parameters, 327out AsnEncodedData keyValue); 335out AsnEncodedData parameters, 336out AsnEncodedData keyValue)
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (1)
33public X500DistinguishedName(AsnEncodedData encodedDistinguishedName)
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (1)
104public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (1)
78public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (2)
22public X509BasicConstraintsExtension(AsnEncodedData encodedBasicConstraints, bool critical) 60public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (2)
17public X509EnhancedKeyUsageExtension(AsnEncodedData encodedEnhancedKeyUsages, bool critical) 48public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509Extension.cs (2)
15public X509Extension(AsnEncodedData encodedExtension, bool critical) 78public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (2)
17public X509KeyUsageExtension(AsnEncodedData encodedKeyUsage, bool critical) 40public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (1)
33public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (2)
22public X509SubjectKeyIdentifierExtension(AsnEncodedData encodedSubjectKeyIdentifier, bool critical) 87public override void CopyFrom(AsnEncodedData asnEncodedData)
System.Security.Cryptography.Encoding (1)
System.Security.Cryptography.Encoding.cs (1)
4[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.AsnEncodedData))]
System.Security.Cryptography.Pkcs (18)
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
8public AttributeAsn(AsnEncodedData attribute)
System\Security\Cryptography\CryptographicAttributeObject.cs (1)
30foreach (AsnEncodedData asn in values)
System\Security\Cryptography\CryptographicAttributeObjectCollection.cs (2)
26public int Add(AsnEncodedData asnEncodedData) 65foreach (AsnEncodedData asnEncodedData in attribute.Values)
System\Security\Cryptography\Pkcs\Pkcs9AttributeObject.cs (2)
30public Pkcs9AttributeObject(AsnEncodedData asnEncodedData) 68public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Pkcs9ContentType.cs (1)
39public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Pkcs9DocumentDescription.cs (1)
50public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Pkcs9DocumentName.cs (1)
50public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
36public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Pkcs9MessageDigest.cs (1)
38public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Pkcs9SigningTime.cs (1)
56public override void CopyFrom(AsnEncodedData asnEncodedData)
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (1)
590foreach (AsnEncodedData attr in attrSet.Values)
System\Security\Cryptography\Pkcs\SignerInfo.cs (5)
170public void AddUnsignedAttribute(AsnEncodedData unsignedAttribute) 178private static void AddUnsignedAttribute(ref SignerInfoAsn mySigner, AsnEncodedData unsignedAttribute) 211public void RemoveUnsignedAttribute(AsnEncodedData unsignedAttribute) 219private static void RemoveUnsignedAttribute(ref SignerInfoAsn mySigner, AsnEncodedData unsignedAttribute) 854private static (int, int) FindAttributeLocation(AttributeAsn[]? attributes, AsnEncodedData attribute, out bool isOnlyValue)