github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/js/proto/tendermint/crypto/keys_pb.d.ts (about)

     1  // package: tendermint.crypto
     2  // file: tendermint/crypto/keys.proto
     3  
     4  /* tslint:disable */
     5  /* eslint-disable */
     6  
     7  import * as jspb from "google-protobuf";
     8  import * as gogoproto_gogo_pb from "../../gogoproto/gogo_pb";
     9  
    10  export class PublicKey extends jspb.Message { 
    11  
    12      hasEd25519(): boolean;
    13      clearEd25519(): void;
    14      getEd25519(): Uint8Array | string;
    15      getEd25519_asU8(): Uint8Array;
    16      getEd25519_asB64(): string;
    17      setEd25519(value: Uint8Array | string): PublicKey;
    18  
    19      hasSecp256k1(): boolean;
    20      clearSecp256k1(): void;
    21      getSecp256k1(): Uint8Array | string;
    22      getSecp256k1_asU8(): Uint8Array;
    23      getSecp256k1_asB64(): string;
    24      setSecp256k1(value: Uint8Array | string): PublicKey;
    25  
    26      getSumCase(): PublicKey.SumCase;
    27  
    28      serializeBinary(): Uint8Array;
    29      toObject(includeInstance?: boolean): PublicKey.AsObject;
    30      static toObject(includeInstance: boolean, msg: PublicKey): PublicKey.AsObject;
    31      static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
    32      static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
    33      static serializeBinaryToWriter(message: PublicKey, writer: jspb.BinaryWriter): void;
    34      static deserializeBinary(bytes: Uint8Array): PublicKey;
    35      static deserializeBinaryFromReader(message: PublicKey, reader: jspb.BinaryReader): PublicKey;
    36  }
    37  
    38  export namespace PublicKey {
    39      export type AsObject = {
    40          ed25519: Uint8Array | string,
    41          secp256k1: Uint8Array | string,
    42      }
    43  
    44      export enum SumCase {
    45          SUM_NOT_SET = 0,
    46          ED25519 = 1,
    47          SECP256K1 = 2,
    48      }
    49  
    50  }