Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Security.Cryptography.Pkcs
  3. Pkcs8PrivateKeyInfo
  4. Encode()
  • Pkcs8PrivateKeyInfo
    • Pkcs8PrivateKeyInfo(Oid, ReadOnlyMemory<Byte>?, ReadOnlyMemory<Byte>, Boolean)
    • AlgorithmId
    • AlgorithmParameters
    • Attributes
    • PrivateKeyBytes
    • Create(AsymmetricAlgorithm)
    • Decode(ReadOnlyMemory<Byte>, Int32, Boolean)
    • DecryptAndDecode(ReadOnlySpan<Byte>, ReadOnlyMemory<Byte>, Int32)
    • DecryptAndDecode(ReadOnlySpan<Char>, ReadOnlyMemory<Byte>, Int32)
    • Encode()
    • Encrypt(ReadOnlySpan<Byte>, PbeParameters)
    • Encrypt(ReadOnlySpan<Char>, PbeParameters)
    • TryEncode(Span<Byte>, Int32)
    • TryEncrypt(ReadOnlySpan<Byte>, PbeParameters, Span<Byte>, Int32)
    • TryEncrypt(ReadOnlySpan<Char>, PbeParameters, Span<Byte>, Int32)
monoandroid
namespace System.Security.Cryptography.Pkcs
{
    public sealed class Pkcs8PrivateKeyInfo
    {
        public byte[] Encode();
    }
}
.NET
5.06.07.08.09.011.0
.NET Core
3.03.1
.NET Standard
2.1
Information specific to monoandroid
Assembly

System.Security , Version=2.0.5.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

11/11/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙