Enum KeyType
Identifies the type of Signatory or Endorsement. Typically these objects represent a public key or a list of child keys. For endorsements a list type can represent an n of m number of child keys that must sign to validate a transaction. For signatories, the list type represents simply a collection of keys, all of which will sign a given transaction. Presently this library natively supports individual key types of Ed25519, for signing with other keys, the Signatory should use the callback form.
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public enum KeyType
Fields
| Name | Description |
|---|---|
| Contract | Correlates to a Smart Contract Instance, sometimes produced by the network identifying smart contracts that are immutable. |
| ECDSASecp256K1 | ECDSASecp256K1 Public Key (Stored as a Org.BouncyCastle.Crypto.Parameters.ECPublicKeyParameters). |
| Ed25519 | Ed25519 Public Key (Stored as a Org.BouncyCastle.Crypto.Parameters.Ed25519PublicKeyParameters). |
| List | A list of keys, for endorsements it may represent an n-to-m list, for signatories its simply a bag of keys that will sign the transaction. |