KeyInfo: { create<I>(base?): KeyInfo; decode(input,
length?): KeyInfo; encode(message,
writer?): Writer; fromJSON(object): KeyInfo; fromPartial<I>(object): KeyInfo; toJSON(message): unknown; } Type declaration
create:function
- create<I>(base?): KeyInfo
Type Parameters
- I extends {
keyId?: string;
keyRole?: KeyRole;
keyType?: KeyType;
} & {
keyId?: string;
keyRole?: KeyRole;
keyType?: KeyType;
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): KeyInfo
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Parameters
- message: KeyInfo
- writer: Writer = ...
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): KeyInfo
Type Parameters
- I extends {
keyId?: string;
keyRole?: KeyRole;
keyType?: KeyType;
} & {
keyId?: string;
keyRole?: KeyRole;
keyType?: KeyType;
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown