3 writes to RawData
System.Security.Cryptography (1)
System\Security\Cryptography\AsnEncodedData.cs (1)
137this.RawData = rawData;
System.Security.Cryptography.Pkcs (2)
Internal\Cryptography\PkcsHelpers.cs (1)
437Oids.LocalKeyId => new Pkcs9LocalKeyId() { RawData = encodedAttribute.ToArray() },
System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
30RawData = writer.Encode();
119 references to RawData
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
InMemory.FunctionalTests (10)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (10)
134if (!certificate.IssuerName.RawData.SequenceEqual(_cert.SubjectName.RawData)) 205if (!subjectName.RawData.SequenceEqual(_cert.IssuerName.RawData)) 392writer.WriteEncodedValue(s_nonParticipatingName.RawData); 396writer.WriteEncodedValue(_cert.SubjectName.RawData); 456writer.WriteOctetString(akidExtension.RawData); 539writer.WriteEncodedValue(s_nonParticipatingName.RawData); 543writer.WriteEncodedValue(responder.SubjectName.RawData); 695_dnHash = SHA1.HashData(_cert.SubjectName.RawData);
Microsoft.AspNetCore.Authentication.Certificate (2)
X509CertificateExtensions.cs (2)
21Span<byte> subject = certificate.SubjectName.RawData; 22Span<byte> issuer = certificate.IssuerName.RawData;
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (3)
CertificateManagerTests.cs (3)
98e.RawData[0] == _manager.AspNetHttpsCertificateVersion); 478e.RawData[0] == 2); 484e.RawData[0] == 1);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (10)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (10)
134if (!certificate.IssuerName.RawData.SequenceEqual(_cert.SubjectName.RawData)) 205if (!subjectName.RawData.SequenceEqual(_cert.IssuerName.RawData)) 392writer.WriteEncodedValue(s_nonParticipatingName.RawData); 396writer.WriteEncodedValue(_cert.SubjectName.RawData); 456writer.WriteOctetString(akidExtension.RawData); 539writer.WriteEncodedValue(s_nonParticipatingName.RawData); 543writer.WriteEncodedValue(responder.SubjectName.RawData); 695_dnHash = SHA1.HashData(_cert.SubjectName.RawData);
Microsoft.DotNet.SignCheckLibrary (3)
Verification\AuthentiCode.cs (2)
71rfc3161Message.Decode(rfc3161CounterSignature.RawData); 185nestedSignatureMessage.Decode(nestedSignature.RawData);
Verification\Jar\JarSignatureFile.cs (1)
263timestampCms.Decode(timestampAttribute.RawData);
System.Security.Cryptography (62)
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
20AttrValues = new[] { new ReadOnlyMemory<byte>(attribute.RawData) };
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.manual.cs (1)
23ExtnValue = extension.RawData;
System\Security\Cryptography\X509Certificates\CertificateExtensionsCommon.cs (2)
29byte[] rawEncodedKeyValue = publicKey.EncodedKeyValue.RawData; 30byte[] rawEncodedParameters = publicKey.EncodedParameters.RawData;
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (6)
366Helpers.ValidateDer(attr.RawData); 367attributes[attrCount] = new X501Attribute(attr.Oid.Value, attr.RawData); 835Issuer = issuerName.RawData, 841Parameters = PublicKey.EncodedParameters.RawData, 843SubjectPublicKey = PublicKey.EncodedKeyValue.RawData, 846Subject = SubjectName.RawData,
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (2)
358writer.WriteEncodedValue(issuerName.RawData); 405byte[] encodedAkid = authorityKeyIdentifier.RawData;
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (6)
71string formedSubject = X500NameEncoder.X500DistinguishedNameDecode(cert.SubjectName.RawData, false, X500DistinguishedNameFlags.None); 88string formedIssuer = X500NameEncoder.X500DistinguishedNameDecode(cert.IssuerName.RawData, false, X500DistinguishedNameFlags.None); 163AsnReader reader = new AsnReader(ext.RawData, AsnEncodingRules.DER); 183CertificateTemplateAsn template = CertificateTemplateAsn.Decode(ext.RawData, AsnEncodingRules.DER); 238HashSet<string> policyOids = CertificatePolicyChain.ReadCertPolicyExtension(ext.RawData); 284certKeyId = X509SubjectKeyIdentifierExtension.DecodeX509SubjectKeyIdentifierExtension(ext.RawData);
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (2)
159cert.SubjectName.RawData.ContentsEqual(cert.IssuerName.RawData) ?
System\Security\Cryptography\X509Certificates\Pkcs10CertificationRequestInfo.cs (3)
55spki.Algorithm = new AlgorithmIdentifierAsn { Algorithm = PublicKey.Oid!.Value!, Parameters = PublicKey.EncodedParameters.RawData }; 56spki.SubjectPublicKey = PublicKey.EncodedKeyValue.RawData; 67Subject = this.Subject.RawData,
System\Security\Cryptography\X509Certificates\PublicKey.cs (4)
86_key = X509Pal.Instance.DecodePublicKey(_oid, EncodedKeyValue.RawData, EncodedParameters.RawData, null); 282Parameters = EncodedParameters.RawData, 284SubjectPublicKey = EncodedKeyValue.RawData,
System\Security\Cryptography\X509Certificates\UnixChainVerifier.cs (2)
88return cert.SubjectName.RawData.ContentsEqual(cert.IssuerName.RawData);
System\Security\Cryptography\X509Certificates\X500DistinguishedName.cs (3)
60return X509Pal.Instance.X500DistinguishedNameDecode(RawData, flag); 65return X509Pal.Instance.X500DistinguishedNameFormat(RawData, multiLine); 83List<X500RelativeDistinguishedName> parsedAttributes = _parsedAttributes ??= ParseAttributes(RawData);
System\Security\Cryptography\X509Certificates\X509AuthorityInformationAccessExtension.cs (4)
48_decoded = Decode(RawData); 68_decoded = Decode(RawData); 100_decoded = Decode(RawData); 137_decoded ??= Decode(RawData);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (8)
54Decode(RawData); 74Decode(RawData); 97Decode(RawData); 132Decode(RawData); 154Decode(RawData); 174Decode(RawData); 318writer.WriteEncodedValue(issuerName.RawData); 419writer.WriteEncodedValue(issuerName.RawData);
System\Security\Cryptography\X509Certificates\X509BasicConstraintsExtension.cs (3)
23: base(Oids.BasicConstraints2Oid, encodedBasicConstraints.RawData, critical) 125RawData, 133RawData,
System\Security\Cryptography\X509Certificates\X509EnhancedKeyUsageExtension.cs (2)
18: base(Oids.EnhancedKeyUsageOid, encodedEnhancedKeyUsages.RawData, critical) 33DecodeX509EnhancedKeyUsageExtension(RawData, out _enhancedKeyUsages);
System\Security\Cryptography\X509Certificates\X509Extension.cs (1)
16: this(encodedExtension.Oid!, encodedExtension.RawData, critical)
System\Security\Cryptography\X509Certificates\X509KeyUsageExtension.cs (2)
18: base(Oids.KeyUsageOid, encodedKeyUsage.RawData, critical) 33DecodeX509KeyUsageExtension(RawData, out _keyUsages);
System\Security\Cryptography\X509Certificates\X509SubjectAlternativeNameExtension.cs (4)
24_decoded = Decode(RawData); 30_decoded = Decode(RawData); 41List<GeneralNameAsn> decoded = (_decoded ??= Decode(RawData)); 59List<GeneralNameAsn> decoded = (_decoded ??= Decode(RawData));
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (6)
23: base(Oids.SubjectKeyIdentifierOid, encodedSubjectKeyIdentifier.RawData, critical) 58Decode(RawData); 80Decode(RawData); 168return SHA1.HashData(key.EncodedKeyValue.RawData); 173int written = SHA1.HashData(key.EncodedKeyValue.RawData, sha1); 210int written = CryptographicOperations.HashData(hashAlgorithmName, key.EncodedKeyValue.RawData, hash);
System.Security.Cryptography.Pkcs (21)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (1)
47AsnValueReader reader = new AsnValueReader(extension.RawData, AsnEncodingRules.DER);
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
126Issuer = recipient.Certificate.IssuerName.RawData,
src\libraries\Common\src\System\Security\Cryptography\Asn1\AttributeAsn.manual.cs (1)
20AttrValues = new[] { new ReadOnlyMemory<byte>(attribute.RawData) };
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.manual.cs (1)
23ExtnValue = extension.RawData;
System\Security\Cryptography\Pkcs\CmsSigner.cs (4)
259Issuer = Certificate.IssuerName.RawData, 381cert.SubjectName.RawData.AsSpan().SequenceEqual(cert.IssuerName.RawData)) 414newAttr.AttrValues[i] = attributeObject.Values[i].RawData;
System\Security\Cryptography\Pkcs\Pkcs9ContentType.cs (1)
35return _lazyContentType ??= Decode(RawData);
System\Security\Cryptography\Pkcs\Pkcs9DocumentDescription.cs (1)
46return _lazyDocumentDescription ??= Decode(RawData);
System\Security\Cryptography\Pkcs\Pkcs9DocumentName.cs (1)
46return _lazyDocumentName ??= Decode(RawData);
System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
34_lazyKeyId ??= Decode(RawData);
System\Security\Cryptography\Pkcs\Pkcs9MessageDigest.cs (1)
34return _lazyMessageDigest ??= Decode(RawData);
System\Security\Cryptography\Pkcs\Pkcs9SigningTime.cs (1)
49_lazySigningTime = Decode(RawData);
System\Security\Cryptography\Pkcs\Rfc3161TimestampToken.cs (4)
508signerCert.IssuerName.RawData, 558signerCert.IssuerName.RawData, 604attr.RawData, 631attr.RawData,
System\Security\Cryptography\Pkcs\SignerInfo.cs (2)
207modifiedAttr.AttrValues[newIndex] = unsignedAttribute.RawData; 867int innerIndex = FindAttributeValueIndexByEncodedData(attributes[outerIndex].AttrValues, attribute.RawData, out isOnlyValue);
System\Security\Cryptography\Pkcs\SubjectIdentifier.cs (1)
18new X500DistinguishedName(DummySignerSubjectName).RawData;
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
155.RawData;