Show / Hide Table of Contents

Enum KeyFormat

Identifies the desired public key output format.

Namespace: Hiero
Assembly: Hiero.dll
Syntax
public enum KeyFormat

Fields

Name Description
Default

The default format deemed to be the most common for the specific public key type.

Der

The public ASN.1 DER encoded value. Only applies to single key types.

Hedera

Legacy Hedera DER'ish encoding that is compatible with other Hedera Supported SDKs (for single keys) or the Protobuf encoded value for complex keys.

Mirror

Format compatible for looking up an account via the public key using a rest Mirror node. It is the raw key for Ed25519 and ECDSA keys, and the serialized protobuf representation for complex keys.

Protobuf

Encoded as the native Hedera HAPI protobuf value (this is the most specific and fully supported across all key types)

Raw

The raw public key value, without any DER encoding. Only applies to single type keys.

  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph