75 references to WriteOctetString
InMemory.FunctionalTests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
456writer.WriteOctetString(akidExtension.RawData); 667writer.WriteOctetString(responseBytes);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (2)
456writer.WriteOctetString(akidExtension.RawData); 667writer.WriteOctetString(responseBytes);
System.Net.Security (3)
System\Net\NegotiateAuthenticationPal.ManagedSpnego.cs (3)
205writer.WriteOctetString(mechBlob); 342writer.WriteOctetString(response); 351writer.WriteOctetString(micBuffer.WrittenSpan);
System.Security.Cryptography (35)
src\libraries\Common\src\System\Security\Cryptography\Asn1\CurveAsn.xml.cs (2)
27writer.WriteOctetString(A.Span); 28writer.WriteOctetString(B.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (1)
27writer.WriteOctetString(Digest.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\ECPrivateKey.xml.cs (1)
29writer.WriteOctetString(PrivateKey.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (1)
27writer.WriteOctetString(EncryptedData.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (1)
147writer.WriteOctetString(IPAddress.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 7));
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (1)
26writer.WriteOctetString(Salt.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (1)
45writer.WriteOctetString(Specified.Value.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
47writer.WriteOctetString(MacSalt.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (1)
39writer.WriteOctetString(EncryptedContent.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 0));
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
31writer.WriteOctetString(PrivateKey.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (1)
27writer.WriteOctetString(Iv.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\SpecifiedECDomain.xml.cs (1)
34writer.WriteOctetString(Base.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (1)
62writer.WriteOctetString(ExtnValue.Span);
src\libraries\Common\src\System\Security\Cryptography\EccKeyFormatHelper.cs (3)
762writer.WriteOctetString(fieldElement.AsSpan(start)); 784writer.WriteOctetString(basePointBytes.Slice(0, basePointLength)); 837writer.WriteOctetString(ecParameters.D);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
237writer.WriteOctetString(encryptedSpan);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
1036writer.WriteOctetString(salt); 1058writer.WriteOctetString(salt); 1080writer.WriteOctetString(iv);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
229writer.WriteOctetString(pkcs1PrivateKey);
src\libraries\Common\src\System\Security\Cryptography\X509Certificates\X509CertificateLoader.Pkcs12.cs (3)
977writer.WriteOctetString(authSafe); 999writer.WriteOctetString(macKey); 1002writer.WriteOctetString(salt);
System\Security\Cryptography\X509Certificates\CertificateRevocationListBuilder.Build.cs (1)
407writer.WriteOctetString(encodedAkid);
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (6)
183tmpWriter.WriteOctetString(certPal.RawData); 417tmpWriter.WriteOctetString(keyContents); 451tmpWriter.WriteOctetString(encodedCertContents.Span, s_contextSpecific0); 525tmpWriter.WriteOctetString(encodedAuthSafe.Span); 551tmpWriter.WriteOctetString(macSpan); 555tmpWriter.WriteOctetString(macSalt);
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (2)
245writer.WriteOctetString(subjectKeyIdentifier, new Asn1Tag(TagClass.ContextSpecific, 0)); 414writer.WriteOctetString(keyIdentifier, new Asn1Tag(TagClass.ContextSpecific, 0));
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (1)
142writer.WriteOctetString(subjectKeyIdentifier);
System.Security.Cryptography.Pkcs (33)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
132writer.WriteOctetString(content);
Internal\Cryptography\PkcsHelpers.cs (1)
549writer.WriteOctetString(octets);
src\libraries\Common\src\System\Security\Cryptography\Asn1\DigestInfoAsn.xml.cs (1)
27writer.WriteOctetString(Digest.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\EncryptedPrivateKeyInfoAsn.xml.cs (1)
27writer.WriteOctetString(EncryptedData.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\GeneralNameAsn.xml.cs (1)
147writer.WriteOctetString(IPAddress.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 7));
src\libraries\Common\src\System\Security\Cryptography\Asn1\PBEParameter.xml.cs (1)
26writer.WriteOctetString(Salt.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pbkdf2SaltChoice.xml.cs (1)
45writer.WriteOctetString(Specified.Value.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs12\MacData.xml.cs (1)
47writer.WriteOctetString(MacSalt.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Pkcs7\EncryptedContentInfoAsn.xml.cs (1)
39writer.WriteOctetString(EncryptedContent.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 0));
src\libraries\Common\src\System\Security\Cryptography\Asn1\PrivateKeyInfoAsn.xml.cs (1)
31writer.WriteOctetString(PrivateKey.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\Rc2CbcParameters.xml.cs (1)
27writer.WriteOctetString(Iv.Span);
src\libraries\Common\src\System\Security\Cryptography\Asn1\X509ExtensionAsn.xml.cs (1)
62writer.WriteOctetString(ExtnValue.Span);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
237writer.WriteOctetString(encryptedSpan);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (3)
1036writer.WriteOctetString(salt); 1058writer.WriteOctetString(salt); 1080writer.WriteOctetString(iv);
System\Security\Cryptography\Pkcs\Asn1\EssCertId.xml.cs (1)
26writer.WriteOctetString(Hash.Span);
System\Security\Cryptography\Pkcs\Asn1\EssCertIdV2.xml.cs (1)
54writer.WriteOctetString(Hash.Span);
System\Security\Cryptography\Pkcs\Asn1\KeyAgreeRecipientInfoAsn.xml.cs (1)
38writer.WriteOctetString(Ukm.Value.Span);
System\Security\Cryptography\Pkcs\Asn1\KeyTransRecipientInfoAsn.xml.cs (1)
31writer.WriteOctetString(EncryptedKey.Span);
System\Security\Cryptography\Pkcs\Asn1\MessageImprint.xml.cs (1)
27writer.WriteOctetString(HashedMessage.Span);
System\Security\Cryptography\Pkcs\Asn1\OriginatorIdentifierOrKeyAsn.xml.cs (1)
56writer.WriteOctetString(SubjectKeyIdentifier.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 0));
System\Security\Cryptography\Pkcs\Asn1\RecipientEncryptedKeyAsn.xml.cs (1)
27writer.WriteOctetString(EncryptedKey.Span);
System\Security\Cryptography\Pkcs\Asn1\RecipientIdentifierAsn.xml.cs (1)
54writer.WriteOctetString(SubjectKeyIdentifier.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 0));
System\Security\Cryptography\Pkcs\Asn1\RecipientKeyIdentifier.xml.cs (1)
27writer.WriteOctetString(SubjectKeyIdentifier.Span);
System\Security\Cryptography\Pkcs\Asn1\SignerIdentifierAsn.xml.cs (1)
54writer.WriteOctetString(SubjectKeyIdentifier.Value.Span, new Asn1Tag(TagClass.ContextSpecific, 0));
System\Security\Cryptography\Pkcs\Asn1\SignerInfoAsn.xml.cs (1)
58writer.WriteOctetString(SignatureValue.Span);
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
212writer.WriteOctetString(dataHash);
System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (2)
250writer.WriteOctetString(authSafeSpan); 276writer.WriteOctetString(macSpan);
System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
431writer.WriteOctetString(encryptedSpan, new Asn1Tag(TagClass.ContextSpecific, 0));
System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
29writer.WriteOctetString(keyId);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
368writer.WriteOctetString(content.Span);