10 references to Encode
System.Security.Cryptography (9)
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
160return encodedId.Encode(static encoded => CreateAlgorithmUnknownException(Convert.ToHexString(encoded)));
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
1054X509Certificate2 ret = writer.Encode(X509CertificateLoader.LoadCertificate);
System\Security\Cryptography\X509Certificates\PublicKey.cs (3)
351return EncodeSubjectPublicKeyInfo().Encode(MLKem.ImportSubjectPublicKeyInfo); 374return EncodeSubjectPublicKeyInfo().Encode(MLDsa.ImportSubjectPublicKeyInfo); 394? EncodeSubjectPublicKeyInfo().Encode(SlhDsa.ImportSubjectPublicKeyInfo)
System\Security\Cryptography\X509Certificates\X500DistinguishedNameBuilder.cs (1)
353return _writer.Encode(static encoded => new X500DistinguishedName(encoded));
System\Security\Cryptography\X509Certificates\X509AuthorityKeyIdentifierExtension.cs (3)
248return writer.Encode(static encoded => new X509AuthorityKeyIdentifierExtension(encoded)); 331return writer.Encode(static encoded => new X509AuthorityKeyIdentifierExtension(encoded)); 432return writer.Encode(static encoded => new X509AuthorityKeyIdentifierExtension(encoded));
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
160return encodedId.Encode(static encoded => CreateAlgorithmUnknownException(Convert.ToHexString(encoded)));