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