Xecrets.Sdk.Models.XfEncryptedKeys.EncryptedKeyPair.md

May 26, 2026 ยท View on GitHub

Xecrets.Sdk

Xecrets.Sdk.Models.XfEncryptedKeys

XfEncryptedKeys.EncryptedKeyPair Class

A key pair with a public and an encrypted private key pem. Then encryption is done with a password using Xecrets Ez/AxCrypt and then the encrypted file is base64 encoded.

public record XfEncryptedKeys.EncryptedKeyPair : System.IEquatable<Xecrets.Sdk.Models.XfEncryptedKeys.EncryptedKeyPair>

Inheritance System.Object โ†’ EncryptedKeyPair

Implements System.IEquatable<EncryptedKeyPair>

Properties

XfEncryptedKeys.EncryptedKeyPair.EncryptedPrivateKey Property

The encrypted private key pem.

public string EncryptedPrivateKey { get; init; }

Property Value

System.String

XfEncryptedKeys.EncryptedKeyPair.PublicKey Property

The public key pem.

public string PublicKey { get; init; }

Property Value

System.String