Skip to content

ExportKeyResult

Namespace CryptoService.Sdk.

An exported key: the private parts of a server-held key pair.

Remarks

Every field is key material: never log it.

Properties

Algorithm

The key's algorithm.

KeyId

The key's ID.

MlKemPublicKey

The ML-KEM public key, hex, for a hybrid key.

MlKemSecretKey

The ML-KEM secret key, hex, for a hybrid key.

OtherFields

Any other hex field a key type carries, by name.

PrivateKey

The private key, hex, for a classical key.

PublicKey

The public key, hex, for a single-algorithm key.

SecretKey

The secret key, hex, for a post-quantum key.

X25519PrivateKey

The X25519 private key, hex, for a hybrid key.

X25519PublicKey

The X25519 public key, hex, for a hybrid key.

All types