Xecrets.Sdk.Models.XfEncryptedKeys.EncryptedKey.md

May 26, 2026 ยท View on GitHub

Xecrets.Sdk

Xecrets.Sdk.Models.XfEncryptedKeys

XfEncryptedKeys.EncryptedKey Class

An encrypted private key with additional metadata.

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

Inheritance System.Object โ†’ EncryptedKey

Implements System.IEquatable<EncryptedKey>

Properties

XfEncryptedKeys.EncryptedKey.Email Property

The email address of the user this key belongs to.

public string Email { get; init; }

Property Value

System.String

XfEncryptedKeys.EncryptedKey.EncryptedKeyPair Property

The key pair, with the private key encrypted.

public Xecrets.Sdk.Models.XfEncryptedKeys.EncryptedKeyPair EncryptedKeyPair { get; init; }

Property Value

EncryptedKeyPair

XfEncryptedKeys.EncryptedKey.PrivateKeyStatus Property

Wether the private key password was known or unknown when last serialized.

public Xecrets.Sdk.Models.XfEncryptedKeys.PrivateKeyPassword PrivateKeyStatus { get; init; }

Property Value

PrivateKeyPassword

XfEncryptedKeys.EncryptedKey.Thumbprint Property

The thumbprint of the key, used to identify it if required.

public string Thumbprint { get; init; }

Property Value

System.String

XfEncryptedKeys.EncryptedKey.Timestamp Property

The timestamp when the key was created.

public System.DateTime Timestamp { get; init; }

Property Value

System.DateTime