Sha256: 29dc3bb8f7e5f32e222dfef21e85658db94985692186b26e16dd68a8b19cd416
Contents?: true
Size: 689 Bytes
Versions: 36
Compression:
Stored size: 689 Bytes
Contents
import { Signable } from './base'; import { JSONObject, JSONValue } from './utils'; export interface KeyOptions { keyID: string; keyType: string; scheme: string; keyVal: Record<string, string>; unrecognizedFields?: Record<string, JSONValue>; } export declare class Key { readonly keyID: string; readonly keyType: string; readonly scheme: string; readonly keyVal: Record<string, string>; readonly unrecognizedFields?: Record<string, JSONValue>; constructor(options: KeyOptions); verifySignature(metadata: Signable): void; equals(other: Key): boolean; toJSON(): JSONObject; static fromJSON(keyID: string, data: JSONObject): Key; }
Version data entries
36 entries across 36 versions & 2 rubygems