50 references to Encode
InMemory.FunctionalTests (6)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (6)
377byte[] signatureAlgId = writer.Encode(); 473byte[] tbsCertList = writer.Encode(); 497return writer.Encode(); 610byte[] tbsResponseData = writer.Encode(); 656byte[] responseBytes = writer.Encode(); 671return writer.Encode();
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (6)
377byte[] signatureAlgId = writer.Encode(); 473byte[] tbsCertList = writer.Encode(); 497return writer.Encode(); 610byte[] tbsResponseData = writer.Encode(); 656byte[] responseBytes = writer.Encode(); 671return writer.Encode();
System.Formats.Asn1 (2)
System\Formats\Asn1\AsnWriter.cs (2)
348/// Determines if <see cref="Encode()"/> would produce an output identical to 365/// Determines if <see cref="Encode()"/> would produce an output identical to
System.Security.Cryptography.Pkcs (36)
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (1)
133byte[] encoded = writer.Encode();
Internal\Cryptography\Pal\AnyOS\ManagedPal.Encrypt.cs (2)
147return PkcsHelpers.EncodeContentInfo(writer.Encode(), Oids.Pkcs7Enveloped); 166parameterBytes = writer.Encode();
Internal\Cryptography\PkcsHelpers.cs (1)
126return writer.Encode();
src\libraries\Common\src\Internal\Cryptography\PkcsHelpers.cs (3)
79return writer.Encode(); 306return writer.Encode(); 374normalizedValue = writer.Encode();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (2)
282_sealedData = writer.Encode(); 345_sealedData = writer.Encode();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12CertBag.cs (1)
125return writer.Encode();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeBag.cs (1)
57return writer.Encode();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (4)
421return writer.Encode(); 476Content = valueWriter.Encode(), 485Content = contentsWriter.Encode(), 494Content = contentsWriter.Encode(),
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContentsBag.cs (1)
30return Decode(writer.Encode());
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SecretBag.cs (1)
62return writer.Encode();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs8PrivateKeyInfo.cs (3)
98return writer.Encode(); 113return writer.Encode(); 128return writer.Encode();
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs9LocalKeyId.cs (1)
36RawData = writer.Encode();
System\Security\Cryptography\Pkcs\CmsSignature.cs (1)
276return writer.Encode();
System\Security\Cryptography\Pkcs\CmsSigner.cs (4)
241AttrValues = new[] { new ReadOnlyMemory<byte>(writer.Encode()) }, 253AttrValues = new[] { new ReadOnlyMemory<byte>(writer.Encode()) }, 292signedAttributesAsn = newSignedAttrsWriter.Encode(); 312signedAttributesAsn = newSignedAttrsWriter.Encode();
System\Security\Cryptography\Pkcs\Rfc3161TimestampRequest.cs (2)
329byte[] encodedBytes = writer.Encode(); 336_encodedBytes = writer.Encode(),
System\Security\Cryptography\Pkcs\Rfc3161TimestampTokenInfo.cs (2)
160_tsaNameBytes = writer.Encode(); 371return writer.Encode();
System\Security\Cryptography\Pkcs\SignedCms.cs (4)
127return PkcsHelpers.EncodeContentInfo(writer.Encode(), Oids.Pkcs7Signed); 146copy = SignedDataAsn.Decode(detachedWriter.Encode(), AsnEncodingRules.BER); 152return PkcsHelpers.EncodeContentInfo(attachedWriter.Encode(), Oids.Pkcs7Signed); 366_signedData.EncapContentInfo.Content = writer.Encode();
System\Security\Cryptography\Pkcs\SignerInfo.cs (2)
163counterSignerBytes = writer.Encode(); 321AttrValues = new[] { new ReadOnlyMemory<byte>(writer.Encode()) },